curl --request PUT \
--url https://api.skulabs.com/order/set_tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tags": [
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
],
"store_id": "507f1f77bcf86cd799439011",
"order_number": "<string>",
"reason": "<string>",
"orders": [
{
"order_number": "<string>",
"store_id": "507f1f77bcf86cd799439011"
}
]
}
'{
"success": true
}Replace all tags on one or more orders with a new set of tags.
curl --request PUT \
--url https://api.skulabs.com/order/set_tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tags": [
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
],
"store_id": "507f1f77bcf86cd799439011",
"order_number": "<string>",
"reason": "<string>",
"orders": [
{
"order_number": "<string>",
"store_id": "507f1f77bcf86cd799439011"
}
]
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of tag IDs to set (ObjectId strings referencing the tag collection)
[
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
]Store ID (use with order_number)
"507f1f77bcf86cd799439011"
Order number (use with store_id)
Reason for setting tags
Array of order references (alternative to store_id + order_number)
Show child attributes
Tags set on orders
Whether the operation succeeded