curl --request POST \
--url https://api.sanka.com/v1/public/items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"name": "<string>",
"description": "<string>",
"currency": "<string>",
"price": 123,
"purchasePrice": 123,
"tax": 123,
"status": "<string>"
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"item_id": "<string>",
"ctx_id": "<string>"
}curl --request POST \
--url https://api.sanka.com/v1/public/items \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"name": "<string>",
"description": "<string>",
"currency": "<string>",
"price": 123,
"purchasePrice": 123,
"tax": 123,
"status": "<string>"
}
'{
"ok": true,
"status": "<string>",
"external_id": "<string>",
"item_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.