Skip to content

Commit

Permalink
Pick lines when marking shipment as shipped
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Aug 19, 2019
1 parent 0067a58 commit d494d19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Models/OrderShipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ public function markShipped()
{
return $this->request->handleWithExceptions(function () {

return $this->request->client->post("orders/shipments/{$this->{$this->primaryKey}}/mark-shipped")
return $this->request->client->post("orders/shipments/{$this->{$this->primaryKey}}/mark-shipped", [

'json' => [

'pick' => true,
]
])
->getBody()
->getContents();
});
Expand Down

0 comments on commit d494d19

Please sign in to comment.