Skip to main content

Update a checkout

PATCH 

/api/checkout/:id

Update details of a checkout using the checkout ID.

Request

Path Parameters

    id stringrequired

    The ID of the checkout to be updated

Body

required

    buyer_accepts_purchase_conditions boolean
    buyer_accepts_terms_conditions boolean
    success_url string
    cancel_url string
    email string
    payment_method string

    shipping_address

    object

    first_name string
    last_name string
    zip string
    city string
    phone_code string
    phone number
    company string
    address1 string
    address2 string
    province string
    province_code string
    country string
    country_code string

    billing_address

    object

    first_name string
    last_name string
    zip string
    city string
    phone_code string
    phone number
    company string
    address1 string
    address2 string
    province string
    province_code string
    country string
    country_code string

Responses

Successful update of the checkout

Schema

    any

Loading...