Setting properties of Fulfillment line items

diadev
Tourist
6 0 1

Hi - we use the Admin REST API to create a Fulfillment object for our orders.

 
We would like to be able to set the "properties" and "sku" fields on the Fulfillment Line Item objects during creation.
 
When I try this in code, the values that I have set for these fields do not seem to be saved by Shopify --  fetching the newly created Fulfillment object and looking at the line_items array shows the "sku" and "properties" data has not been saved.
 
Is it possible to set these fields when creating a fulfillment?
Reply 1 (1)

garyrgilbert
Shopify Partner
390 40 162

Hi There,

Im not sure what the purpose would be to allow that. Can you explain why?

 

There is no need to set the SKU in the fulfillment_line_item object. The SKU is something that can change between one order and another but the fulfillment_line_item_id is unique to that fulfillment order anything else is irrelevant. 

 

Cheers,

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution