No FulfillmentOrders / How do I create FulfillmentOrders?

Solved

No FulfillmentOrders / How do I create FulfillmentOrders?

username1212312
Shopify Partner
12 1 0

I am trying to migrate an app from the old "admin/fulfillments" api to use the FulfillmentOrder resource. My app sends digital download links and then marks the order line items as fulfilled which matched a digital download.

 

I see that "Fulfillment orders are created automatically when an order is created." This does not seem to be the case, as I do not get any FulfillmentOrders when I query

/admin/api/2023-01/orders/'.$order_id.'/fulfillment_orders.json

 

I have created a fulfillment service (attempting to follow the docs), and even after receiving the callback to the service, I do not get any FulfillmentOrders in the response.

 

$payload = array();
$payload["fulfillment_service"] = Array(
    "name" => "........",
    "callback_url" => "https://requestinspector.com/inspect/.....",
    "inventory_management" => true,
    "permits_sku_sharing" => true,
    "fulfillment_orders_opt_in" => true,
    "tracking_support" => true,
    "requires_shipping_method" => true,
    "format" => "json"
);

 

What am I mising?

Accepted Solution (1)

username1212312
Shopify Partner
12 1 0
Reply 1 (1)

username1212312
Shopify Partner
12 1 0