Skip to main content
DELETE
/
{alias}
/
pricing
/
cashbacks
/
{id}
Deletar um cashback
curl --request DELETE \
  --url https://api.dooki.com.br/v2/{alias}/pricing/cashbacks/{id} \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>'
{
  "id": 123,
  "store_id": 123,
  "token": "<string>",
  "active": true,
  "name": "Exemplo de cashback",
  "min_amount": 123,
  "max_amount": 123,
  "valid_for": 123,
  "percent_amount": 123,
  "has_expiration": true,
  "starts_at": {
    "date": "2000-08-17 10:24:24",
    "timezone_type": 3,
    "timezone": "America/Sao_Paulo"
  },
  "expires_at": {
    "date": "2000-08-17 10:24:24",
    "timezone_type": 3,
    "timezone": "America/Sao_Paulo"
  },
  "created_at": {
    "date": "2000-08-17 10:24:24",
    "timezone_type": 3,
    "timezone": "America/Sao_Paulo"
  },
  "updated_at": {
    "date": "2000-08-17 10:24:24",
    "timezone_type": 3,
    "timezone": "America/Sao_Paulo"
  }
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID do cashback

Response

Cashback deletado com sucesso

Representa um cashback

id
integer
store_id
integer
token
string
active
boolean
name
string
Example:

"Exemplo de cashback"

min_amount
number
max_amount
number
valid_for
integer

Dias de validade

percent_amount
number

Percentual de cashback

has_expiration
boolean
starts_at
object
expires_at
object
created_at
object
updated_at
object
I