Skip to main content
PUT
/
purchase_order
/
set_tags
Purchase Order - Set Tags
curl --request PUT \
  --url https://api.skulabs.com/purchase_order/set_tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "tags": [
    "507f1f77bcf86cd799439011",
    "507f1f77bcf86cd799439012"
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

Purchase order ID

tags
string[]
required

Array of tag IDs to set (ObjectId strings referencing the tag collection)

Example:
[
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
]

Response

Tags set on purchase order

success
boolean
required

Whether the operation succeeded