Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d05bc9

Browse files
Update README.md
1 parent 6df9453 commit 1d05bc9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎README.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,26 @@ The custom methods are specific to some resources which may not be available for
515515
- User ->
516516
- [current()](https://help.shopify.com/api/reference/user#current)
517517
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+
```
518538

519539
### Shopify API features headers
520540
To send `X-Shopify-Api-Features` headers while using the SDK, you can use the following:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /