Hi all,
I’m working on a WMS integration that connects to many different Shopify stores via the GraphQL API.
The example below is from a store using Recharge subscriptions, but we don’t currently know whether the same behavior occurs with other subscription providers.
We’ve noticed that a subscription order shipping line can look something like this:
{
"code": "0340_109909",
"source": "shopify",
"title": "Bring pick-up parcel • 1.0 km • Købmanden I Rudemarken",
"carrierIdentifier": null,
"shippingRateHandle": "shopify-0340_109909-25.00"
}
The challenge is that the code is provider-specific, in this case originating from the Bring plugin, while the source is reported as "shopify". For the equivalent non-subscription order, the source would have been "Posten Norge".
As a third-party fulfillment system, we need a reliable way to determine how a shipping line code should be interpreted and parsed, which we reliably can do when the source field states the provider. Potentially multiple shipping provider apps could use ambiguous code formats, so trying to parse the code without knowing which provider generated it not desirable.
My questions are:
- Is the loss of
sourceprovider information on recurring subscription orders expected behavior? - Is there any API field that identifies the shipping app or carrier service that originally generated a ShippingLine on Recharge subscription orders (or subscription orders in general, I don’t really know the difference)?
- If no such information is available, what is the recommended approach for integrations that need to interpret provider-specific shipping codes from multiple different providers?
Has anyone else run into this problem when working with subscription orders and shipping integrations?
Thanks!