CheckoutLinks

Get checkout link

Changed on

Returns a specific checkout link

get/checkout_links/{id}

Request

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

Path parameters

id, string required

The resource's ID, as returned in its id field

Query parameters

expand, string

Comma-separated relations to expand: discount, price_variants

Response

Checkout link details

CheckoutLink required
id, string required
object, string required
name, string nullable required
success_url, string nullable required
allow_discount_codes, boolean required
created_at, string date-time required
updated_at, string date-time required
metadata, object nullable required
url, string required
discount, union

ID by default, full object when expanded

price_variants, PriceVariant[]

Changes

    • warning

      added the new expired enum value to the discount/oneOf[#/components/schemas/Discount]/status response property for the response status

    • info

      added the required property price_variants/items/cross_sells to the response with the status

    • warning

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

    5 more changes in this revision