CheckoutConfiguration

Get checkout configuration

Changed on

Returns the account-wide checkout settings: country allow-list, tax collection, discount codes, the phone / shipping address / tax ID fields shown at checkout, quantity selection, the post-purchase success URL, and the abandoned checkout and quote reminder emails. Read it before changing anything — omitted fields keep their current value on update.

get/checkout_configuration

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Response

Checkout configuration

CheckoutConfiguration required
object, string required
allowed_countries, string[] required

ISO 3166-1 alpha-2 allow-list; empty means every country can check out.

collect_tax, boolean required
tax_behavior, 'unspecified' | 'inclusive' | 'exclusive' required
tax_code, string required
allow_discount_codes, boolean required
show_tax_id_input, boolean required
show_phone_number_input, boolean required
collect_call_consent, boolean required
collect_shipping_address, boolean required
abandoned_checkout_emails, boolean required
abandoned_checkout_email_delay_hours, integer required
quote_reminder_emails, boolean required
allow_multiple_quantity, boolean required
cancellation_reasons, string[] required
cancellation_message, string nullable required
cancellation_pause_max_intervals, integer nullable required
cancellation_discount, string nullable required
success_url, string nullable required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision