Skip to content

Commit

Permalink
feat: add createOrderFulfillment method
Browse files Browse the repository at this point in the history
  • Loading branch information
pactode committed May 28, 2021
1 parent d44991a commit 5f2620c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/REST/Actions/ManagesFulfillments.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public function getOrderFulfillment($orderId, $fulfillmentId): ApiResource
return $this->getResource('fulfillments', $fulfillmentId, ['orders', $orderId]);
}

public function createOrderFulfillment($orderId, array $data): ApiResource
{
return $this->createResource('fulfillments', $data, ['orders', $orderId]);
}

public function createFulfillment(array $data): ApiResource
{
return $this->createResource('fulfillments', $data);
Expand Down

0 comments on commit 5f2620c

Please sign in to comment.