PUT
/
v3
/
lists
/
{listId}
Register or edit a list
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Lista registrada o editada exitosamente.

The response is of type object.