DELETE
/
shipping
/
delete
/
{id}
Delete
curl --request DELETE \
  --url https://api.buybase.ai/shipping/delete/{id} \
  --header 'authorization: <authorization>'
{
  "success": true,
  "message": "Shipping address \"ship_12345\" deleted successfully",
  "code": "SHIPPING_DELETED"
}

Headers

authorization
string
required
Your API key for authorization.

Path Parameters

id
string
required
The ID of the shipping address to delete.

Response

success
boolean
Indicates whether the operation was successful.
message
string
A message confirming the deletion.
code
string
A code indicating the result of the operation. Possible values:
  • SHIPPING_DELETED: Shipping address deleted successfully
  • SHIPPING_DELETE_FAILED: Failed to delete shipping address
error
string
Error message if the request fails.
Deleting a shipping address is permanent and cannot be undone. Make sure you have the correct shipping ID before proceeding.
{
  "success": true,
  "message": "Shipping address \"ship_12345\" deleted successfully",
  "code": "SHIPPING_DELETED"
}