-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fullfillments for 2022-07 version #268
Comments
Hi, |
Hi there, Best. |
@lpiccini21 you should migrate to FulfillmentOrder instead of Order
@fzoccara Shopify totally removed it in version 2022-07, if you still want to use that API, you can use a self-defined API Version in the $config = array(
'ShopUrl' => 'yourshop.myshopify.com',
'AccessToken' => '***ACCESS-TOKEN-FOR-THIRD-PARTY-APP***',
'ApiVersion' => '2022-04',
); |
@nVuln Fulfillment resources are still available, they are not removed. Only the Order/Fulfillment resources are no more available: https://shopify.dev/api/admin-rest/2022-10/resources/fulfillment POST /admin/api/2022-10/fulfillments.json and so on... |
@damix1984 yup, I mean they removed order->fulfillment api, but if you still want to use it, just re-defined api version to 2022-07, this is temporarily until you totally migrate your code to their new api version |
I've done some work towards this goal, although I'm not sure this covers all scenarios. |
@damix1984 :
Does that mean admin/api/2021-01/orders/$id/fulfillments.json is not the one that is getting deprecated? |
@tonytoms It is deprecated and removed since 2022-07 version, so it still works in 2022-01, but no more since 2022-07 |
in version 2022-07 the orders/$id/fulfillments.json API is no more present.
We need to use the $client->Fulfillments making Fulfillment not a Child resource for orders but a Resource itself, to be able to call fulfillments.json endpoint.
This is related to #264
The text was updated successfully, but these errors were encountered: