GET
/
{alias}
/
pricing
/
upsells
curl --request GET \
  --url https://api.dooki.com.br/v2/{alias}/pricing/upsells \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>'
{
  "data": [
    {
      "id": 123,
      "purchased_product_id": 123,
      "suggested_product_id": 123,
      "active": true,
      "context": "<string>",
      "product_price": 123,
      "product_quantity": 123,
      "name": "<string>",
      "description": "<string>",
      "email_subject": "<string>",
      "sms": "<string>",
      "views": 123
    }
  ],
  "meta": {
    "pagination": {
      "total": "10",
      "count": "30",
      "per_page": "10",
      "current_page": "1",
      "total_pages": "3",
      "links": {
        "previous": "",
        "next": ""
      }
    }
  }
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

Query Parameters

q
string

Query para filtrar os upsells

Response

200
application/json

Lista de upsells

Representa uma paginação com meta