Fulfilment API not working for NZ

Fulfilment API not working for NZ

NedahlStelio
Tourist
3 0 4

We have just started selling in New Zealand and distribution is being handled by a fulfilment partner. We need for them to be able to access orders that are specifically to be fulfilled from the New Zealand warehouse. I have provided them with API access but it isn't working. The fulfilment partner dev team believe that there is something in the set up at the Shopify end that needs to be done differently. Can you advise what we can do? Currently we are having to send over orders in CSV to them which is time consuming. 

Thanks

Barney

Replies 5 (5)

EdwardGoomba
Shopify Partner
74 1 9

When you say you provided them with API access, but it isnt working - what do you mean?

Can the fulfillment partner dev team not access the API at all?

How did you provide them with access?
Are they not seeing any orders come through their way?

Have any questions about theme customization?
Feel free to email me: edward@honos.dev
Problem Solved? ✔Accept and Like solutions to help future merchants
NedahlStelio
Tourist
3 0 4
This is what the fulfilment company said...


Hi Nathan,

Looking at the Shopify data via the API, there's no FulfillmentOrders at
all in Shopify allocated to Method Logistics or anyone else at all.

Until a Fulfillment Order is generated from an Order, allocated to the
Method Logistics "location", there's nothing for us to process.

An example couple of orders matching the spreadsheet supplied:

{
"data": {
"orders": {
"edges": [
{
"node": {
"id": "gid://shopify/Order/5335967891730",
"fulfillable": true,
"displayFulfillmentStatus": "UNFULFILLED",
"name": "#46466",
"note": null,
"confirmed": true,
"createdAt": "2023-05-07T02:10:11Z",
"updatedAt": "2023-05-07T02:10:13Z",
"cancelledAt": null,
"shippingAddress": {
"id":
"gid://shopify/MailingAddress/18172208775442?model_name=Address",
"firstName": "Niki",
"lastName": "Kitto",
"name": "Niki Kitto",
"company": null,
"address1": "13 Langer Rd",
"address2": null,
"city": "Lincoln",
"province": "Canterbury",
"zip": "7608",
"country": "New Zealand",
"countryCodeV2": "NZ",
"phone": "+64272655825",
"latitude": -43.64595,
"longitude": 172.4812406
},
"fulfillments": [],
"lineItems": {
"edges": [
{
"node": {
"id":
"gid://shopify/LineItem/13968487514386",
"sku": "RBSD10E",
"name":
"STARDUST musky sandalwood eau de parfum 10ml",
"quantity": 1
}
}
]
}
}
},
{
"node": {
"id": "gid://shopify/Order/5335971791122",
"fulfillable": true,
"displayFulfillmentStatus": "UNFULFILLED",
"name": "#46467",
"note": null,
"confirmed": true,
"createdAt": "2023-05-07T02:20:19Z",
"updatedAt": "2023-05-07T02:20:21Z",
"cancelledAt": null,
"shippingAddress": {
"id":
"gid://shopify/MailingAddress/18172218016018?model_name=Address",
"firstName": "Sarah",
"lastName": "Quinn",
"name": "Sarah Quinn",
"company": null,
"address1": "164 Bowman Road",
"address2": null,
"city": "Whatawhata",
"province": "Waikato",
"zip": "3289",
"country": "New Zealand",
"countryCodeV2": "NZ",
"phone": "+6421311362",
"latitude": -37.8020365,
"longitude": 175.1918131
},
"fulfillments": [],
"lineItems": {
"edges": [
{
"node": {
"id":
"gid://shopify/LineItem/13968494493970",
"sku": "RBSAMSET",
"name": "Sample Set eau de parfum",
"quantity": 1
}
}
]
}
}
},

Basically looks like things haven't been set up correctly in Shopify.

Cheers,
Gavin
EdwardGoomba
Shopify Partner
74 1 9

This one is tricky to figure out as there could be a few reasons:
- maybe order fulfillment is not setup to allocate orders to their warehouse

- maybe they are running the wrong queries

Without diving more into your setup, and what calls they are making its hard to give better advice.

 

Did you end up figuring this out?

Have any questions about theme customization?
Feel free to email me: edward@honos.dev
Problem Solved? ✔Accept and Like solutions to help future merchants

ShopifyDevSup
Shopify Staff
1451 238 497

Hi @NedahlStelio 👋

 

This doc highlights how fulfillment services can fetch their assigned fulfillment orders, it may be worthwhile sharing it with them to troubleshoot the issue.

 

Hope that helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ShopifyDevSup
Shopify Staff
1451 238 497

Fulfillment services can only receive fulfillment orders that have been requested from the service. Please see this doc that outlines how a fulfillment order management app can request fulfillment from third party fulfillment service providers. 

 

If there are specific orders that are affected, please contact us here using an account that has access to the store, and provide the team with the example order ids, the API client ID, and the handle of the third-party fulfillment service. 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog