POST
/
{alias}
/
pricing
/
combos
curl --request POST \
  --url https://api.dooki.com.br/v2/{alias}/pricing/combos \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "id": 123,
  "active": true,
  "accumulate": true,
  "name": "Combo test",
  "description": "<string>",
  "products_ids": [
    123
  ],
  "discount_type": "p",
  "discount_value": 10,
  "expired": true,
  "total_products": 123,
  "start_at": {
    "date": "2023-11-07T05:31:56Z",
    "timezone_type": 123,
    "timezone": "<string>"
  },
  "end_at": {
    "date": "2023-11-07T05:31:56Z",
    "timezone_type": 123,
    "timezone": "<string>"
  }
}'
{
  "id": 123,
  "active": true,
  "accumulate": true,
  "name": "Combo test",
  "description": "<string>",
  "products_ids": [
    123
  ],
  "discount_type": "p",
  "discount_value": 10,
  "expired": true,
  "total_products": 123,
  "start_at": {
    "date": "2023-11-07T05:31:56Z",
    "timezone_type": 123,
    "timezone": "<string>"
  },
  "end_at": {
    "date": "2023-11-07T05:31:56Z",
    "timezone_type": 123,
    "timezone": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

Body

application/json

Response

201
application/json

Combo de produtos criado com sucesso