# 04. Storage
# 1 Storage Info
# 1.1 Get Storage Info (GET)
# URL
https://developers.cjdropshipping.com/api2.0/v1/warehouse/detail
# CURL
curl --location 'https://developers.cjdropshipping.com/api2.0/v1/warehouse/detail?id=201e67f6ba4644c0a36d63bf4989dd70' \
--header 'CJ-Access-Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
| Parameter | Definition | Type | Required | Length | Note |
|---|---|---|---|---|---|
| id | Storage ID | string | Y | 200 |
# Return
success
{
"code": 200,
"result": true,
"message": "Success",
"data": {
"id": "201e67f6ba4644c0a36d63bf4989dd70",
"name": "Cranbury Warehouse",
"areaId": 2,
"areaCountryCode": "US",
"address1": "Cranbury, New Jersey ",
"address2": null,
"contacts": null,
"phone": "+1-9095862127",
"city": "Cranbury",
"province": "New Jersey",
"logisticsBrandList": [
{
"id": "USPS",
"name": "USPS"
},
{
"id": "FedEx",
"name": "FedEx"
},
{
"id": "UPS",
"name": "UPS"
},
{
"id": "GOFO",
"name": "GOFO"
},
{
"id": "DHL",
"name": "DHL"
},
{
"id": "UniUni",
"name": "UniUni"
},
{
"id": "CBT",
"name": "CBT"
}
],
"isSelfPickup": null,
"zipCode": null
},
"requestId": "2b97f15603384fe4832e85617cf07d9c",
"success": true
}
| Field | Definition | Type | Length | Note |
|---|---|---|---|---|
| id | Storage Id | string | 200 | |
| name | name | string | 200 | |
| areaId | area id | integer | 200 | |
| areaCountryCode | country code | string | 200 | |
| province | province | string | 200 | |
| city | city | string | 200 | |
| address1 | address1 | string | 200 | |
| address2 | address2 | string | 200 | |
| contacts | contacts | string | 200 | |
| phone | phone number | string | 200 | |
| isSelfPickup | Is support self pickup | integer | 1 | 1: support 0: not supported |
| zipCode | zip Code | string | 200 | |
| logisticsBrandList | Supported logistics brands | list | 200 | |
| - id | Logistics brand ID | string | 200 | |
| - name | Logistics brand Name | string | 200 |
error
{
"code": 1608001,
"result": false,
"message": "Warehouse info not found",
"data": null,
"requestId": "c5d92fbc9c794c5caa0ce453dd9c9236",
"success": false
}
| Field | Definition | Type | Length | Note |
|---|---|---|---|---|
| code | error code | int | 20 | Reference error code |
| result | Whether or not the return is normal | boolean | 1 | |
| message | return message | string | 200 | |
| data | return data | object | interface data return | |
| requestId | requestId | string | 48 | Flag request for logging errors |
← 3 Product 5 Shopping →