{"info":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","description":"<html><head></head><body><h1 id=\"safepackage-api\">SafePackage API</h1>\n<p>V 1.26.5</p>\n<h2 id=\"general-api-information\">General API Information</h2>\n<ul>\n<li><p><strong>Type</strong>: REST Web Service</p>\n</li>\n<li><p><strong>Protocol</strong>: HTTP 1.1 / TLS</p>\n</li>\n<li><p><strong>Serialization</strong>: JSON</p>\n</li>\n<li><p><strong>Authentication</strong>: API Key (Token)</p>\n</li>\n</ul>\n<h2 id=\"environments\">Environments</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment</th>\n<th>Base URL</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Production</td>\n<td><a href=\"https://api.safepackage.com\">https://api.safepackage.com</a></td>\n</tr>\n<tr>\n<td>Development</td>\n<td><a href=\"https://sandbox.safepackage.com\">https://sandbox.safepackage.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"required-headers\">Required Headers</h2>\n<ul>\n<li><p><code>Content-Type: application/json</code></p>\n</li>\n<li><p><code>Accept: application/json</code></p>\n</li>\n<li><p><code>Accept-Encoding: gzip, deflate</code></p>\n</li>\n<li><p><code>Authorization: ApiKey YOUR_ACCESS_KEY</code></p>\n</li>\n</ul>\n<h2 id=\"support\">Support</h2>\n<p>For questions or access requests, contact the SafePackage team.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"SafePackage API","slug":"safepackage-api"}],"owner":"1980603","collectionId":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","publishedId":"2sBXiokUpG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-01T20:08:38.000Z"},"item":[{"name":"Product Screening","item":[{"name":"Screen Product","id":"f49e29d9-aeed-4103-814a-6e9bd66ac7a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"sku\": \"SKU-12345\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"url\": \"https://www.example.com/product/12345\",\n  \"name\": \"Wireless Bluetooth Headphones\",\n  \"description\": \"Premium wireless headphones with active noise cancellation, 30-hour battery life, and foldable design. Includes carrying case and USB-C charging cable.\",\n  \"declaredName\": \"Wireless Audio Headset\",\n  \"price\": 49.99,\n  \"images\": [\n    \"<base64_encoded_image_1>\",\n    \"<base64_encoded_image_2>\"\n  ],\n  \"categories\": [\"Electronics\", \"Audio\", \"Headphones\"],\n  \"pieces\": 1,\n  \"ean\": \"0123456789012\",\n  \"hts\": \"8518300000\",\n  \"normalize\": false,\n  \"originCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\",\n  \"instructions\": [\n    {\n      \"type\": \"INSTRUCTION_TYPE\",\n      \"value\": \"instruction_value\"\n    }\n  ],\n  \"attributes\": [\n    {\n      \"type\": \"ManufacturerId\",\n      \"value\": \"MID123456789\"\n    },\n    {\n      \"type\": \"ManufacturerName\",\n      \"value\": \"Acme Electronics Co. Ltd.\"\n    },\n    {\n      \"type\": \"ManufacturerAddress\",\n      \"value\": \"123 Factory Road, Shenzhen, Guangdong, China\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/product/screen","description":"<h1 id=\"screen-product\">Screen Product</h1>\n<p>Determines the customs compliance status of a product and whether it can be imported into the U.S.</p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>50</td>\n<td>Unique product listing identifier on the platform</td>\n</tr>\n<tr>\n<td><code>platformId</code></td>\n<td>string</td>\n<td>20</td>\n<td>Marketplace platform identifier – use Platform endpoint to get valid values</td>\n</tr>\n<tr>\n<td><code>sellerId</code></td>\n<td>string</td>\n<td>–</td>\n<td>Seller or store identifier on the platform</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>1000</td>\n<td>Working public URL to the product page</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>300</td>\n<td>Full advertised product name – must match the product page</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>–</td>\n<td>Full advertised product description – must match the product page</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>number</td>\n<td>–</td>\n<td>List price in USD as shown on the product page</td>\n</tr>\n<tr>\n<td><code>images[]</code></td>\n<td>base64 string array</td>\n<td>–</td>\n<td>One or more product images (JPEG recommended, min 640×480px). Accepted formats: JPEG, WEBP, PNG8, PNG24, GIF (non-animated)</td>\n</tr>\n<tr>\n<td><code>originCountry</code></td>\n<td>string</td>\n<td>–</td>\n<td>ISO-3 country code (uppercase). Use <code>CHN</code> for China</td>\n</tr>\n<tr>\n<td><code>destinationCountry</code></td>\n<td>string</td>\n<td>–</td>\n<td>ISO-3 country code (uppercase). Use <code>USA</code> for United States</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"conditional-fields\">Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>declaredName</code></td>\n<td>string</td>\n<td>300</td>\n<td>Customs declaration name if different from <code>name</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>categories[]</code></td>\n<td>string array</td>\n<td>–</td>\n<td>Store categories or keywords associated with the product</td>\n</tr>\n<tr>\n<td><code>pieces</code></td>\n<td>number</td>\n<td>–</td>\n<td>Total number of product pieces if applicable</td>\n</tr>\n<tr>\n<td><code>ean</code></td>\n<td>string</td>\n<td>20</td>\n<td>13-digit EAN or 12-digit UPC</td>\n</tr>\n<tr>\n<td><code>hts</code></td>\n<td>string</td>\n<td>10</td>\n<td>US HTS number, at least 6 digits</td>\n</tr>\n<tr>\n<td><code>normalize</code></td>\n<td>boolean</td>\n<td>–</td>\n<td>Whether the product data needs to be normalized</td>\n</tr>\n<tr>\n<td><code>instructions[]</code></td>\n<td>object array</td>\n<td>–</td>\n<td>Special screening instructions (<code>type</code> required, <code>value</code> conditional)</td>\n</tr>\n<tr>\n<td><code>attributes[]</code></td>\n<td>object array</td>\n<td>–</td>\n<td>Additional product attributes. Allowed <code>type</code> values: <code>ManufacturerId</code>, <code>ManufacturerName</code>, <code>ManufacturerAddress</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>reference</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Unique SafePackage product reference</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>number</td>\n<td>Required</td>\n<td>Result code: <code>1</code> Accepted, <code>2</code> Rejected, <code>3</code> Inconclusive</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Required</td>\n<td><code>Accepted</code>, <code>Rejected</code>, or <code>Inconclusive</code></td>\n</tr>\n<tr>\n<td><code>reason.code</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Three-letter rejection reason code (e.g. <code>RIT</code>, <code>RIP</code>)</td>\n</tr>\n<tr>\n<td><code>reason.description</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Short rejection reason phrase</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"rejection-reason-codes\">Rejection Reason Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>RMG</code></td>\n<td>Transportation security violation</td>\n</tr>\n<tr>\n<td><code>RBT</code></td>\n<td>Transportation security violation</td>\n</tr>\n<tr>\n<td><code>RDG</code></td>\n<td>Transportation security violation</td>\n</tr>\n<tr>\n<td><code>RHP</code></td>\n<td>De-minimis value violation</td>\n</tr>\n<tr>\n<td><code>RIP</code></td>\n<td>Intellectual property infringement</td>\n</tr>\n<tr>\n<td><code>RIC</code></td>\n<td>Copyright infringement</td>\n</tr>\n<tr>\n<td><code>RIT</code></td>\n<td>Trademark infringement</td>\n</tr>\n<tr>\n<td><code>RIN</code></td>\n<td>Patent infringement</td>\n</tr>\n<tr>\n<td><code>RCT</code></td>\n<td>Customs regulations violation</td>\n</tr>\n<tr>\n<td><code>RPA</code></td>\n<td>USDA violation</td>\n</tr>\n<tr>\n<td><code>RPW</code></td>\n<td>FWS violation</td>\n</tr>\n<tr>\n<td><code>RPT</code></td>\n<td>DOT violation</td>\n</tr>\n<tr>\n<td><code>RPD</code></td>\n<td>FDA violation</td>\n</tr>\n<tr>\n<td><code>RPS</code></td>\n<td>CPSC violation</td>\n</tr>\n<tr>\n<td><code>RPF</code></td>\n<td>FCEN violation</td>\n</tr>\n<tr>\n<td><code>RPE</code></td>\n<td>ATF violation</td>\n</tr>\n<tr>\n<td><code>RPL</code></td>\n<td>Forced labor violation</td>\n</tr>\n<tr>\n<td><code>RCR</code></td>\n<td>Customs regulations violation</td>\n</tr>\n<tr>\n<td><code>RBD</code></td>\n<td>Bad or incomplete data</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","product","screen"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"c2a87ec0-e7fa-47f7-a2f6-b5f74bfa7ed5","name":"Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"sku\": \"SKU-12345\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"url\": \"https://www.example.com/product/12345\",\n  \"name\": \"Wireless Bluetooth Headphones\",\n  \"description\": \"Premium wireless headphones with active noise cancellation, 30-hour battery life, and foldable design.\",\n  \"price\": 49.99,\n  \"images\": [\"<base64_encoded_image_1>\"],\n  \"originCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/product/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"reference\": \"SP-REF-00123456\",\n  \"code\": 1,\n  \"status\": \"Accepted\"\n}"},{"id":"903754b0-4a5f-427c-8701-2dd2d6170fe1","name":"Rejected","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"sku\": \"SKU-12345\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"url\": \"https://www.example.com/product/12345\",\n  \"name\": \"Wireless Bluetooth Headphones\",\n  \"description\": \"Premium wireless headphones with active noise cancellation, 30-hour battery life, and foldable design.\",\n  \"price\": 49.99,\n  \"images\": [\"<base64_encoded_image_1>\"],\n  \"originCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/product/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"reference\": \"SP-REF-00123457\",\n  \"code\": 2,\n  \"status\": \"Rejected\",\n  \"reason\": {\n    \"code\": \"RIT\",\n    \"description\": \"Trademark Infringement\"\n  }\n}"},{"id":"b105d16c-99b8-4029-aa41-d75216e0bf49","name":"Inconclusive","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"sku\": \"SKU-12345\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"url\": \"https://www.example.com/product/12345\",\n  \"name\": \"Wireless Bluetooth Headphones\",\n  \"description\": \"Premium wireless headphones with active noise cancellation, 30-hour battery life, and foldable design.\",\n  \"price\": 49.99,\n  \"images\": [\"<base64_encoded_image_1>\"],\n  \"originCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/product/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"reference\": \"SP-REF-00123458\",\n  \"code\": 3,\n  \"status\": \"Inconclusive\",\n  \"reason\": {\n    \"code\": \"RBD\",\n    \"description\": \"Bad or incomplete data\"\n  }\n}"}],"_postman_id":"f49e29d9-aeed-4103-814a-6e9bd66ac7a7"}],"id":"1b90a811-484b-41c3-b69f-2a1c8b11911f","description":"<p>Determine the customs compliance status of a product and whether it can be imported into the U.S.</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/product/screen</code></p>\n<p><strong>Result Codes:</strong></p>\n<ul>\n<li><code>1</code> – Accepted: product is compliant and can be shipped</li>\n<li><code>2</code> – Rejected: product is most likely a violation, do not ship</li>\n<li><code>3</code> – Inconclusive: potentially violative, do not ship until proven otherwise</li>\n</ul>\n","_postman_id":"1b90a811-484b-41c3-b69f-2a1c8b11911f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Package Screening","item":[{"name":"Screen Package","id":"e236f4e3-8769-4828-bb68-d7b186d8209a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"PKG-EXT-001\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"exportCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\",\n  \"houseBillNumber\": \"HB000000001\",\n  \"barcode\": \"9400111899223397667318\",\n  \"invoiceNumber\": \"INV-2024-001\",\n  \"containerId\": \"CONT-BARCODE-001\",\n  \"group\": {\n    \"id\": \"GROUP-001\",\n    \"ordinal\": 1\n  },\n  \"carrierId\": \"usps\",\n  \"weight\": {\n    \"value\": 1.2,\n    \"unit\": \"K\"\n  },\n  \"declaredValue\": 49.99,\n  \"charges\": 0.00,\n  \"from\": {\n    \"name\": \"Shenzhen Supplier Co.\",\n    \"line1\": \"123 Factory Road\",\n    \"line2\": \"Building A\",\n    \"city\": \"Shenzhen\",\n    \"state\": \"Guangdong\",\n    \"postalCode\": \"518000\",\n    \"country\": \"CHN\",\n    \"phone\": \"+86-755-1234-5678\",\n    \"email\": \"export@supplier.com\"\n  },\n  \"to\": {\n    \"name\": \"John Smith\",\n    \"line1\": \"456 Main Street\",\n    \"line2\": \"Apt 7B\",\n    \"city\": \"New York\",\n    \"state\": \"NY\",\n    \"postalCode\": \"10001\",\n    \"country\": \"USA\",\n    \"phone\": \"+1-212-555-0100\",\n    \"email\": \"jsmith@email.com\"\n  },\n  \"products\": [\n    {\n      \"quantity\": 1,\n      \"items\": [\n        {\n          \"declaredValue\": 49.99,\n          \"declaredName\": \"Wireless Audio Headset\",\n          \"originCountry\": \"CHN\",\n          \"mid\": \"MID123456789\",\n          \"weight\": {\n            \"value\": 1.2,\n            \"unit\": \"K\"\n          },\n          \"tariffStack\": [\n            {\n              \"hts\": \"8518300000\",\n              \"value\": 49.99,\n              \"indicators\": [\n                {\n                  \"type\": \"SPI\",\n                  \"value\": \"CL\"\n                }\n              ],\n              \"quantities\": [\n                {\n                  \"unit\": \"NO\",\n                  \"quantity\": 1\n                }\n              ]\n            }\n          ],\n          \"pga\": [\n            {\n              \"agency\": \"FDA\",\n              \"program\": {\n                \"code\": \"DRU\"\n              }\n            }\n          ],\n          \"declarations\": {\n            \"aluminum\": {\n              \"primarySmeltCountry\": \"CHN\",\n              \"secondarySmeltCountry\": \"CHN\",\n              \"castCountry\": \"CHN\"\n            },\n            \"steel\": {\n              \"meltCountry\": \"CHN\",\n              \"applicabilityCode\": \"N\"\n            }\n          }\n        }\n      ],\n      \"product\": {\n        \"sku\": \"SKU-12345\",\n        \"url\": \"https://www.example.com/product/12345\",\n        \"name\": \"Wireless Bluetooth Headphones\",\n        \"description\": \"Premium wireless headphones with active noise cancellation, 30-hour battery life, and foldable design.\",\n        \"price\": 49.99,\n        \"images\": [\n          \"<base64_encoded_image_1>\"\n        ],\n        \"originCountry\": \"CHN\",\n        \"categories\": [\"Electronics\", \"Audio\"],\n        \"pieces\": 1,\n        \"ean\": \"0123456789012\",\n        \"hts\": \"8518300000\",\n        \"normalize\": false,\n        \"instructions\": [\n          {\n            \"type\": \"INSTRUCTION_TYPE\",\n            \"value\": \"instruction_value\"\n          }\n        ],\n        \"attributes\": [\n          {\n            \"type\": \"ManufacturerId\",\n            \"value\": \"MID123456789\"\n          },\n          {\n            \"type\": \"ManufacturerName\",\n            \"value\": \"Acme Electronics Co. Ltd.\"\n          },\n          {\n            \"type\": \"ManufacturerAddress\",\n            \"value\": \"123 Factory Road, Shenzhen, Guangdong, China\"\n          }\n        ]\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/screen","description":"<h1 id=\"screen-package\">Screen Package</h1>\n<p>Initiates the package compliance verification process. Screens each product within the package.</p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>–</td>\n<td>Package identifier in the client's system</td>\n</tr>\n<tr>\n<td><code>platformId</code></td>\n<td>string</td>\n<td>20</td>\n<td>Marketplace platform identifier</td>\n</tr>\n<tr>\n<td><code>sellerId</code></td>\n<td>string</td>\n<td>50</td>\n<td>Seller or store identifier</td>\n</tr>\n<tr>\n<td><code>exportCountry</code></td>\n<td>string</td>\n<td>–</td>\n<td>ISO-3 export country code. Use <code>CHN</code> for China</td>\n</tr>\n<tr>\n<td><code>destinationCountry</code></td>\n<td>string</td>\n<td>–</td>\n<td>ISO-3 destination country code. Use <code>USA</code> for United States</td>\n</tr>\n<tr>\n<td><code>houseBillNumber</code></td>\n<td>string</td>\n<td>12</td>\n<td>House bill number – must be unique within a single shipment</td>\n</tr>\n<tr>\n<td><code>barcode</code></td>\n<td>string</td>\n<td>–</td>\n<td>Package tracking barcode on the shipping label</td>\n</tr>\n<tr>\n<td><code>weight.value</code></td>\n<td>number</td>\n<td>–</td>\n<td>Package gross weight value</td>\n</tr>\n<tr>\n<td><code>weight.unit</code></td>\n<td>string</td>\n<td>–</td>\n<td><code>K</code> for kilograms, <code>L</code> for pounds</td>\n</tr>\n<tr>\n<td><code>from</code></td>\n<td>object</td>\n<td>–</td>\n<td>Shipper address (<code>name</code>, <code>line1</code>, <code>city</code>, <code>state</code>, <code>postalCode</code>, <code>country</code> required)</td>\n</tr>\n<tr>\n<td><code>to</code></td>\n<td>object</td>\n<td>–</td>\n<td>Consignee address (<code>name</code>, <code>line1</code>, <code>city</code>, <code>state</code>, <code>postalCode</code>, <code>country</code> required)</td>\n</tr>\n<tr>\n<td><code>products[]</code></td>\n<td>object array</td>\n<td>–</td>\n<td>At least one product quantifier object</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"conditional-fields\">Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>invoiceNumber</code></td>\n<td>string (30)</td>\n<td>Invoice number for entry filing</td>\n</tr>\n<tr>\n<td><code>containerId</code></td>\n<td>string</td>\n<td>Container barcode if package is in a separate container</td>\n</tr>\n<tr>\n<td><code>charges</code></td>\n<td>number</td>\n<td>Total non-dutiable charges</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>group.id</code></td>\n<td>string (50)</td>\n<td>Filing group identifier for consolidation</td>\n</tr>\n<tr>\n<td><code>group.ordinal</code></td>\n<td>number</td>\n<td>Package sort order within the group</td>\n</tr>\n<tr>\n<td><code>carrierId</code></td>\n<td>string</td>\n<td>Last-mile carrier: <code>usps</code>, <code>ups</code>, <code>fedex</code>, <code>dhl</code></td>\n</tr>\n<tr>\n<td><code>declaredValue</code></td>\n<td>number</td>\n<td>Package total declared value in USD</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"productsitems-required-fields\">products[].items[] Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>declaredValue</code></td>\n<td>number</td>\n<td>Item declared value in USD</td>\n</tr>\n<tr>\n<td><code>declaredName</code></td>\n<td>string (300)</td>\n<td>Item name for customs declaration</td>\n</tr>\n<tr>\n<td><code>originCountry</code></td>\n<td>string</td>\n<td>ISO-3 country code of item origin</td>\n</tr>\n<tr>\n<td><code>mid</code></td>\n<td>string</td>\n<td>Manufacturer identifier (MID)</td>\n</tr>\n<tr>\n<td><code>weight.value</code></td>\n<td>number</td>\n<td>Item weight value</td>\n</tr>\n<tr>\n<td><code>weight.unit</code></td>\n<td>string</td>\n<td><code>K</code> kilograms, <code>L</code> pounds</td>\n</tr>\n<tr>\n<td><code>tariffStack[]</code></td>\n<td>object array</td>\n<td>Tariff declaration entries</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tariffstack-required-fields\">tariffStack[] Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>hts</code></td>\n<td>string</td>\n<td>10-digit US HTS number</td>\n</tr>\n<tr>\n<td><code>value</code></td>\n<td>number</td>\n<td>Declared tariff value</td>\n</tr>\n<tr>\n<td><code>quantities[]</code></td>\n<td>object array</td>\n<td>Census quantity reporting (<code>unit</code> and <code>quantity</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tariffstack-conditional-fields\">tariffStack[] Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>indicators[]</code></td>\n<td>object array</td>\n<td>Special program indicators (<code>type</code> e.g. <code>SPI</code>, <code>value</code> e.g. <code>CL</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"line-item-conditional-fields\">Line Item Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pga[]</code></td>\n<td>object array</td>\n<td>PGA filing data sets. Each entry requires <code>agency</code> (e.g. <code>FDA</code>) and <code>program.code</code> (e.g. <code>DRU</code>)</td>\n</tr>\n<tr>\n<td><code>declarations.aluminum</code></td>\n<td>object</td>\n<td>Aluminum reporting: <code>primarySmeltCountry</code>, <code>secondarySmeltCountry</code>, <code>castCountry</code></td>\n</tr>\n<tr>\n<td><code>declarations.steel</code></td>\n<td>object</td>\n<td>Steel reporting: <code>meltCountry</code>, <code>applicabilityCode</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage package identifier</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Client's external package identifier</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>number</td>\n<td>Required</td>\n<td><code>1</code> Accepted, <code>2</code> Rejected, <code>3</code> Inconclusive, <code>4</code> Audit</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Required</td>\n<td><code>Accepted</code>, <code>Rejected</code>, <code>Inconclusive</code>, or <code>Audit</code></td>\n</tr>\n<tr>\n<td><code>labelQrCode</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>QR code data for the shipping label – only returned when <code>code</code> is <code>1</code>. The trademark <code>SafePackage ®</code> must be printed near the QR code</td>\n</tr>\n<tr>\n<td><code>products[]</code></td>\n<td>object array</td>\n<td>Required</td>\n<td>Per-product screening results</td>\n</tr>\n<tr>\n<td><code>products[].reference</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage product reference</td>\n</tr>\n<tr>\n<td><code>products[].sku</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Product SKU</td>\n</tr>\n<tr>\n<td><code>products[].platformId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Platform identifier</td>\n</tr>\n<tr>\n<td><code>products[].code</code></td>\n<td>number</td>\n<td>Required</td>\n<td>Product result code: <code>1</code>, <code>2</code>, or <code>3</code></td>\n</tr>\n<tr>\n<td><code>products[].status</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Product result status</td>\n</tr>\n<tr>\n<td><code>products[].reason</code></td>\n<td>object</td>\n<td>Conditional</td>\n<td>Rejection reason with <code>code</code> and <code>description</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","package","screen"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"b70fcbe5-9880-4043-9aa3-b28b90e5be38","name":"Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001234\",\n  \"externalId\": \"PKG-EXT-001\",\n  \"code\": 1,\n  \"status\": \"Accepted\",\n  \"labelQrCode\": \"SPQR:SP-PKG-00001234:ABCDEF1234567890\",\n  \"products\": [\n    {\n      \"reference\": \"SP-REF-00123456\",\n      \"sku\": \"SKU-12345\",\n      \"platformId\": \"AMAZON\",\n      \"code\": 1,\n      \"status\": \"Accepted\"\n    }\n  ]\n}"},{"id":"d6054931-37d5-4c1e-9ad5-7f0db475d937","name":"Rejected","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001235\",\n  \"externalId\": \"PKG-EXT-002\",\n  \"code\": 2,\n  \"status\": \"Rejected\",\n  \"products\": [\n    {\n      \"reference\": \"SP-REF-00123457\",\n      \"sku\": \"SKU-99999\",\n      \"platformId\": \"AMAZON\",\n      \"code\": 2,\n      \"status\": \"Rejected\",\n      \"reason\": {\n        \"code\": \"RIP\",\n        \"description\": \"Intellectual property infringement\"\n      }\n    }\n  ]\n}"},{"id":"4723d99c-fe28-4985-ace8-9e11b10c0647","name":"Inconclusive","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001236\",\n  \"externalId\": \"PKG-EXT-003\",\n  \"code\": 3,\n  \"status\": \"Inconclusive\",\n  \"products\": [\n    {\n      \"reference\": \"SP-REF-00123459\",\n      \"sku\": \"SKU-11111\",\n      \"platformId\": \"AMAZON\",\n      \"code\": 3,\n      \"status\": \"Inconclusive\",\n      \"reason\": {\n        \"code\": \"RBD\",\n        \"description\": \"Bad or incomplete data\"\n      }\n    }\n  ]\n}"},{"id":"56e988a8-1c3e-4069-8a06-e5e13485ba93","name":"Audit Required","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/screen"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001237\",\n  \"externalId\": \"PKG-EXT-004\",\n  \"code\": 4,\n  \"status\": \"Audit\",\n  \"products\": [\n    {\n      \"reference\": \"SP-REF-00123460\",\n      \"sku\": \"SKU-55555\",\n      \"platformId\": \"AMAZON\",\n      \"code\": 1,\n      \"status\": \"Accepted\"\n    }\n  ]\n}"}],"_postman_id":"e236f4e3-8769-4828-bb68-d7b186d8209a"}],"id":"5c006e48-110a-4e25-9062-e5cbff286a13","description":"<p>Initiate the package compliance verification process. Screens each product within the package and returns a customs compliance status.</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/package/screen</code></p>\n<p><strong>Result Codes:</strong></p>\n<ul>\n<li><code>1</code> – Accepted</li>\n<li><code>2</code> – Rejected</li>\n<li><code>3</code> – Inconclusive</li>\n<li><code>4</code> – Audit: package requires content audit – call the Content Audit endpoint to continue</li>\n</ul>\n","_postman_id":"5c006e48-110a-4e25-9062-e5cbff286a13","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Package Data Submission","item":[{"name":"Submit Package (TDP)","id":"82c842a5-9f28-46ca-b9ec-e1af704c3025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"PKG-EXT-TDP-001\",\n  \"platformId\": \"AMAZON\",\n  \"sellerId\": \"seller-store-001\",\n  \"exportCountry\": \"CHN\",\n  \"destinationCountry\": \"USA\",\n  \"houseBillNumber\": \"HB000000002\",\n  \"barcode\": \"9400111899223397667319\",\n  \"invoiceNumber\": \"INV-2024-002\",\n  \"containerId\": \"CONT-BARCODE-001\",\n  \"group\": {\n    \"id\": \"GROUP-001\",\n    \"ordinal\": 1\n  },\n  \"carrierId\": \"usps\",\n  \"weight\": {\n    \"value\": 0.8,\n    \"unit\": \"K\"\n  },\n  \"declaredValue\": 35.00,\n  \"charges\": 0.00,\n  \"from\": {\n    \"name\": \"Shenzhen Supplier Co.\",\n    \"line1\": \"123 Factory Road\",\n    \"line2\": \"Building A\",\n    \"city\": \"Shenzhen\",\n    \"state\": \"Guangdong\",\n    \"postalCode\": \"518000\",\n    \"country\": \"CHN\",\n    \"phone\": \"+86-755-1234-5678\",\n    \"email\": \"export@supplier.com\"\n  },\n  \"to\": {\n    \"name\": \"Jane Doe\",\n    \"line1\": \"789 Oak Avenue\",\n    \"line2\": \"Suite 100\",\n    \"city\": \"Chicago\",\n    \"state\": \"IL\",\n    \"postalCode\": \"60601\",\n    \"country\": \"USA\",\n    \"phone\": \"+1-312-555-0200\",\n    \"email\": \"jdoe@email.com\"\n  },\n  \"products\": [\n    {\n      \"quantity\": 2,\n      \"declaredValue\": 35.00,\n      \"declaredName\": \"Ceramic Coffee Mug\",\n      \"originCountry\": \"CHN\",\n      \"mid\": \"MID987654321\",\n      \"url\": \"https://www.example.com/product/67890\",\n      \"sku\": \"SKU-67890\",\n      \"weight\": {\n        \"value\": 0.4,\n        \"unit\": \"K\"\n      },\n      \"tariffStack\": [\n        {\n          \"hts\": \"6912000000\",\n          \"value\": 35.00,\n          \"indicators\": [],\n          \"quantities\": [\n            {\n              \"unit\": \"NO\",\n              \"quantity\": 2\n            }\n          ]\n        }\n      ],\n      \"pga\": [\n        {\n          \"agency\": \"FDA\",\n          \"program\": {\n            \"code\": \"DRU\"\n          }\n        }\n      ],\n      \"declarations\": {\n        \"aluminum\": {\n          \"primarySmeltCountry\": \"CHN\",\n          \"secondarySmeltCountry\": \"CHN\",\n          \"castCountry\": \"CHN\"\n        },\n        \"steel\": {\n          \"meltCountry\": \"CHN\",\n          \"applicabilityCode\": \"N\"\n        }\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/submit","description":"<h1 id=\"submit-package-traditional-brokerage-process\">Submit Package (Traditional Brokerage Process)</h1>\n<p>Submits package data for customs manifesting/filing.</p>\n<p>⚠️ <strong>Do NOT call this endpoint if the package was already screened via <code>/v1/package/screen</code>.</strong></p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<p>Same top-level fields as Package Screening: <code>externalId</code>, <code>platformId</code>, <code>sellerId</code>, <code>exportCountry</code>, <code>destinationCountry</code>, <code>houseBillNumber</code>, <code>barcode</code>, <code>weight</code>, <code>from</code>, <code>to</code>, <code>products[]</code>.</p>\n<h2 id=\"products-required-fields\">products[] Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>quantity</code></td>\n<td>number</td>\n<td>–</td>\n<td>Number of distinct SKUs on this line</td>\n</tr>\n<tr>\n<td><code>declaredValue</code></td>\n<td>number</td>\n<td>–</td>\n<td>Line item total value for customs declaration (USD)</td>\n</tr>\n<tr>\n<td><code>declaredName</code></td>\n<td>string</td>\n<td>300</td>\n<td>Item name for customs declaration</td>\n</tr>\n<tr>\n<td><code>originCountry</code></td>\n<td>string</td>\n<td>–</td>\n<td>ISO-3 origin country code</td>\n</tr>\n<tr>\n<td><code>weight.value</code></td>\n<td>number</td>\n<td>–</td>\n<td>Item gross weight value</td>\n</tr>\n<tr>\n<td><code>weight.unit</code></td>\n<td>string</td>\n<td>–</td>\n<td><code>K</code> kilograms, <code>L</code> pounds</td>\n</tr>\n<tr>\n<td><code>tariffStack[]</code></td>\n<td>object array</td>\n<td>–</td>\n<td>Tariff declaration entries (<code>hts</code>, <code>value</code>, <code>quantities[]</code> required)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"products-conditional-fields\">products[] Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>mid</code></td>\n<td>string</td>\n<td>20</td>\n<td>Manufacturer identifier – required if entry filing is intended</td>\n</tr>\n<tr>\n<td><code>pga[]</code></td>\n<td>object array</td>\n<td>–</td>\n<td>PGA filing data sets (<code>agency</code>, <code>program.code</code> required per entry)</td>\n</tr>\n<tr>\n<td><code>declarations.aluminum</code></td>\n<td>object</td>\n<td>–</td>\n<td><code>primarySmeltCountry</code> (conditional), <code>secondarySmeltCountry</code>, <code>castCountry</code></td>\n</tr>\n<tr>\n<td><code>declarations.steel</code></td>\n<td>object</td>\n<td>–</td>\n<td><code>meltCountry</code> (conditional), <code>applicabilityCode</code> (conditional)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"products-optional-fields\">products[] Optional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>1000</td>\n<td>Product listing URL – multiple lines may share the same URL</td>\n</tr>\n<tr>\n<td><code>sku</code></td>\n<td>string</td>\n<td>50</td>\n<td>Product SKU – multiple lines may share the same SKU</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"tariffstack-conditional-fields\">tariffStack[] Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>indicators[]</code></td>\n<td>object array</td>\n<td>Special program indicators (<code>type</code>, optional <code>value</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage package identifier</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Client's external package identifier</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","package","submit"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"162380ea-3499-4faa-a3be-5fad490841ec","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/submit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001238\",\n  \"externalId\": \"PKG-EXT-TDP-001\"\n}"}],"_postman_id":"82c842a5-9f28-46ca-b9ec-e1af704c3025"}],"id":"9e03f777-74d6-4ea3-b6da-b6df03c1eb99","description":"<p>Submit package data to SafePackage for customs manifesting and/or filing as part of the Traditional Brokerage Process (TDP).</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/package/submit</code></p>\n<p>⚠️ <strong>Do NOT call this endpoint if the package has already been screened via <code>/v1/package/screen</code>.</strong></p>\n<p>Unlike package screening, products use a flat line-item structure with no nested <code>product</code> object. No compliance screening is performed — data is submitted directly for customs filing.</p>\n","_postman_id":"9e03f777-74d6-4ea3-b6da-b6df03c1eb99","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Duty Collection","item":[{"name":"Pay Duties","id":"dd213d5f-3edc-4070-b57f-c5f7de12b814","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001234\",\n  \"barcode\": \"9400111899223397667318\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/duty/pay","description":"<h1 id=\"pay-duties\">Pay Duties</h1>\n<p>Approves payment of all applicable duties and customs fees for a package and returns proof of payment.</p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>SafePackage package identifier returned by the screening or submission endpoint</td>\n</tr>\n<tr>\n<td><code>barcode</code></td>\n<td>string</td>\n<td>Package tracking barcode printed on the shipping label</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage package identifier</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Client's external package identifier</td>\n</tr>\n<tr>\n<td><code>ddpn</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Destination Duty Paid Number – proof of payment for use with carriers</td>\n</tr>\n<tr>\n<td><code>totalDuty</code></td>\n<td>number</td>\n<td>Conditional</td>\n<td>Total duty and customs fees collected (USD) – present only when duty was collected</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","duty","pay"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"5368933f-ab9b-456a-900c-5cdc4647c034","name":"Success – Duty Collected","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001234\",\n  \"barcode\": \"9400111899223397667318\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/duty/pay"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001234\",\n  \"externalId\": \"PKG-EXT-001\",\n  \"ddpn\": \"DDP-2024-000123456\",\n  \"totalDuty\": 4.99\n}"},{"id":"4b20d024-e444-45b0-b091-0c46a5e18e74","name":"Success – No Duty Owed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001234\",\n  \"barcode\": \"9400111899223397667318\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/duty/pay"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001239\",\n  \"externalId\": \"PKG-EXT-005\"\n}"}],"_postman_id":"dd213d5f-3edc-4070-b57f-c5f7de12b814"}],"id":"a8a1aeb8-6345-45ef-9e79-3bac5b2866ea","description":"<p>Approve payment of all applicable duties and customs fees for a package and obtain proof of payment.</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/duty/pay</code></p>\n","_postman_id":"a8a1aeb8-6345-45ef-9e79-3bac5b2866ea","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Shipment Registration","item":[{"name":"Register Shipment","id":"652a9ace-b2a5-454e-827c-43b3a44ca370","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"SHIP-EXT-001\",\n  \"masterBill\": {\n    \"prefix\": \"AWBL\",\n    \"serialNumber\": \"12345678901\"\n  },\n  \"originatorCode\": \"ORIG001\",\n  \"invoiceNumber\": \"SHIP-INV-001\",\n  \"entryType\": \"86\",\n  \"importer\": {\n    \"name\": \"US Import Corp\",\n    \"line1\": \"100 Import Plaza\",\n    \"line2\": \"Suite 500\",\n    \"city\": \"Los Angeles\",\n    \"state\": \"CA\",\n    \"postalCode\": \"90001\",\n    \"country\": \"USA\",\n    \"phone\": \"+1-310-555-0300\",\n    \"email\": \"import@uscorp.com\",\n    \"identifiers\": [\n      {\n        \"type\": \"IMPORTER_NUMBER\",\n        \"value\": \"123456789\"\n      },\n      {\n        \"type\": \"DUNS\",\n        \"value\": \"987654321\"\n      }\n    ]\n  },\n  \"shipper\": {\n    \"name\": \"Shenzhen Export Co. Ltd.\",\n    \"line1\": \"999 Export Boulevard\",\n    \"city\": \"Shenzhen\",\n    \"state\": \"Guangdong\",\n    \"postalCode\": \"518100\",\n    \"country\": \"CHN\",\n    \"identifiers\": [\n      {\n        \"type\": \"DUNS\",\n        \"value\": \"123456789\"\n      }\n    ]\n  },\n  \"consignee\": {\n    \"name\": \"US Receiving Warehouse\",\n    \"line1\": \"200 Logistics Drive\",\n    \"city\": \"Los Angeles\",\n    \"state\": \"CA\",\n    \"postalCode\": \"90002\",\n    \"country\": \"USA\"\n  },\n  \"transportation\": {\n    \"mode\": \"AIR\",\n    \"portOfEntry\": \"LAX\",\n    \"portOfArrival\": \"LAX\",\n    \"portOfOrigin\": \"PVG\",\n    \"carrierName\": \"China Eastern Airlines\",\n    \"carrierCode\": \"MU\",\n    \"lineNumber\": \"MU583\",\n    \"firmsCode\": \"A123\",\n    \"shippingDate\": \"2024-01-14\",\n    \"scheduledArrivalDate\": \"2024-01-15\",\n    \"terminalOperator\": \"LAXTERM01\"\n  },\n  \"containers\": [\n    {\n      \"id\": \"CONT-BARCODE-001\",\n      \"weight\": {\n        \"value\": 50.0,\n        \"unit\": \"K\"\n      }\n    }\n  ],\n  \"packageIds\": [\n    \"SP-PKG-00001234\",\n    \"SP-PKG-00001235\",\n    \"SP-PKG-00001238\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/shipment/register","description":"<h1 id=\"register-shipment\">Register Shipment</h1>\n<p>Provides shipment (consolidation) information prior to or at the time of manifest/entry filing.</p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>–</td>\n<td>Shipment identifier in the client's system</td>\n</tr>\n<tr>\n<td><code>masterBill.prefix</code></td>\n<td>string</td>\n<td>4</td>\n<td>Master bill of lading number prefix</td>\n</tr>\n<tr>\n<td><code>masterBill.serialNumber</code></td>\n<td>string</td>\n<td>11</td>\n<td>Master bill serial number</td>\n</tr>\n<tr>\n<td><code>shipper</code></td>\n<td>object</td>\n<td>–</td>\n<td>Consolidation shipper address (<code>name</code>, <code>line1</code>, <code>city</code>, <code>state</code>, <code>postalCode</code>, <code>country</code> required)</td>\n</tr>\n<tr>\n<td><code>consignee</code></td>\n<td>object</td>\n<td>–</td>\n<td>Shipment consignee address (<code>name</code>, <code>line1</code>, <code>city</code>, <code>state</code>, <code>postalCode</code>, <code>country</code> required)</td>\n</tr>\n<tr>\n<td><code>transportation.mode</code></td>\n<td>string</td>\n<td>–</td>\n<td><code>AIR</code> or <code>TRUCK</code></td>\n</tr>\n<tr>\n<td><code>transportation.portOfEntry</code></td>\n<td>string</td>\n<td>–</td>\n<td>3-letter airport code or CBP port code</td>\n</tr>\n<tr>\n<td><code>transportation.carrierName</code></td>\n<td>string</td>\n<td>–</td>\n<td>Transportation carrier name</td>\n</tr>\n<tr>\n<td><code>transportation.carrierCode</code></td>\n<td>string</td>\n<td>6</td>\n<td>IATA carrier code (2 characters)</td>\n</tr>\n<tr>\n<td><code>transportation.lineNumber</code></td>\n<td>string</td>\n<td>14</td>\n<td>Flight or voyage line number</td>\n</tr>\n<tr>\n<td><code>transportation.shippingDate</code></td>\n<td>string</td>\n<td>–</td>\n<td>Date of shipping</td>\n</tr>\n<tr>\n<td><code>transportation.scheduledArrivalDate</code></td>\n<td>string</td>\n<td>–</td>\n<td>Scheduled arrival date</td>\n</tr>\n<tr>\n<td><code>packageIds[]</code></td>\n<td>string array</td>\n<td>–</td>\n<td>SafePackage package identifiers consolidated in this shipment</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"conditional-fields\">Conditional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>originatorCode</code></td>\n<td>string (10)</td>\n<td>CBP originator/filler code if required by the clearance process</td>\n</tr>\n<tr>\n<td><code>invoiceNumber</code></td>\n<td>string (30)</td>\n<td>Shipment invoice number</td>\n</tr>\n<tr>\n<td><code>entryType</code></td>\n<td>string (2)</td>\n<td>Customs entry type: <code>01</code>, <code>11</code>, <code>86</code>, or <code>P</code> (postal)</td>\n</tr>\n<tr>\n<td><code>importer</code></td>\n<td>object</td>\n<td>Importer address if different from consignee. Accepted identifier types: <code>DUNS</code>, <code>GLN</code>, <code>LEI</code>, <code>IMPORTER_NUMBER</code></td>\n</tr>\n<tr>\n<td><code>transportation.portOfArrival</code></td>\n<td>string</td>\n<td>Port of first arrival if different from port of entry (AIR)</td>\n</tr>\n<tr>\n<td><code>transportation.portOfOrigin</code></td>\n<td>string</td>\n<td>Foreign airport of departure – required for AIR mode</td>\n</tr>\n<tr>\n<td><code>transportation.portOfLading</code></td>\n<td>string</td>\n<td>Port of lading – required for TRUCK mode</td>\n</tr>\n<tr>\n<td><code>transportation.firmsCode</code></td>\n<td>string (6)</td>\n<td>Warehouse FIRMS code if required by the clearance process</td>\n</tr>\n<tr>\n<td><code>transportation.terminalOperator</code></td>\n<td>string</td>\n<td>Cargo terminal operator code for air shipments</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipper.identifiers[]</code></td>\n<td>object array</td>\n<td>Shipper global identifiers. Accepted types: <code>DUNS</code>, <code>GLN</code>, <code>LEI</code></td>\n</tr>\n<tr>\n<td><code>consignee.identifiers[]</code></td>\n<td>object array</td>\n<td>Consignee identifiers. Accepted types: <code>DUNS</code>, <code>GLN</code>, <code>LEI</code></td>\n</tr>\n<tr>\n<td><code>containers[]</code></td>\n<td>object array</td>\n<td>Container info – each entry requires <code>id</code> and <code>weight</code> (<code>value</code> + <code>unit</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipmentId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Unique SafePackage shipment identifier – used in subsequent endpoints</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","shipment","register"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"62c032aa-14a0-4314-8bc0-e6bfca32f7a8","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/shipment/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}"}],"_postman_id":"652a9ace-b2a5-454e-827c-43b3a44ca370"}],"id":"16310e15-928a-4351-983a-1ab0f536b1a9","description":"<p>Register a shipment (consolidation) — a logical grouping of packages sharing common shipper, consignee, and transportation information — prior to or at the time of manifest/entry filing.</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/shipment/register</code></p>\n","_postman_id":"16310e15-928a-4351-983a-1ab0f536b1a9","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Customs Filing","item":[{"name":"Submit Section 321 Pilot Data","id":"a743eccd-c62a-4059-a710-59532f8221e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/customs/s321/shipment","description":"<h1 id=\"submit-section-321-pilot-data\">Submit Section 321 Pilot Data</h1>\n<p>Submits Section 321 pilot data to customs for all packages in the shipment.</p>\n<h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li>Generally only needs to be called <strong>once per shipment</strong> unless shipment or package data has changed between calls.</li>\n<li>Will <strong>not accept further requests</strong> for the same shipment until the previous operation is complete.</li>\n<li><strong>No response body is returned.</strong></li>\n</ul>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipmentId</code></td>\n<td>string</td>\n<td>SafePackage shipment identifier returned by the Register Shipment endpoint</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","customs","s321","shipment"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"64981458-c558-40eb-a4c1-78bd3c03413f","name":"Success (No Body)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/customs/s321/shipment"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a743eccd-c62a-4059-a710-59532f8221e1"},{"name":"Verify Shipment","id":"342338ce-fb94-4e7c-9d3f-9dbdbd47d8b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/shipment/verify","description":"<h1 id=\"verify-shipment\">Verify Shipment</h1>\n<p>Verifies that the inbound shipment meets all criteria for associated customs clearance benefits.</p>\n<h2 id=\"when-to-call\">When to Call</h2>\n<ul>\n<li>Call <strong>after</strong> Section 321 Pilot Data has been submitted.</li>\n<li>Call <strong>at least one hour before departure</strong> from the origin.</li>\n</ul>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipmentId</code></td>\n<td>string</td>\n<td>SafePackage shipment identifier returned by the Register Shipment endpoint</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>shipmentId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage shipment identifier</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>number</td>\n<td>Required</td>\n<td><code>1</code> Accepted (entire shipment compliant), <code>2</code> Rejected (not compliant)</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Required</td>\n<td><code>Accepted</code> or <code>Rejected</code></td>\n</tr>\n<tr>\n<td><code>reason.code</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Three-letter rejection reason code</td>\n</tr>\n<tr>\n<td><code>reason.description</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Short rejection reason phrase</td>\n</tr>\n<tr>\n<td><code>document.type</code></td>\n<td>string</td>\n<td>Conditional</td>\n<td>Verification document type: <code>PNG</code>, <code>JPEG</code>, or <code>WEBM</code></td>\n</tr>\n<tr>\n<td><code>document.content</code></td>\n<td>base64 string</td>\n<td>Conditional</td>\n<td>Base64-encoded document content – returned only when <code>code</code> is <code>1</code>. Must be printed and presented to CBP personnel on request</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","shipment","verify"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"ee6a99d1-c275-457e-90c8-04a8520322a9","name":"Accepted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/shipment/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"shipmentId\": \"SP-SHIP-00000123\",\n  \"code\": 1,\n  \"status\": \"Accepted\",\n  \"document\": {\n    \"type\": \"PNG\",\n    \"content\": \"<base64_encoded_verification_document>\"\n  }\n}"},{"id":"a2f0c368-4bb1-49be-ac18-c796406993e7","name":"Rejected","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"shipmentId\": \"SP-SHIP-00000123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/shipment/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"shipmentId\": \"SP-SHIP-00000124\",\n  \"code\": 2,\n  \"status\": \"Rejected\",\n  \"reason\": {\n    \"code\": \"RCT\",\n    \"description\": \"Customs regulations violation\"\n  }\n}"}],"_postman_id":"342338ce-fb94-4e7c-9d3f-9dbdbd47d8b0"}],"id":"88c1b7ce-7000-4547-9194-2910cbf9db6f","description":"<p>Submit Section 321 pilot data and verify shipment compliance.</p>\n<p><strong>Typical sequence:</strong></p>\n<ol>\n<li>Call <code>POST /v1/customs/s321/shipment</code> to submit pilot data</li>\n<li>Wait at least one hour before departure</li>\n<li>Call <code>POST /v1/shipment/verify</code> to verify compliance and obtain the CBP document</li>\n</ol>\n","_postman_id":"88c1b7ce-7000-4547-9194-2910cbf9db6f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Content Audit","item":[{"name":"Submit Content Audit","id":"54d440c5-075c-42aa-8141-318f0508bac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001237\",\n  \"externalId\": \"PKG-EXT-004\",\n  \"images\": [\n    \"<base64_encoded_image_1_product_1>\",\n    \"<base64_encoded_image_2_product_1>\"\n  ],\n  \"remark\": \"Package opened and contents inspected. All items match declaration.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/audit","description":"<h1 id=\"submit-content-audit\">Submit Content Audit</h1>\n<p>Submits images taken during a physical content audit. Required when package screening returns code <code>4</code> (Audit).</p>\n<h2 id=\"required-fields\">Required Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>Client's external package identifier</td>\n</tr>\n<tr>\n<td><code>images[]</code></td>\n<td>base64 string array</td>\n<td>At least <strong>two JPEG images per individual product</strong>, minimum 1024×768px. Images must: (1) clearly show package contents in good lighting, and (2) have a visible brand name, logo, and/or product declaration</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"optional-fields\">Optional Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Max Length</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>–</td>\n<td>SafePackage package identifier (recommended when available)</td>\n</tr>\n<tr>\n<td><code>remark</code></td>\n<td>string</td>\n<td>100</td>\n<td>Brief description of additional content audit findings</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>packageId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>SafePackage package identifier</td>\n</tr>\n<tr>\n<td><code>externalId</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Client's external package identifier</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>number</td>\n<td>Required</td>\n<td><code>1</code> Passed, <code>2</code> Failed, <code>3</code> Pending</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Required</td>\n<td><code>Passed</code>, <code>Failed</code>, or <code>Pending</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","package","audit"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"7c8ceaf1-dc30-4bf6-95b9-f61bc97e332d","name":"Passed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001237\",\n  \"externalId\": \"PKG-EXT-004\",\n  \"images\": [\"<base64_encoded_image_1>\", \"<base64_encoded_image_2>\"],\n  \"remark\": \"All items match declaration.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/audit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001237\",\n  \"externalId\": \"PKG-EXT-004\",\n  \"code\": 1,\n  \"status\": \"Passed\"\n}"},{"id":"023da6a9-855c-48fe-bbbd-9c0ce020ac85","name":"Failed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001240\",\n  \"externalId\": \"PKG-EXT-007\",\n  \"images\": [\"<base64_encoded_image_1>\", \"<base64_encoded_image_2>\"],\n  \"remark\": \"Contents do not match declaration.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/audit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001240\",\n  \"externalId\": \"PKG-EXT-007\",\n  \"code\": 2,\n  \"status\": \"Failed\"\n}"},{"id":"8c86739b-ca4c-42c1-8965-28a9e52b5f7d","name":"Pending","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"body":{"mode":"raw","raw":"{\n  \"packageId\": \"SP-PKG-00001241\",\n  \"externalId\": \"PKG-EXT-008\",\n  \"images\": [\"<base64_encoded_image_1>\", \"<base64_encoded_image_2>\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.safepackage.com/v1/package/audit"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"packageId\": \"SP-PKG-00001241\",\n  \"externalId\": \"PKG-EXT-008\",\n  \"code\": 3,\n  \"status\": \"Pending\"\n}"}],"_postman_id":"54d440c5-075c-42aa-8141-318f0508bac5"}],"id":"f62dfd74-4457-49cc-ba08-824305d81689","description":"<p>Submit additional package information via images taken during a physical content audit.</p>\n<p><strong>Endpoint:</strong> <code>POST /v1/package/audit</code></p>\n<p>This endpoint is required when a Package Screening response returns result code <code>4</code> (Audit).</p>\n<p><strong>Result Codes:</strong></p>\n<ul>\n<li><code>1</code> – Passed: audit successful, package accepted</li>\n<li><code>2</code> – Failed: package failed audit, must be returned</li>\n<li><code>3</code> – Pending: audit incomplete, hold package until resolved</li>\n</ul>\n","_postman_id":"f62dfd74-4457-49cc-ba08-824305d81689","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}},{"name":"Platform","item":[{"name":"Get Platforms","id":"9b5b4e27-6cf2-4a5f-a4ec-4e36c4245cf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"url":"https://api.safepackage.com/v1/platform","description":"<h1 id=\"get-platforms\">Get Platforms</h1>\n<p>Retrieves a list of all e-commerce platforms registered in the API.</p>\n<p>Use the returned <code>id</code> values as the <code>platformId</code> field in all screening and submission endpoints.</p>\n<h2 id=\"response-fields\">Response Fields</h2>\n<p>Returns an <strong>array</strong> of platform objects.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Presence</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Platform identifier – use as <code>platformId</code> in requests</td>\n</tr>\n<tr>\n<td><code>url</code></td>\n<td>string</td>\n<td>Required</td>\n<td>Platform homepage URL</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}},"urlObject":{"path":["v1","platform"],"host":["https://api.safepackage.com"],"query":[],"variable":[]}},"response":[{"id":"2393f0bb-a8f5-4109-b741-1b8d64ffa6fd","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Encoding","value":"gzip, deflate"},{"key":"Authorization","value":"ApiKey YOUR_ACCESS_KEY"}],"url":"https://api.safepackage.com/v1/platform"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"AMAZON\",\n    \"url\": \"https://www.amazon.com\"\n  },\n  {\n    \"id\": \"EBAY\",\n    \"url\": \"https://www.ebay.com\"\n  },\n  {\n    \"id\": \"ALIEXPRESS\",\n    \"url\": \"https://www.aliexpress.com\"\n  },\n  {\n    \"id\": \"SHEIN\",\n    \"url\": \"https://www.shein.com\"\n  },\n  {\n    \"id\": \"TEMU\",\n    \"url\": \"https://www.temu.com\"\n  }\n]"}],"_postman_id":"9b5b4e27-6cf2-4a5f-a4ec-4e36c4245cf7"}],"id":"f1d911a8-5a9c-4735-90eb-8fb032ce46c1","description":"<p>Retrieve all e-commerce platforms registered in the API.</p>\n<p><strong>Endpoint:</strong> <code>GET /v1/platform</code></p>\n<p>Use the returned <code>id</code> values as the <code>platformId</code> field in all screening and submission endpoints.</p>\n","_postman_id":"f1d911a8-5a9c-4735-90eb-8fb032ce46c1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","id":"ff3b65ad-034d-4f2c-94b9-aa17a115ea3f","name":"SafePackage","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"variable":[{"key":"base_url","value":"https://api.safepackage.com","description":"Base URL - switch to https://sandbox.safepackage.com for development"},{"key":"api_key","value":"YOUR_ACCESS_KEY","description":"Your SafePackage API key"}]}