UPS Interactive Description Guidance Virtual Sandbox

Guide international shippers through commodity classification to determine accurate HTS codes.

The Interactive Commodity Description API assists international shippers by providing a series of multiple-choice questions to improve commodity descriptions. This process helps map items to destination-specific Harmonized Tariff Schedule (HTS) codes, facilitating smoother customs clearance, reducing holds, and ensuring accurate assessment of duties and taxes.

Use this hosted sandbox to simulate UPS Interactive Description Guidance APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready. This keeps your integration code consistent across local development, QA, demos, and production.

Use cases:

Use this sandbox to validate the interactive question-and-answer workflow, verify the mapping of natural language descriptions to HTS codes, test session management for multi-step classification, and handle feedback submission flows for customs compliance logic.

UPS Interactive Description Guidance virtual sandbox is up and running!

Use this sandbox URL as the API base in your code to simulate UPS Interactive Description Guidance responses instantly.

https://ups-interactive-description.mock.beeceptor.com



Interactive Description(3 operations)

Header NameExample
transId*"mol"
transactionSrc*"cillum"
{
  "commodityCountryOfOrigin": "IN",
  "commodityCurrencyCode": "PKR",
  "commodityDescription": "Clothing",
  "commodityHtsCode": "3923",
  "commodityQuantity": "500",
  "commodityUnitOfMeasure": "lbs",
  "commodityValue": "50.50",
  "exportCountryCode": "VN",
  "importCountryCode": "US",
  "locale": "de_DE",
  "shipperAccountNumber": "4RCWZ48YB3",
  "shipperName": "Schamberger, Dach and Schneider"
}
{
  "actualHts": "392330",
  "confidence": 0.67,
  "newProductDescription": "High-performance sports hydration bottle",
  "noMoreQuestions": false,
  "questions": [
    {
      "assumed": true,
      "id": "ba68c8b3-105f-4fab-9046-255044e1ddbf",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "What is the primary material?",
      "selected": 5,
      "type": "multiple_choice"
    },
    {
      "assumed": false,
      "id": "a3d12911-ce97-419d-b7d8-77b290db58fd",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "Is this item for food contact?",
      "selected": 0,
      "type": "multiple_choice"
    }
  ],
  "session": {
    "historyDesc": [
      {
        "assumed": false,
        "id": "64718674-d8a8-428d-b6d7-e3f4fa1a7100",
        "selected": 0
      },
      {
        "assumed": false,
        "id": "92fd720b-7fea-4306-b9ad-5a5973367b7b",
        "selected": 2
      },
      {
        "assumed": false,
        "id": "25fd12b4-7734-45dd-8218-ac3f20e0367c",
        "selected": 1
      }
    ],
    "id": "0fabc8e5-1e44-4d38-8df6-c3fa7e629010"
  },
  "suggestedHts": "39233090"
}
{
  "response": {
    "errors": [
      {
        "code": "4000",
        "message": "Invalid input provided"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "UJ0001",
        "message": "Invalid token or token is not present"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4015",
        "message": "Unsupported Media Type"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4022",
        "message": "Unprocessable Entity"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "5000",
        "message": "Internal Server Error"
      }
    ]
  }
}
Header NameExample
transId*"dolore culpa occaecat aliqui"
transactionSrc*"quis ullamco exercitation elit"
{
  "questions": [
    {
      "id": "1390b2a0-6195-4b0b-8706-76093ac64cfe",
      "selected": 2
    }
  ]
}
{
  "actualHts": "010121",
  "confidence": 0.95,
  "newProductDescription": "Plastic water storage containers",
  "noMoreQuestions": true,
  "questions": [
    {
      "assumed": false,
      "id": "4e41f38b-22ae-4b9a-a602-c513a2ef11d6",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "What is the primary material?",
      "selected": 0,
      "type": "multiple_choice"
    },
    {
      "assumed": false,
      "id": "47569c2d-a7d1-436d-98f5-07bad573bd1a",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "Is it collapsible?",
      "selected": 0,
      "type": "multiple_choice"
    },
    {
      "assumed": false,
      "id": "14e8f436-b18e-4c7f-aa7c-9b9396bd0b02",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "Is it collapsible?",
      "selected": 1,
      "type": "multiple_choice"
    },
    {
      "assumed": false,
      "id": "032d01f9-1503-4c96-b790-590f407281e2",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "What is the capacity?",
      "selected": 5,
      "type": "multiple_choice"
    },
    {
      "assumed": false,
      "id": "528ed43a-efb5-4cf0-8201-4fefb9c1d2a5",
      "options": [
        "For decorative purposes",
        "For storing or drinking water"
      ],
      "other": [
        "PET",
        "PPT"
      ],
      "question": "What is the primary material?",
      "selected": 3,
      "type": "multiple_choice"
    }
  ],
  "session": {
    "historyDesc": [
      {
        "assumed": false,
        "id": "e8160aa3-d8d0-4857-a9de-58e8b2f0dd23",
        "selected": 2
      },
      {
        "assumed": false,
        "id": "59bfe4b3-f373-4ff9-b69e-b753d8d69fe3",
        "selected": 3
      },
      {
        "assumed": false,
        "id": "582cf693-e82f-4e16-a38e-3e11c0f8b304",
        "selected": 5
      },
      {
        "assumed": false,
        "id": "3644d19c-0368-4299-aae4-d7c3193ad342",
        "selected": 3
      },
      {
        "assumed": false,
        "id": "21a46d8c-bdf7-424e-81bc-1be0f563fe11",
        "selected": 4
      }
    ],
    "id": "bb50b8df-b419-4fc4-8270-db44f848cd54"
  },
  "suggestedHts": "70133710"
}
{
  "response": {
    "errors": [
      {
        "code": "4000",
        "message": "Invalid input provided"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "UJ0001",
        "message": "Invalid token or token is not present"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4015",
        "message": "Unsupported Media Type"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4022",
        "message": "Unprocessable Entity"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "5000",
        "message": "Internal Server Error"
      }
    ]
  }
}
{
  "feedback": "Confusing options",
  "id": "aea91dc9-e760-425b-a775-fdeddd421493",
  "sentiment": true
}
Missing schema or example in the OpenAPI spec.
Update the definition and recreate the mock server.
{
  "response": {
    "errors": [
      {
        "code": "4000",
        "message": "Invalid input provided"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "UJ0001",
        "message": "Invalid token or token is not present"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4015",
        "message": "Unsupported Media Type"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "4022",
        "message": "Unprocessable Entity"
      }
    ]
  }
}
{
  "response": {
    "errors": [
      {
        "code": "5000",
        "message": "Internal Server Error"
      }
    ]
  }
}
upslogisticsshippingcustomshtscompliance