API call for Fulfillment Order Cancellation request

VishalMarya
Tourist
5 0 1

I am required to send the cancellation request to Shipwire. As per the documentation I am using Fulfillment order cancellation_request API method. I am getting this response. 

What is required to make it work.

{
"errors": [
"The fulfillment service has not registered for fulfillment order based fulfillments."
]
}

Reply 1 (1)
guest4
Shopify Partner
16 2 1

Set a callback_url and the fulfillment_orders_opt_in flag to true on the FulfillmentService. Good luck.

https://shopify.dev/api/admin-rest/2021-10/resources/fulfillmentservice#resource_object