src/Client.php
/**
     * Attach one or more tags to an order
     *
     * @param int $orderId The internal id of the order
     * @param string[] $tags Tags to attach
     *
     * @return Response\BaseResponse The response
     *
     * @throws QuotaExceededException If the maximum number of calls per second exceeded
     * @throws InvalidJsonException If the response is not valid
     * @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 string[] $tags Tags to attach

@return Response\BaseResponse The response

@throws QuotaExceededException If the maximum number of calls per second exceeded
@throws InvalidJsonException If the response is not valid
@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 string [] $tags Tags to attach @return Response \ BaseResponse The response @throws QuotaExceededException If the maximum number of calls per second exceeded @throws InvalidJsonException If the response is not valid @throws \ Exception If the response cannot be parsed
public function addOrderTags($orderId, $tags = [])
    {
        if (!is_array($tags)) {
            $tags = [$tags];
        }
        return $this->requestPOST(
            'orders/' . $orderId . '/tags',
            json_encode(['Tags' => $tags]),
            Response\BaseResponse::class
        );
    }
public function addOrderTags ( $ orderId , $ tags = [ ] ) { if ( ! is_array ( $ tags ) ) { $ tags = [ $ tags ] ; } return $ this -> requestPOST ( 'orders/' . $ orderId . '/tags' , json_encode ( [ 'Tags' => $ tags ] ) , Response \ BaseResponse :: class ) ; }
Attach one or more tags to an order
 @param int $orderId The internal id of the order
 @param string[] $tags Tags to attach
Attach one or more tags to an order @param int $orderId The internal id of the order @param string [] $tags Tags to attach