Skip to content
Navigation

Remove a shipping method

DELETE
https://{store_domain}/api/store/carts/{id}/shipping-methods/{method_id}

Removes a shipping method from the cart.

Authorization

  • publishableKey
    API key in header
    required

    x-publishable-api-key: <token>

Path parameters

  • id
    string
    required
  • method_id
    string
    required

Returns

200

The deleted shipping method.

JSON
  • id
    string
    required
  • object
    string
    required
  • deleted
    true
    required

404

The cart or shipping method does not exist.
JSON
  • type
    string
    required
  • message
    string
    required
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close