Create price list
Use case
Use case data
API parameters with values
Sample API call
Sample request
{
"description": "Sample price list",
"validityRange": {
"endDate": null,
"startDate": "2023-12-01"
},
"priceListCode": "PRICELIST-01"
}curl --location 'https://card-api.sandbox.tuumplatform.com/api/v1/cards/price-list' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDYtMTdUMTQ6Mzc6MDkiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODcwMTI2Mjl9.mFpqAQDdOPcaH0C3Vtbew8WcGicnn_5t5ptJ4qo3efg' \
--header 'x-channel-code: system' \
--header 'Content-Type: application/json' \
--data '{
"description": "Sample price list",
"validityRange": {
"endDate": null,
"startDate": "2023-12-01"
},
"priceListCode": "PRICELIST-01"
}'Sample response
Result
Last updated
Was this helpful?