Options

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

  • Whether the package requires additional handling

  • Request carbon neutral delivery

  • Declared insurance value for the carrier

  • Header text for the commercial invoice

  • Signature for the commercial invoice

  • Immediately buy a label. Mutually exclusive with create_and_buy_cheapest

  • Automatically buy the cheapest rate. Mutually exclusive with create_and_buy

  • Delivery confirmation type

    values
    • NO_SIGNATURE
    • SIGNATURE
    • SIGNATURE_RESTRICTED
    • ADULT_SIGNATURE
    • ADULT_SIGNATURE_RESTRICTED
  • Latest acceptable drop-off time

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

  • Duties/taxes billing information

    Properties: 4
  • Account ID to use for duty/tax payment

  • Return instruction (e.g., RETURN_SERVICE_REQUESTED)

  • Request express delivery date from carrier

  • Indicates hazardous material

    values
    • PRIMARY_CONTAINED
    • PRIMARY_PACKED
    • PRIMARY
    • SECONDARY_CONTAINED
    • SECONDARY_PACKED
    • SECONDARY
    • ORMD
    • LIMITED_QUANTITY
  • Incoterm for the shipment (e.g., DDP, DAP)

  • Indicates whether the shipment is a return

  • Request a USPS Label Broker QR code for PDF labels. The QR is returned as a label_qr_code form in the response's forms array

  • Date to appear on the shipping label

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

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

  • Label size (e.g., 4x6)

  • Whether the parcel is machinable (USPS)

  • Whether to include parcels in the response

  • Postage billing information

    Properties: 4
  • Earliest acceptable pickup time

  • Latest acceptable pickup time

  • Whether to return the label inline in the response

  • Custom reference text/barcodes to print on the label. Each entry is an object. Used for carrier reference fields (e.g. UPS reference numbers, the FedEx custom print lines) and on Vesyl-rendered labels. Note that some carriers only use the first entries (e.g. FedEx uses the first two; the Vesyl-rendered label uses the first three).

    Properties: 3
  • Custom print field 1

  • Custom print field 2

  • Custom print field 3

  • Request Saturday delivery

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

  • Whether to suppress estimated delivery time