How to create order using API, and assign location from a fulfillment service (ie: cjdropshipping)

ozshop
Shopify Partner
1 0 0

Hi,

 

I've been trying to create an order using admin API, and assign location from a fulfillment service like cjdropshipping.

When an order is created, it will automatically assign a merchant location for the fulfillment order.

Then if I try to move the location of fullfilment order to a fulfillment service location using this API, I get the following error message: 

"The new location's fulfillment service must be opted into permits_sku_sharing."

Does anyone have any similar experience, and if you can kindly share how to do this?

 

 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1440 235 489

Hi @ozshop 

 

The Fulfillment service resource has a field called permits_sku_sharing. 

 

If you manage your own fulfillment services then the setting can be adjusted with either the REST or GraphQL Admin APIs, but for fulfillment services created by third party apps you will need to contact their developers.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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