Delete existing parcel
DELETE/api/v1/order/:orderId/parcel/:parcelId
Delete existing parcel.
Request
Path Parameters
orderId stringrequired
id of order this parcel belongs to
parcelId stringrequired
id of parcel to delete.
Responses
- 204
- 400
- 401
- 403
- 404
- 409
Parcel successfully deleted.
Constraint violation
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Invalid API token provided.
- application/problem+json
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
AccessDeniedException
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Parcel to delete or order was not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
type uri
title string
status int32
detail string
instance uri
properties
object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"properties": {}
}
Loading...