Skip to content
You are reading the unreleased documentation. No version is released yet, and these pages describe code that is not in a release.

Checkout (admin API)

Admin routes of the checkout module. Every route needs a staff session and the permission named on it; send X-Resolve-Locale: false to receive every locale of a translatable field for editing.

Get checkout settings

Responses:

  • 200: Settings retrieved.

Update checkout settings

Request body: UpdateCheckoutSettingsDto.

Responses:

  • 200: Settings updated.
  • 400: Invalid input.
  • guestCheckoutEnabled (boolean, optional).
  • requiredFields ("email", "phone", "shippingAddress", "billingAddress", "company", "note", optional).
  • termsOfServiceUrl (string, max length 500, nullable, optional).
  • postPurchaseRedirectUrl (string, max length 500, nullable, optional).
  • checkoutMessage (string, max length 500, nullable, optional).