Resend package by post

POST /packages/resend/post

Requires fulfil_orders permission

Headers

  • Account-ID string(uuid) Required

    Account ID - Can be found on the Dashboard under Settings → API Tokens

application/json

Body Required

  • package_id string(uuid) Required

    UUID of the postal package to resend

  • delivery_address object Required
    Hide delivery_address attributes Show delivery_address attributes object
    • name string Required

      Maximum length is 100.

    • address_line_1 string Required

      Maximum length is 100.

    • address_line_2 string | null

      Maximum length is 100.

    • city string Required

      Maximum length is 50.

    • state string | null

      Maximum length is 50.

    • postal_code string Required

      Maximum length is 20.

    • country string Required

      ISO 3166-1 alpha-2 country code

      Maximum length is 2.

  • from_name string | null

    Sender name for voucher

    Maximum length is 60.

  • recipient_name string | null

    Recipient name for voucher

    Maximum length is 60.

  • message string | null

    Optional message for voucher

    Maximum length is 191.

Responses

  • 200

    Package resent

  • 404

    Package not found

  • 422

    Validation error

POST /packages/resend/post
curl \
 --request POST 'https://api.gb.enjovia.app/packages/resend/post' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "Account-ID: string" \
 --data '{"package_id":"string","delivery_address":{"name":"string","address_line_1":"string","address_line_2":"string","city":"string","state":"string","postal_code":"string","country":"string"},"from_name":"string","recipient_name":"string","message":"string"}'
Request examples
# Headers
Account-ID: string

# Payload
{
  "package_id": "string",
  "delivery_address": {
    "name": "string",
    "address_line_1": "string",
    "address_line_2": "string",
    "city": "string",
    "state": "string",
    "postal_code": "string",
    "country": "string"
  },
  "from_name": "string",
  "recipient_name": "string",
  "message": "string"
}