Help registering new FulfillmentService

Solved
Highlighted
New Member
2 1 0

I have been trying to register a Fulfillment Service via API - I am running into an issue with the API that I haven't seen before.

Using the Postman collection, I'm simply trying to Create a new FulfillmentService -

https://{{api_key}}:{{api_password}}@{{store_name}}.myshopify.com/admin/api/{{api_version}}/fulfillment_services.json

with a raw JSON body payload with the required fields:

{
    "fulfillment_service": {
        "name": "Name",
        "callback_url": "https:\/\/www.url.com\/",
        "tracking_support": true,
        "inventory_management": true,
        "requires_shipping_method": false,
        "format": "json"        
    }
}

 

This results in an HTML response that looks like it's trying to have me login for some kind of authentication (window.location...oauth/authorize?...) - even though the Postman Environment variables with the api key and password are all up-to-date and correct.

I saw in the documentation there is a way to register one of these via a CURL request using an OAUTH token (where do I find this???) - apologies for the ignorance, everything else has gone smoothly up until this point.  I appreciate any help!

0 Likes
Highlighted
New Member
2 1 0

This is an accepted solution.

Looks like I just had to clear all my Cookies in Postman and now the request works.  Wonder why it was only impacting this particular request... at least it is solved!

0 Likes