Skip to content

Commit

Permalink
Merge pull request #173 from Altairko/patch-1
Browse files Browse the repository at this point in the history
Фикс ответа 400, Root element 'delivery' not found
  • Loading branch information
Anton authored Jan 16, 2017
2 parents a8f581b + c09ebcb commit 3f13fe0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Yandex/Market/Partner/PartnerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ public function updateDelivery($orderId, Models\Delivery $delivery)
'PUT',
$this->getServiceUrl($resource),
[
'json' => $delivery->toArray()
'json' => [
'delivery' => $delivery->toArray()
]

]
);
Expand Down

0 comments on commit 3f13fe0

Please sign in to comment.