-
Notifications
You must be signed in to change notification settings - Fork 210
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
Fulfilled an order by creating new fulfillment #285
Comments
|
Hi @zamliyconsulting |
Please check the latest release. |
@zamliyconsulting
Hope this will help. |
|
The "line_items_by_fulfillment_order - expected Hash to be a Array" is due to how $newFulfillment is formatted.
Here is a working code assuming you have your $order and $shopify objects. Note that you have to use the fulfillment_order_id as of API version 2022-07
|
Hello,
I try to develop a Symfony app in wich I would like to change the value of fulfillment_status for an order, from null to fulfilled.
First of all, I tried :
But, even if the email field is updated as expected, the value of fulfillment_status doesn't changed.
I finally find that I have to manage fulfillment object to change the fulfillment_status of an order. I found some posts (#283 and #268 ) about how to update an existing fulfillment, but, in my case, fulfillment is null :
"fulfillments" => []
So I tried to create one by this way :
But I get this error :
The required line_items_by_fulfillment_order field is missing.
And when I try :
I get : line_items_by_fulfillment_order - expected Hash to be a Array
I suppose something wrong in the content-type, but I don't know hom to deal with this.
My init :
The text was updated successfully, but these errors were encountered: