Skip to main content
POST
/
trade-item-tags
/
set
Set tags for a trade item
curl --request POST \
  --url https://api.example.com/trade-item-tags/set \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "code": "<string>",
    "name": "<string>",
    "description": "<string>"
  }
]
'
[
  {
    "id": "<string>",
    "code": "<string>",
    "name": "<string>",
    "description": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deleted": true,
    "deletedAt": "2023-11-07T05:31:56Z"
  }
]

Body

application/json

Array of trade item tags to set

code
string
required

The code of the trade item tag, a unique identifier

name
string
required

The name of the trade item tag

description
string
required

The description of the trade item tag

Response

Trade item tags set successfully

id
string
required

The id of the trade item tag

code
string
required

The code of the trade item tag, a unique identifier

name
string
required

The name of the trade item tag

description
string
required

The description of the trade item tag

createdAt
string<date-time>
required

The date and time the trade item tag was created

updatedAt
string<date-time>
required

The date and time the trade item tag was updated

deleted
boolean
required

Whether the trade item tag is deleted

deletedAt
string<date-time>
required

The date and time the trade item tag was deleted