Get Shippo customs declaration by ID
Use a
GET operation and the following URL to send this
request:{api_url}/shippo/customs/{customsDeclarationId}where:{api_url}is the API's URL{customsDeclarationId}is the ID from theobject_idfield in the Shippo customs declaration.
For
example:
https://api.epalglobal.co/generate-labels/shippo/customs/{customsDeclarationId}Details
| Detail | Value |
|---|---|
| Operation | GET |
| Endpoint | /shippo/customs/{customsDeclarationId} |
| Fields | Query parameter and response parameters. |
Query Parameter
| Query Parameter | Details | Description |
|---|---|---|
customsDeclarationId |
|
You must specify the ID from the object_id
field in the Shippo customs declaration. For example
d4fe6327d02e4ddf98b92b4ecf2ab6ed. |
Response Parameters
| Response Parameter | Details | Description |
|---|---|---|
certify |
|
Indicates whther the document is certified or not. |
certify_signer |
|
The party who signed the certificate. |
contents_explanation |
|
Text to explain the contents. |
contents_type |
|
The type of content. |
eel_pfc |
|
Exclusion Legend (EEL) and Proof of Filing Citation (PFC) are used for shipping outside the US. |
exporter_identification |
|
Groups information about the exporter. |
exporter_identification.eori_number |
|
The EORI number. |
exporter_identification.tax_id |
|
Groups information about the Tax ID. |
exporter_identification.tax_id.number |
|
The Tax ID. |
exporter_identification.tax_id.type |
|
The type of Tax ID, such as VAT for a VAT ID. |
exporter_reference |
|
The reference to the exporter. |
importer_reference |
|
The reference to the importer. |
incoterm |
|
The Incoterm for the shipment. |
invoice |
|
The invoice. |
is_vat_collected |
|
Indicates whether VAT has been collected or not. |
items |
|
Array of object IDs for customs items. |
non_delivery_options |
|
Details about options for things other than delivery. |
object_id |
|
The IDs for the objects. |
object_state |
|
The object's state. |
Response Example
The following is an example response for a successful
request:
{
"object_id": "string",
"object_state": "string",
"contents_type": "string",
"contents_explanation": "string",
"non_delivery_option": "string",
"incoterm": "string",
"eel_pfc": "string",
"certify": true,
"certify_signer": "string",
"items": [
"string"
],
"exporter_identification": {
"eori_number": "string",
"tax_id": {
"type": "string",
"number": "string"
}
},
"is_vat_collected": true,
"invoice": "string",
"exporter_reference": "string",
"importer_reference": "string"
}