Options

Optional settings that affect label, delivery, taxes, and more. NOTE: create_and_buy and create_and_buy_cheapest are mutually exclusive

  • additional_handling
    Type: boolean | null

    Whether the package requires additional handling

  • carbon_neutral
    Type: boolean | null

    Request carbon neutral delivery

  • carrier_insurance_amount
    Type: number | null

    Declared insurance value for the carrier

  • commercial_invoice_letterhead
    Type: string | null

    Header text for the commercial invoice

  • commercial_invoice_signature
    Type: string | null

    Signature for the commercial invoice

  • create_and_buy
    Type: boolean | null

    Immediately buy a label. Mutually exclusive with create_and_buy_cheapest

  • create_and_buy_cheapest
    Type: boolean | null

    Automatically buy the cheapest rate. Mutually exclusive with create_and_buy

  • delivery_confirmation
    Type: string | nullenum

    Delivery confirmation type

    values
    • NO_SIGNATURE
    • SIGNATURE
    • SIGNATURE_RESTRICTED
    • ADULT_SIGNATURE
    • ADULT_SIGNATURE_RESTRICTED
  • dropoff_max_datetime
    Type: string | nullFormat: date_time

    Latest acceptable drop-off time

  • dropoff_type
    Type: string | null

    Dropoff type (e.g., REGULAR_PICKUP, SCHEDULED_PICKUP)

  • duty_payment
    Type: object | null

    Duties/taxes billing information

    • account
      Type: string | null
    • country
      Type: string | null
    • postal_code
      Type: string | null
    • type
      Type: stringenum
      values
      • SENDER
      • THIRD_PARTY
      • RECEIVER
  • duty_payment_account
    Type: string | null

    Account ID to use for duty/tax payment

  • endorsement
    Type: string | null

    Return instruction (e.g., RETURN_SERVICE_REQUESTED)

  • fetch_express_delivery_date
    Type: boolean | null

    Request express delivery date from carrier

  • hazmat
    Type: string | nullenum

    Indicates hazardous material

    values
    • PRIMARY_CONTAINED
    • PRIMARY_PACKED
    • PRIMARY
    • SECONDARY_CONTAINED
    • SECONDARY_PACKED
  • incoterm
    Type: string | null

    Incoterm for the shipment (e.g., DDP, DAP)

  • is_return
    Type: boolean | null

    Indicates whether the shipment is a return

  • label_date
    Type: string | nullFormat: date

    Date to appear on the shipping label

  • label_format
    Type: string | null

    Label file format (e.g., PDF, ZPL)

  • label_request_source
    Type: string | null

    Source of the label request (e.g., api)

  • label_size
    Type: string | nullenum

    Label size (e.g., 4x6)

    values
    • 4x6
    • 8.5x11
    • LETTER
  • machinable
    Type: boolean | null

    Whether the parcel is machinable (USPS)

  • parcels_response
    Type: boolean | null

    Whether to include parcels in the response

  • payment
    Type: object | null

    Postage billing information

    • account
      Type: string | null
    • country
      Type: string | null
    • postal_code
      Type: string | null
    • type
      Type: stringenum
      values
      • SENDER
      • THIRD_PARTY
      • RECEIVER
      • COLLECT
  • pickup_max_datetime
    Type: string | nullFormat: date_time

    Latest acceptable pickup time

  • pickup_min_datetime
    Type: string | nullFormat: date_time

    Earliest acceptable pickup time

  • postage_label_inline
    Type: boolean | null

    Whether to return the label inline in the response

  • print_custom
    Type: string | null

    Custom print field (carrier-specific)

  • print_custom_1
    Type: string | null

    Custom print field 1

  • print_custom_2
    Type: string | null

    Custom print field 2

  • print_custom_3
    Type: string | null

    Custom print field 3

  • saturday_delivery
    Type: boolean | null

    Request Saturday delivery

  • special_rates_eligibility
    Type: string | null

    Special rate plan (e.g., usps.connect)

  • suppress_etd
    Type: boolean | null

    Whether to suppress estimated delivery time