File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -515,6 +515,26 @@ The custom methods are specific to some resources which may not be available for
515
515
- User ->
516
516
- [ current()] ( https://help.shopify.com/api/reference/user#current )
517
517
Get the current logged-in user
518
+
519
+ ### FulfillmentRequest Resource - including actions
520
+ - Mapped FulfillmentOrder->FulfillmentRequest
521
+ - Mapped Order(id)->FulfillmentOrder
522
+
523
+ ```
524
+ // Requesting the FulfilmentOrder for a given order
525
+ $fo = $client->Order("1234567890")->FulfillmentOrder()->get();
526
+
527
+ // Creating a FulfilmentRequest
528
+ // Follow instructions to get partial fulfilments
529
+ $fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->post([]);
530
+
531
+ // Accepting \ Rejecting a FulfilmentRequest
532
+ $fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->accept();
533
+ $fr = $client->FulfillmentOrder('0987654321')->FulfillmentRequest->reject();
534
+
535
+ // Communicating fulfillment
536
+ $client->Fulfillment->post($body)
537
+ ```
518
538
519
539
### Shopify API features headers
520
540
To send ` X-Shopify-Api-Features ` headers while using the SDK, you can use the following:
You can’t perform that action at this time.
0 commit comments