src/Client.php
/**
     * Attach one or more tags to an order
     *
     * @param int $orderId The internal id of the order
     * @param Model\Shipment $shipment The Shipment
     *
     * @return bool True if the shipment was added
     *
     * @throws QuotaExceededException If the maximum number of calls per second exceeded
     * @throws Exception If the response cannot be parsed
     */
Attach one or more tags to an order
@param int $orderId The internal id of the order
@param Model\Shipment $shipment The Shipment

@return bool True if the shipment was added

@throws QuotaExceededException If the maximum number of calls per second exceeded
@throws Exception If the response cannot be parsed
Attach one or more tags to an order @param int $orderId The internal id of the order @param Model \ Shipment $shipment The Shipment @return bool True if the shipment was added @throws QuotaExceededException If the maximum number of calls per second exceeded @throws Exception If the response cannot be parsed
public function addOrderShipment($orderId, Model\Shipment $shipment)
    {
        $res = $this->requestPOST(
            'orders/' . $orderId . '/shipment',
            $this->jom->serialize($shipment),
            Response\BaseResponse::class
        );
        return $res === '' || $res === null;
    }
public function addOrderShipment ( $ orderId , Model \ Shipment $ shipment ) { $ res = $ this -> requestPOST ( 'orders/' . $ orderId . '/shipment' , $ this -> jom -> serialize ( $ shipment ) , Response \ BaseResponse :: class ) ; return $ res === '' || $ res === null ; }
Attach one or more tags to an order
 @param int $orderId The internal id of the order
 @param Model\Shipment $shipment The Shipment
Attach one or more tags to an order @param int $orderId The internal id of the order @param Model \ Shipment $shipment The Shipment