Skip to content

Commit 5f2620c

Browse files
committed
feat: add createOrderFulfillment method
1 parent d44991a commit 5f2620c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/REST/Actions/ManagesFulfillments.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public function getOrderFulfillment($orderId, $fulfillmentId): ApiResource
2424
return $this->getResource('fulfillments', $fulfillmentId, ['orders', $orderId]);
2525
}
2626

27+
public function createOrderFulfillment($orderId, array $data): ApiResource
28+
{
29+
return $this->createResource('fulfillments', $data, ['orders', $orderId]);
30+
}
31+
2732
public function createFulfillment(array $data): ApiResource
2833
{
2934
return $this->createResource('fulfillments', $data);

0 commit comments

Comments
 (0)