curl --request PUT \
--url https://api.artisn.desarrollo-redbrand.com/api/v3/lists/{listId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"list": {
"ecommerceChannelId": 123,
"channelReferenceName": "<string>",
"listId": "<string>",
"listName": "<string>",
"vendorId": "<string>",
"storeId": "<string>",
"channelId": "<string>",
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
]
},
"categories": [
{
"categoryId": "<string>",
"categoryName": "<string>",
"displayInList": true,
"featured": true,
"crossSellingCategory": true,
"position": 123,
"images": [
{
"imageCategoryId": "<string>",
"fileUrl": "<string>"
}
],
"childCategories": [
{
"categoryId": "<string>",
"categoryName": "<string>"
}
],
"productListing": [
{
"productId": "<string>",
"position": 123
}
],
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
]
}
],
"products": [
{
"productId": "<string>",
"name": "<string>",
"description": "<string>",
"standardTime": true,
"featured": true,
"priceInfo": {
"price": 123,
"salePrice": 123
},
"productModifiers": [
{
"modifierId": "<string>",
"position": 123
}
],
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
],
"images": [
{
"imageCategoryId": "<string>",
"fileUrl": "<string>"
}
]
}
],
"modifierGroups": [
{
"modifierId": "<string>",
"modifier": "<string>",
"minOptions": 123,
"maxOptions": 123,
"visible": true,
"position": 123,
"type": "<string>",
"modifierOptions": [
{
"optionId": "<string>",
"productId": "<string>",
"default": true,
"position": 123
}
]
}
],
"scheduledActivities": [
{
"productId": "<string>",
"scheduledActiveStatus": "2023-11-07T05:31:56Z",
"scheduledInactiveStatus": "2023-11-07T05:31:56Z"
}
]
}'
{
"listId": "<string>",
"name": "<string>",
"active": true
}
This endpoint allows you to register or edit a list in the system. Important: Each submitted request is processed as a new configuration, so if a product, category, modifier, etc. is not sent all your configuration will be deleted
curl --request PUT \
--url https://api.artisn.desarrollo-redbrand.com/api/v3/lists/{listId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"list": {
"ecommerceChannelId": 123,
"channelReferenceName": "<string>",
"listId": "<string>",
"listName": "<string>",
"vendorId": "<string>",
"storeId": "<string>",
"channelId": "<string>",
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
]
},
"categories": [
{
"categoryId": "<string>",
"categoryName": "<string>",
"displayInList": true,
"featured": true,
"crossSellingCategory": true,
"position": 123,
"images": [
{
"imageCategoryId": "<string>",
"fileUrl": "<string>"
}
],
"childCategories": [
{
"categoryId": "<string>",
"categoryName": "<string>"
}
],
"productListing": [
{
"productId": "<string>",
"position": 123
}
],
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
]
}
],
"products": [
{
"productId": "<string>",
"name": "<string>",
"description": "<string>",
"standardTime": true,
"featured": true,
"priceInfo": {
"price": 123,
"salePrice": 123
},
"productModifiers": [
{
"modifierId": "<string>",
"position": 123
}
],
"schedules": [
{
"day": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"startTime": "<string>",
"endTime": "<string>"
}
],
"images": [
{
"imageCategoryId": "<string>",
"fileUrl": "<string>"
}
]
}
],
"modifierGroups": [
{
"modifierId": "<string>",
"modifier": "<string>",
"minOptions": 123,
"maxOptions": 123,
"visible": true,
"position": 123,
"type": "<string>",
"modifierOptions": [
{
"optionId": "<string>",
"productId": "<string>",
"default": true,
"position": 123
}
]
}
],
"scheduledActivities": [
{
"productId": "<string>",
"scheduledActiveStatus": "2023-11-07T05:31:56Z",
"scheduledInactiveStatus": "2023-11-07T05:31:56Z"
}
]
}'
{
"listId": "<string>",
"name": "<string>",
"active": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Lista registrada o editada exitosamente.
The response is of type object
.