Skip to main content
POST
Cancel a delivery

Authorizations

Authorization
string
header
required

The merchant's UniHop API key, sent as Authorization: Bearer <key>. It identifies the merchant and is what their deliveries are billed against.

Path Parameters

uid
string<uuid>
required

The delivery uid returned when it was created.

Response

The delivery was canceled.

Returned when a delivery has been canceled.

message
string
required
Example:

"Delivery canceled successfully."

uid
string
required
Example:

"9f8e7d6c-1b2a-4c3d-8e9f-0a1b2c3d4e5f"

data
object
required