Skip to content

Set cart delivery slot

PUT/store/v1/carts/{cart_id}/delivery-slot

    Choose the day (and window) for the cart's delivery option. Changing the option clears it.

    Path parameters

    • cart_idstringrequired

      The cart's ID, like cart_01k8qs5s….

    Headers

    • X-Cart-Tokenstringrequired

      The cart's token

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • datedaterequired
    • startstringrequired

      The window's start, HH:MM; 00:00 for an option that takes a day without windows.

    Returns

    200 The updated cart.

    Errors

    • 404not_foundNo such cart.
    • 409A payment is in progress, or the cart is completed.
    • 422validation_failedThat day or window isn't open, or the option doesn't take a day.