shipping.remove

This method is used to remove a Shipping Method

Version

v2

Arguments

This method has the path /cart/<version>/shipping.remove and follows the MicroBase API calling conventions.

Argument Required Type Example Description
id no String iw3RA1EE The id of the Shipping Method to remove.

Response

Returns a default response:

{
    "ok": true
}

Errors

Expected errors that this method could return. Some errors return additional data.

Error Data Description
shipping_method_not_found The id not found The Shipping Method was not found

Example

curl --request POST \
  --url 'http://localhost:3000/services/cart/v1/category.shipping?id=iw3RA1EE \
  --header 'authorization: Bearer xxxxx...' \
  --header 'accept: application/json' \
  --header 'content-type: application/json'