Delete pack

What is it for?

{packId} in the URL → the number of the pack you want to delete

Conditions

  • Requires authentication.
  • Validations:
    • The pack CANNOT be deleted if it is being used in orders:
    • Error: PACK_IN_USE (HTTP 409)
    • Message: "The pack: {id} is in use and cannot be deleted."
    • If the pack does not exist:
    • Error: PACK_NOT_FOUND (HTTP 404)
    • Message: "No pack found with ID {id}."

Parameters

Fill in the fields in Query Params and/or Path Params as applicable.

Expected response

HTTP 204 → No content

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
≥ 1

Pack ID to delete. Minimum value: 1.

Responses
204

Pack deleted

400

Validation error

404

Pack not found

409

Pack linked to an order

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here!