Skip to main content
Glama

ActionShip by Teapplix Demo

Purchase Label for Order

teapplix_purchase_label_for_order
Destructive

Purchase a shipping label for an existing Teapplix order. Requires TxnId, From (ship-from address or profile), and a Packages array (each package must include Method; Weight and Dimensions default to the order's stored values if omitted). [DEMO]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
FromYesShip-from address OR a saved shipping profile — supply exactly one shape.
TxnIdYesTeapplix order ID to purchase label for.
OptionsNoAdvanced, rarely used. Omit unless the user explicitly requests features such as signature confirmation, insurance type, COD, etc.
PackagesYesOne or more packages. The first entry is the main package; additional entries are extra packages. Each package must include Method; Weight and Dimensions default to the order's stored values if omitted. All packages must use the same carrier.
ProviderNoForce the label provider. MARKETPLACE = purchase through the marketplace's carrier accounts at marketplace-negotiated rates (e.g. Amazon Buy Shipping, Walmart shipping programs — same carriers like UPS/FedEx/USPS but at the marketplace's rates); NATIVE = purchase through the seller's own carrier account from the shipping profile. When omitted, the API uses whichever provider is configured on the profile. Works on RATESHOP methods too — forces the winning method to purchase through the specified provider.
ShipDateNoShip date (YYYY-MM-DD). Defaults to today. Interpreted as Pacific timezone.
CustomsDeclarationNoInternational shipments only. Omit unless shipping outside the domestic country. Fields: ReasonForExport, IOssNumber, Items: [{Description, Quantity, Value, Weight, HSTariffNumber, CountryOfOrigin}].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
StatusNo
LabelDataNoLabel bytes; one entry per package. Content is base64-encoded.
TrackingInfoNo
DocumentsDataNoAdditional documents (customs forms, return slips, etc.).
PostageAmountNo
ClientRequestIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / Provider
      Added value: +{
      +  "description": "Force the label provider. MARKETPLACE = purchase through the marketplace's carrier accounts at marketplace-negotiated rates (e.g. Amazon Buy Shipping, Walmart shipping programs — same carriers like UPS/FedEx/USPS but at the marketplace's rates); NATIVE = purchase through the seller's own carrier account from the shipping profile. When omitted, the API uses whichever provider is configured on the profile. Works on RATESHOP methods too — forces the winning method to purchase through the specified provider.",
      +  "enum": [
      +    "MARKETPLACE",
      +    "NATIVE"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources