Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

REST API - Cancel partial fulfilled order

REST API - Cancel partial fulfilled order

thatdudesalba
Shopify Partner
3 0 0

Using REST I understand how to cancel a single fulfillment but show do I cancel a fulfillment that was split. For example let's say I have 1 item of quantity 2, I trigger a "create fulfillment" by line item for quantity 1. But then I need to cancel that partial fulfillment I just created. Triggering a cancel fulfillment seems to cancel and create a new fulfillment id but the partial fulfillment is still.

 

Thanks.

 

Reply 1 (1)

thatdudesalba
Shopify Partner
3 0 0

Nevermind, figured it out myself. For anyone else who might be experiencing something similar. Note the difference between fulfillment orders and fulfillment. I was trying to cancel fulfillment order by id when I needed to cancel fulfillment by id.