Create Ticket

post/company/tickets

Request

  • Base URL
    https://queries.test.envia.com
  • URL
    https://queries.test.envia.com/company/tickets
  • Auth
    HTTP bearer

Headers

Content-Typestring

Request body

type_idinteger required

Ticket type ID.

commentsstring

Initial message from the customer. Recommended for context.

datastring json

JSON-stringified, type-specific fields stored as ticket variables.

shipment_idinteger

Shipment reference. Required for shipment-based types (lost, damaged, delay, wrong address, overweight, etc).

credit_idinteger

Credit/recharge reference for credit-based types.

carrier_idinteger

Carrier reference (e.g. carrier activation, type 2).

warehouse_package_idstring

Warehouse package reference (PO box types). Accepts the package ID or the shipper name.

Response

idinteger

Example response

{
  "id": 987654
}

Changes

No recorded changes to this operation across all 1 revision of this API.