Rest Admin API

Tourist
12 0 1

Hi I have some query on Rest Admin API, Kindly advice.,

 

1. How can we retrieve the Products based on Collections like Mens wear , Women wear, Electronic products etc.,

2. How can get the Order Status once the order placed.

3. Which API to follow for refund.

 

Thanks and Regards,

Velmurugan.A

 

 

 

 

 

0 Likes
Highlighted
Shopify Partner
916 95 149

1. How can we retrieve the Products based on Collections like Mens wear , Women wear, Electronic products etc.,

GET /admin/api/2019-10/products.json?collection_id=<id>

where <id> is the ID of the collection you want to retrieve the products for

2. How can get the Order Status once the order placed.

GET /admin/api/2019-10/orders/<order_id>.json

in the response look for "status" field

3. Which API to follow for refund.

https://help.shopify.com/en/api/reference/orders/refund
Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
1 Like
Tourist
12 0 1

Thanks @Visely-Team for your reply....Liked to know how Cancel Order and Create Refund method differs...

0 Likes