cURL
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" } }
Create a trade item
The name of the trade item
The tag associated with the trade item
The trade item has been successfully created
The id of the trade item
Show child attributes