Releases: phpclassic/php-shopify
Releases · phpclassic/php-shopify
v1.2.11
v1.2.10
- Update Default Api Version
Full Changelog: v1.2.9...v1.2.10
v1.2.9
v1.2.8
v1.2.7
v1.2.6
- Add total time spent in sleep during multiple requests #292
- Add support for AssignedFulfillmentOrder resource #295
AssignedFulfillmentOrder Resource
Example:
// Requesting all assigned fulfillment orders
$shopify->AssignedFulfillmentOrder()->get();
// Requesting assigned fulfillment orders (by status)
$shopify->AssignedFulfillmentOrder()->get(["assignment_status" => "fulfillment_requested"]);
// Requesting assigned fulfillment orders (by locations)
$shopify->AssignedFulfillmentOrder()->get(["location_ids" => ["123456789"]]);
v1.2.5
- add support for Order()->FulfillmentOrder and FulfillmentRequests #278
Support the behavior required by:
https://shopify.dev/apps/fulfillment/order-management-apps/manage-fulfillments#request-a-fulfillment
https://shopify.dev/api/admin-rest/2022-10/resources/assignedfulfillmentorder
FulfillmentRequest Resource - including actions
Mapped FulfillmentOrder->FulfillmentRequest
Mapped Order(id)->FulfillmentOrder
Example:
// Requesting the FulfilmentOrder for a given order
$fo = $client->Order("1234567890")->FulfillmentOrder()->get();
// Creating a FulfilmentRequest
// Follow instructions to get partial fulfilments
$fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->post([]);
// Accepting \ Rejecting a FulfilmentRequest
$fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->accept();
$fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->reject();
// Communicating fulfillment
$client->Fulfillment->post($body)