Enterprise| Parameter | Default | Description | Required |
|---|---|---|---|
| price_list_id | if price list has currency setting price will set as currency price | REQUIRED | |
| name | price list wizard name | REQUIRED | |
| perform_at | Example 2022-08-26T03:00:00.000+03:00 | REQUIRED | |
| items[] | REQUIRED | ||
| items[].source_id | menu_item_id or condiment_id | REQUIRED | |
| items[].price | Must be number and greater than zero | REQUIRED |
curl --location 'https://api.simpra.app/apps/api/v1/price_list_wizard' \
--header 'Simpra-Access-Token: <api-key>' \
--header 'Content-Type: application\json' \
--data '{
"price_list_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"name": "Price list wizard name",
"perform_at": "2022-08-26T03:00:00.000+03:00",
"items": [
{
"source_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"price": 11
},
{
"source_id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"price": 11
}
]
}'{
"id": "6f6fc0e2-0839-4e2c-bcd9-dcc58be299af",
"name": "Price list wizard name",
"perform_at": "2022-08-26T03:00:00.000+03:00"
}