Fulfillment Event Error - 415 Unsupported media type error

New Member
4 0 0

Team,

 

I have integrated SAP with Shopify for various scenarios through Rest API and it is working fine. Recently, I tried to integrate SAP with Shopify for fulfillment Shipment Status update through Fulfillment Event API. I tried this through SOAPUI first and it worked like charm however when I sent same request through SAP, it failed with 415 - Unsupported Media Type error. 

 

Header i am sending with request is -

 

Method - POST

Content-Type application/json

URL Format - https://XXX.myshopify.com/admin/api/2020-01/orders/{order_id}/fulfillments/{fulfillment_id}/events.j...

Where order_id - Shopify API ID and fulfillment_id is fulfillment id of fulfillment created for shopify order.

 

I am trying to update Shipping Status of fulfillment by posting below JSON -

{"event":{"order_id":1873195728984,"fulfillment_id":1767002407000,"status":"delivered"}}

 

I am not sure why I am getting 415 - Unsupported Media Type error all the time for fulfillment Event Call.

 

Shopify Team - Can you help me with content type for events to post fulfillment data?

 

Regards

Azhar

0 Likes