src/Yandex/Market/Partner/PartnerClient.php
public function updateDelivery($orderId, Delivery $delivery)
    {
        $resource = 'campaigns/' . $this->campaignId . '/orders/' . $orderId . '/delivery.json';

        $response = $this->sendRequest(
            'PUT',
            $this->getServiceUrl($resource),
            [
                'json' => [
                    'delivery' => $delivery->toArray()
                ]
            ]
        );

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        $updateOrderDeliveryResponse = new UpdateOrderDeliveryResponse($decodedResponseBody);
        return $updateOrderDeliveryResponse->getOrder();
    }
public function updateDelivery($orderId, Delivery $delivery)
    {
        $resource = 'campaigns/' . $this->campaignId . '/orders/' . $orderId . '/delivery.json';

        $response = $this->sendRequest(
            'PUT',
            $this->getServiceUrl($resource),
            [
                'json' => [
                    'delivery' => $delivery->toArray()
                ]
            ]
        );

        $decodedResponseBody = $this->getDecodedBody($response->getBody());

        $updateOrderDeliveryResponse = new UpdateOrderDeliveryResponse($decodedResponseBody);
        return $updateOrderDeliveryResponse->getOrder();
    }
public function updateDelivery ( $ orderId , Delivery $ delivery ) { $ resource = 'campaigns/' . $ this -> campaignId . '/orders/' . $ orderId . '/delivery.json' ; $ response = $ this -> sendRequest ( 'PUT' , $ this -> getServiceUrl ( $ resource ) , [ 'json' => [ 'delivery' => $ delivery -> toArray ( ) ] ] ) ; $ decodedResponseBody = $ this -> getDecodedBody ( $ response -> getBody ( ) ) ; $ updateOrderDeliveryResponse = new UpdateOrderDeliveryResponse ( $ decodedResponseBody ) ; return $ updateOrderDeliveryResponse -> getOrder ( ) ; }
Update changed delivery parameters

@param int $orderId
@param Delivery $delivery
@return Order

Example:
PUT /v2/campaigns/10003/order/12345/delivery.json HTTP/1.1

@link http://api.yandex.ru/market/partner/doc/dg/reference/put-campaigns-id-orders-id-delivery.xml
Update changed delivery parameters