-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
[api] Update fulfillment endpoints #563
Conversation
tkalliom
commented
Dec 21, 2022
- Add fulfillment.cancelV2 and fulfillment.listV2
- Document old cancel, complete, create, open, and update as deprecated
@tkalliom
Do you know if this library is supporting this change?? Thanks!!! |
@FlavioAandres the Can you test it? const shopify = new Shopify({
shopName: 'xxx',
apiVersion: '2023-01',
accessToken: 'xxx'
});
const fulfillments = await shopify.fulfillment.list(orderId); |
@FlavioAandres I misread your comment, sorry. You can use: const fulfillment = await shopify.fulfillment.createV2(params); |
Can you please split the commit in two?
|
Thank you. |
@FlavioAandres soon. I would also like to include #560 and #564 in the next release. |
Hello, I'm kinda new to using this library so I apologize if my question is a bit weird. Can someone explain to me how to use createV2? we've been using create for a while but because of the 2023-01 change were trying to make createV2 work. What is the difference in using create and createV2 regarding the params? and how does createV2 know which order is for fulfillment without the orderId parameter like the create function has? edit: I tried using it this way const shopify = new Shopify({
|