Fulfillment API for a specific product.

Solved

Fulfillment API for a specific product.

Kofsaku
Shopify Partner
3 0 0

Hi, I have a few questions about fulfillment API.

 

We are trying to integrate our third-party app and Shopify store this time. And we are facing a problem with the fulfillment API. Please kindly check the questions.

 

What I successfully did.

1, use the API of the fulfillment API and change the status of the order to fulfilled.

2, Change the information on the fulfilled order. like the name of the company and number.

 

Questions

1, Is there the API to change the fulfillment status of one of the ordered products?

For example, the order has three products and we want to make one of the three products fulfilled. Is it possible?

 

2, If 1 is possible which API should I use?

 

3, Is it possible to change the fulfillable_quantity or quantity with API?

 

4, if 3 is possible, please tell me the API I should use.

 

Please kindly confirm this. Thank you.

 

Best regards.

Accepted Solution (1)

Alan
Shopify Staff
129 15 24

This is an accepted solution.

Hi @Kofsaku, thanks for reaching out. When it comes to updating the fulfillment status of the ordered products, this is dependent on the FulfillmentOrder resource and can be modified there. Line items on an order that are fulfilled from the same location are attached to the same fulfillment order. This means that if all line items are fulfilled from the same location, their fulfillment status can only be changed together through this method at the moment. 

Item quantity can only be changed through the Orders resource, which would in turn create a new fulfillment order, where you could then change the fulfillment status. 

Hope this helps! 

Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Reply 1 (1)

Alan
Shopify Staff
129 15 24

This is an accepted solution.

Hi @Kofsaku, thanks for reaching out. When it comes to updating the fulfillment status of the ordered products, this is dependent on the FulfillmentOrder resource and can be modified there. Line items on an order that are fulfilled from the same location are attached to the same fulfillment order. This means that if all line items are fulfilled from the same location, their fulfillment status can only be changed together through this method at the moment. 

Item quantity can only be changed through the Orders resource, which would in turn create a new fulfillment order, where you could then change the fulfillment status. 

Hope this helps! 

Alan | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog