Create Tag
POST {{baseUrl}}/orders/:order_id/tags
You can you can assign specific order with a tag by using the tag name. by providing the ID of the order you want to add this tag to it in the order.id path parameter.
You can get a list of available tags from List Tags endpoint.
You can get a list of orders assigned to a tag from List Orders endpoint using tag query parameter.
Request Body
{"tag_name"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"id":"\u003cnumber\u003e","name":"\u003cstring\u003e"}}