Skip to main content
POST
/
trade-items
Create Trade Item
curl --request POST \
  --url https://api.example.com/trade-items \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "tradeItemTag": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "tradeItemTag": {
    "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
name
string
required

The name of the trade item

tradeItemTag
string

The tag associated with the trade item

Response

The trade item has been successfully created

id
string
required

The id of the trade item

name
string
required

The name of the trade item

tradeItemTag
object

The tag associated with the trade item