Skip to content

Update Checkout Settings

Endpoint: https://api.youcan.shop/settings/checkout/settings/

Method: POST

Required Scopes

  • edit-checkout-settings

Parameters

Param NameParam TypeDescriptionRequired
shipping_address_enabledbooleanShipping address visibility on checkoutno
billing_address_enabledbooleanBilling address visibility on checkoutno
default_shipping_zone_idstringDefault shipping zone id (UUID)no

Response

[422] Unprocessable Entity

json
{
    "status": 422,
    "detail": "Shipping zone not found",
    "meta": {
        "default_shipping_zone_id": [
            "Shipping zone not found"
        ]
    }
}

[200] Updated

json
{
    "status": 200,
    "detail": "Checkout settings successfully updated",
    "meta": []
}