PUT
/
{alias}
/
config
/
checkout
/
{id}
curl --request PUT \
  --url https://api.dooki.com.br/v2/{alias}/config/checkout/{id} \
  --header 'Content-Type: application/json' \
  --header 'User-Secret-Key: <api-key>' \
  --header 'User-Token: <api-key>' \
  --data '{
  "sequential_sale_number": true,
  "delivery_working_days": true,
  "show_shipping_in_cart": true,
  "show_products_links": true,
  "show_promocode": true,
  "max_daily_sales_by_ip": 123,
  "currency": "<string>",
  "person_type": "<string>",
  "text_footer": "<string>",
  "text_shipping": "<string>",
  "text_billet": "<string>",
  "text_card": "<string>",
  "redirect_url_billet": "<string>",
  "redirect_url_card": "<string>",
  "redirect_url_deposit": "<string>"
}'
{
  "data": {
    "id": 123,
    "store_id": "1",
    "currency": "<string>",
    "show_shipping_in_cart": true,
    "show_shipping_time": true,
    "show_installment_warning": true,
    "auto_shipping_selection": true,
    "sequential_sale_number": true,
    "delivery_working_days": true,
    "max_daily_sales_by_ip": 123,
    "max_items_per_order": 123,
    "show_products_links": true,
    "show_birthday": true,
    "show_delivery_date": true,
    "show_original_price_when_free_shipping": true,
    "active_rebuy": true,
    "pix_in_installments_discount": true,
    "wallet_discount": true,
    "has_checkout_first_step_discount": true,
    "password_required": true,
    "accumulate_discounts": true,
    "select_largest_installment": true,
    "always_requires_address": true,
    "use_product_brand": true,
    "skip_cart": true,
    "single_order_bump": true,
    "card_discount": 123,
    "billet_discount": 123,
    "pix_discount": 123,
    "person_type": "<string>",
    "payment_auto_selected": "<string>",
    "brand_url": "<string>",
    "text_header": "<string>",
    "custom_css": "<string>",
    "text_footer": "<string>",
    "text_shipping": "<string>",
    "text_billet": "<string>",
    "text_card": "<string>",
    "header_text_background": "<string>",
    "button_color": "<string>",
    "phone": "<string>",
    "redirect_url_billet": "<string>",
    "redirect_url_card": "<string>",
    "redirect_url_pix_in_installments": "<string>",
    "redirect_url_deposit": "<string>",
    "redirect_url_upsell": "<string>",
    "stopwatch_minutes": 123,
    "domain": "<string>",
    "custom_script": "<string>",
    "custom_thankyou_script": "<string>",
    "custom_metatags": "<string>",
    "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 checkout

Body

application/json

Representa os dados necessários para atualizar a configuração do checkout

Response

200
application/json

Configuração do checkout atualizada com sucesso

The response is of type object.