Skip to content

Multiple Fulfillment Issue #51

Open
@W3b3r

Description

@W3b3r

Hi guys,

I'm having some issue for fulfill an order that have 1 product with app fulfillment service and another one that have a fulfillment service to manual.

When i Post the json that who create a fulfillment for the order wih property line_items with the id that have app fulfillment service.

There is a json that i post to endpoint

`
print_r $our_product:
Array
(
[0] => Array
(
[id] => 1922576121914
[quantity] => 1
)

)

$updateInfo = array ("fulfillment" => array(
"location_id" => $location_id,
"id" => $OrderId,
"notify_customer" => "true",
"line_items" => $our_product,
));
There is a post with SDK
$fulfill_post = $shopify->Order($OrderId)->Fulfillment->post($updateInfo);`

API call return me a error: All line items of a fulfillment must use the same fulfillment service.

The id set in in line items property is associated with app fulfillment service.

Thanks in advace for help.
Please replay fast I'm STUCK. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions