Introduction
Welcome to our API documentation!
Authenticating requests
This API is not authenticated.
Products
Display a listing of the products.
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/product';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/product"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/product" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"product": {
"id": 85,
"name": "Monica Panek",
"title": "Monica Panek",
"upc": "Monica Panek",
"sku": "Monica Panek2",
"productPacketType": 0
}
},
..............................
]
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified product resource.
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/product/ut';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/product/ut"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/product/ut" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"product": {
"id": 85,
"name": "Monica Panek",
"title": "Monica Panek",
"upc": "Monica Panek",
"sku": "Monica Panek2",
"productPacketType": 0
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created product.
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/product';
$response = $client->put(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'name' => 'repellat',
'title' => 'laudantium',
'upc' => 'velit',
'sku' => 'libero',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/product"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"name": "repellat",
"title": "laudantium",
"upc": "velit",
"sku": "libero"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request PUT \
"https://system.skladusa.com/api/product" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"name\": \"repellat\",
\"title\": \"laudantium\",
\"upc\": \"velit\",
\"sku\": \"libero\"
}"
Example response (200):
{
"data": {
"id": 87
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified product resource in storage.
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/product/facere';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'name' => 'facere',
'title' => 'est',
'upc' => 'recusandae',
'sku' => 'repellendus',
'productPacketType' => true,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/product/facere"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"name": "facere",
"title": "est",
"upc": "recusandae",
"sku": "repellendus",
"productPacketType": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/product/facere" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"name\": \"facere\",
\"title\": \"est\",
\"upc\": \"recusandae\",
\"sku\": \"repellendus\",
\"productPacketType\": true
}"
Example response (200):
{
"data": [
"Somehow valid"
],
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Proform Data
Display a listing of the proform data.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/proforma-data/category';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/proforma-data/category"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/proforma-data/category" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"id": 1,
"nameEn": "Mechanical parts and tools",
"nameUa": "Механічні деталі та інструменти",
"nameRu": "Механические части и инструменты",
"names": [
{
"id": 328,
"nameUa": "ІГРАШКА",
"nameEn": "TOY",
"nameRu": "ИГРУШКА"
},
............
],
"materials": [
{
"id": 329,
"nameUa": "ФЕТР",
"nameEn": "FELT",
"nameRu": "фетр"
},
.........
],
"for": [
{
"id": 4,
"nameUa": "ЖІНОЧА",
"nameEn": "WOMENS",
"nameRu": "Женская"
},
.................
],
"subMaterials": [
{
"id": 3,
"nameUa": "ТКАНИЙ ",
"nameEn": "WOVEN",
"nameRu": "ТКАНИЙ "
},
............
]
},
......
],
"pagination": {
"last": 1,
"current": 0,
"numItemsPerPage": 10,
"first": 1,
"pageCount": 1,
"totalCount": 7,
"pageRange": 1,
"startPage": 1,
"endPage": 1,
"previous": 0,
"next": 1,
"pagesInRange": [
1
],
"firstPageInRange": 1,
"lastPageInRange": 1,
"currentItemCount": 10,
"firstItemNumber": 11,
"lastItemNumber": 1
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified proform data resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/proforma-data/category/eum';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/proforma-data/category/eum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/proforma-data/category/eum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"id": 4,
"nameEn": "Toys & Entertainment",
"nameUa": "Іграшки та розваги",
"nameRu": "Игрушки и развлечения",
"names": [
{
"id": 328,
"nameUa": "ІГРАШКА",
"nameEn": "TOY",
"nameRu": "ИГРУШКА"
},
...........
],
"materials": [
{
"id": 329,
"nameUa": "ФЕТР",
"nameEn": "FELT",
"nameRu": "фетр"
},
.............
],
"for": [
{
"id": 4,
"nameUa": "ЖІНОЧА",
"nameEn": "WOMENS",
"nameRu": "Женская"
},
],
"subMaterials": [
{
"id": 330,
"nameUa": "ТКАНИЙ ",
"nameEn": "WOVEN",
"nameRu": "ТКАНЫЙ"
},
..........
]
}
]
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Search Hs Code by proform options (name_id, material_id)
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/proforma-data/hs-code';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'nameId' => 12,
'materialId' => 2,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/proforma-data/hs-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"nameId": 12,
"materialId": 2
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/proforma-data/hs-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"nameId\": 12,
\"materialId\": 2
}"
Example response (200):
{
"data": {
"hsCode": "oo1430NSOVmFUieS"
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Key Crm
Prepare order data for Key Crm.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/key-crm/create-order';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/key-crm/create-order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/key-crm/create-order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"request": {
"receiverName": "John Smith",
"receiverEmail": "[email protected]",
"receiverPhone": "+380 971112233",
"receiverAddress": "вулиця Перемоги",
"receiverCity": "Житомир",
"receiverZip": "10000",
"receiverState": "Житомирська область",
"receiverCountry": null,
"weightLb": null,
"weightOz": null,
"length": null,
"width": null,
"height": null,
"comment": null,
"insurancesStatus": null,
"insurances": null,
"externalId": null,
"apiShipMethod": null,
"packagingId": null,
"consolidationOrder": true,
"skladCreateLabel": false,
"userPackType": null,
"productsData": null,
"productsConsolidationData": [
{
"descrEn": "test listing",
"count": 1
}
],
"transactionId": 24234
},
"order": {
"id": 584,
"receiverName": "John Smith",
"createdAtStr": "2022-05-24 15:30:17",
"receiverEmail": "[email protected]",
"receiverAddress": "1630 91ST AVE NE STE 180",
"receiverCity": "Blaine",
"receiverZip": "55449",
"receiverState": "MN",
"receiverCountry": "United States",
"receiverPhone": "101010",
"comment": null,
"weightLb": 0,
"weightOz": 2,
"length": null,
"width": 2,
"height": null,
"consolidationOrder": false,
"skladCreateLabel": false,
"shipDate": {
"date": "2022-05-24 13:38:40.000000",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": "3.37",
"insurancesStatus": true,
"insurances": "0.2",
"externalId": null,
"apiShipMethod": "1_1",
"packagingId": 18,
"userPackType": "pack1",
"status": null,
"vatTaxId": 641,
"transactionId": 24234,
"productsData": [
{
"productData": {
"count": 1,
"product": 1548
}
}
],
"productsConsolidationData": []
},
"transactionInfo": {
"gross": 2,
"ppFee": 0.38,
"skladUsaFee": 0.03,
"sum": 1.59
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Rate List for Key Crm
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/key-crm/rate/list';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'senderCountryCode' => 'autem',
'length' => 'corporis',
'height' => 'corrupti',
'width' => 'error',
'weight' => 'qui',
'countryCode' => 'quasi',
'stateCode' => 'exercitationem',
'zipCode' => 'omnis',
'city' => 'nulla',
'clientPayPal' => 'amet',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/key-crm/rate/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"senderCountryCode": "autem",
"length": "corporis",
"height": "corrupti",
"width": "error",
"weight": "qui",
"countryCode": "quasi",
"stateCode": "exercitationem",
"zipCode": "omnis",
"city": "nulla",
"clientPayPal": "amet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/key-crm/rate/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"senderCountryCode\": \"autem\",
\"length\": \"corporis\",
\"height\": \"corrupti\",
\"width\": \"error\",
\"weight\": \"qui\",
\"countryCode\": \"quasi\",
\"stateCode\": \"exercitationem\",
\"zipCode\": \"omnis\",
\"city\": \"nulla\",
\"clientPayPal\": \"amet\"
}"
Example response (200):
{
"status": "success",
"data": {
"case": {
"fromCountry": "Ukraine",
"fromCountryCode": "UA",
"toCountry": "Germany",
"toCountryCode": "DE",
"stateCode": null,
"zipCode": "10179",
"city": "Berlin",
"weight": "1",
"length": "1",
"width": "1",
"height": "1",
"clientPayPal": true
},
"shippingPrices": [
{
"type": "consolidation",
"consolidation_type": "consolidation",
"system_key": "DHLExpress",
"currency": "USD",
"description": "DHLExpress, ExpressWorldwideNonDoc Parcel",
"costs": {
"price": "37.16",
"fee": 2
},
"apiShipMethod": "ExpressWorldwideNonDoc"
},
{
"type": "consolidation",
"consolidation_type": "consolidation",
"system_key": "APC",
"currency": "USD",
"description": "Parcel Priority Delcon",
"costs": {
"price": "26.39",
"fee": 2
},
"apiShipMethod": "parcelConnectPriorityDDUDelcon"
},
{
"type": "consolidation",
"consolidation_type": "consolidation",
"system_key": "DPD",
"currency": "USD",
"description": "DPD",
"costs": {
"price": "22.40",
"fee": 2
},
"apiShipMethod": "9_7"
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Transactions
Display a listing of the user transactions.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/transactions';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/transactions"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/transactions" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"transaction": {
"id": 125050,
"orderId": null,
"shopName": "UkiTreasures",
"createdAt": "2021-05-04 15:21:22",
"number": "7022037960438191Y",
"payedUserName": "Meredith Zoul",
"payedUserEmail": "[email protected]",
"addressPart": "365 S Roys Ave",
"totalSum": "85.99",
"tax": "6.00",
"interimSum": "77.71",
"commission": "2.28",
"deductionForUserBonus": 0,
"deductionForSystem": "2.33",
"sum": "75.38",
"noteText": null,
"country": "United States",
"userPhone": "330-671-7480",
"userState": "OH",
"zip": "43204",
"city": "Columbus",
"paymentStatus": "Completed",
"description": "Item #644068700 - SIMPSONS PORTRAIT on the couch, simpsons family portrait, Simpson couple portrait, cartoon portrait, simpsons couch, turn photo $79.99 (1 pc)"
}
}
],
"pagination": {
"last": 329,
"current": 2,
"numItemsPerPage": "1",
"first": 1,
"pageCount": 329,
"totalCount": 329,
"pageRange": 329,
"startPage": 1,
"endPage": 329,
"previous": 1,
"next": 3,
"pagesInRange": [
1,
2,
3,
4,
],
"firstPageInRange": 1,
"lastPageInRange": 329,
"currentItemCount": "1",
"firstItemNumber": 2,
"lastItemNumber": 2
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified transaction.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/transactions/4';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/transactions/4"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/transactions/4" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"transaction": {
"id": 125050,
"orderId": null,
"shopName": "UkiTreasures",
"createdAt": "2021-05-04 15:21:22",
"number": "7004437960438191Y",
"payedUserName": "Meredith Zoul",
"payedUserEmail": "[email protected]",
"addressPart": "365 S Roys Ave",
"totalSum": "85.99",
"tax": "6.00",
"interimSum": "77.71",
"commission": "2.28",
"deductionForUserBonus": 0,
"deductionForSystem": "2.33",
"sum": "75.38",
"itemNumber": {},
"noteText": null,
"country": "United States",
"userPhone": "330-671-7480",
"userState": "OH",
"zip": "43204",
"city": "Columbus",
"paymentStatus": "Completed",
"description": "Item #644068700 - SIMPSONS PORTRAIT on the couch, simpsons family portrait, Simpson couple portrait, cartoon portrait, simpsons couch, turn photo $79.99 (1 pc)"
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Send tracking number to payment system
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/transactions/neque/update-tracking-number';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'tracking-number' => 'nisi',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/transactions/neque/update-tracking-number"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"tracking-number": "nisi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/transactions/neque/update-tracking-number" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"tracking-number\": \"nisi\"
}"
Example response (200):
{
"status": "ok",
"message": "tracking-number send to transaction",
"pay-system-status": "success",
"pay-system-message": "send to pay system"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Prepare form for creating order from payment transaction
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/transactions/autem/create-order';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/transactions/autem/create-order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/transactions/autem/create-order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"request": {
"receiverName": "Meredith Zoul",
"receiverEmail": "[email protected]",
"receiverPhone": "330-671-7480",
"receiverAddress": "365 S Roys Ave",
"receiverCity": "Columbus",
"receiverZip": "43204",
"receiverState": "OH",
"receiverCountry": "United States",
"weightLb": null,
"weightOz": null,
"length": null,
"width": null,
"height": null,
"comment": null,
"insurancesStatus": null,
"insurances": null,
"externalId": null,
"apiShipMethod": null,
"packagingId": null,
"consolidationOrder": true,
"skladCreateLabel": true,
"userPackType": null,
"transactionId": 125050,
"productsData": null,
"productsConsolidationData": null
},
"order": null
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Orders FBM
Display a listing of the order fbm data.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
"order": {
"id": 143,
"receiverName": "receiverName",
"recipientCompanyName": "recipientCompanyName",
"createdAtStr": "2022-05-05 13:58:38",
"receiverEmail": "[email protected]",
"receiverAddress": "receiver Address line 1",
"receiverAddress1": "receiver Address line 2"
"receiverCity": "receiverCity",
"receiverZip": "receiverZip",
"receiverState": "receiverState",
"receiverCountry": "Ukraine",
"receiverPhone": "0989701676",
"comment": null,
"weightLb": 11,
"weightOz": 4,
"length": 20,
"width": 180,
"height": 20,
"consolidationOrder": false,
"skladCreateLabel": true,
"shipDate": {
"date": "2022-05-06 12:23:30.698958",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": null,
"insurancesStatus": false,
"insurances": null,
"externalId": "1988820690",
"apiShipMethod": "1_1",
"packagingId": null,
"userPackType": "pack1",
"status": null,
"vatTaxId": 81,
"transactionId": null,
"productsData": [],
"storageId": 1,
"productsConsolidationData": {
"content": [
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 328,
"nameEn": "TOY",
"nameUa": "ІГРАШКА",
"nameRu": "ИГРУШКА",
"materialId": 329,
"materialEn": "FELT",
"materialUa": "ФЕТР",
"materialRu": "фетр",
"subMaterialId": 330,
"subMaterialEn": "WOVEN",
"subMaterialUa": "ТКАНИЙ ",
"subMaterialRu": "ТКАНЫЙ",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 1
},
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 331,
"nameEn": "KNITTED WOVEN TOY",
"nameUa": "ІГРАШКА В'ЯЗАНА ",
"nameRu": "ИГРУШКА вязанная",
"materialId": 332,
"materialEn": "COTTON",
"materialUa": "БАВОВНА",
"materialRu": "Хлопок",
"subMaterialId": 333,
"subMaterialEn": "EMBROIDERED",
"subMaterialUa": "ВИШИТИЙ",
"subMaterialRu": "вышитый",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 2
}
]
},
"sendFrom": {
"first_name": "test firstnam112222e",
"last_name": "test lastname11",
"company_name": "test companynam11e",
"full_name": "test firstnam112222e test lastname11",
"label": "test firstnam112222e test lastname11 test companynam11e"
},
"sendFromId": "9"
},
}
............
]
}
],
"pagination": {
"last": 2,
"current": 0,
"numItemsPerPage": 10,
"first": 1,
"pageCount": 2,
"totalCount": 19,
"pageRange": 2,
"startPage": 1,
"endPage": 2,
"previous": 0,
"next": 1,
"pagesInRange": [
1,
2
],
"firstPageInRange": 1,
"lastPageInRange": 2,
"currentItemCount": 10,
"firstItemNumber": 11,
"lastItemNumber": 2
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display example of the order fbm body response.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/example';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/example"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order/example" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"receiverName": "Carol Ann Dayton",
"createdAtStr": "2018-10-08 07:30:46",
"receiverEmail": "[email protected]",
"receiverAddress": "Carol Ann Dayton, United States, NC, 28752, Marion, 36 Katydid Drive,",
"receiverAddress1": "receiver Address line 2",
"receiverCity": "Marion",
"receiverZip": "28752",
"receiverState": "Marion",
"receiverCountry": "US",
"receiverPhone": "Marion",
"comment": "",
"weightLb": "",
"weightOz": "",
"length": "",
"width": "",
"height": "",
"consolidationOrder": 1,
"skladCreateLabel": 0,
"productsConsolidationData": [
{
"descrEn": "Product One",
"count": "2"
},
{
"descrEn": "Product Two",
"count": "3"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the shipping methods.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/shipping-method';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/shipping-method"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/shipping-method" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"name": "USPS",
"id": "1_1",
"forUSA": "Yes",
"forNonUSA": "No"
},
{
"name": "USPS International (14-21 days)",
"id": "2_2",
"forUSA": "No",
"forNonUSA": "Yes"
},
{
"name": "FedEx Ground",
"id": "3_3",
"forUSA": "Yes",
"forNonUSA": "No"
},
{
"name": "FedEx Overnight",
"id": "4_3",
"forUSA": "Yes",
"forNonUSA": "No"
},
{
"name": "FedEx 2-Day Air",
"id": "5_3",
"forUSA": "Yes",
"forNonUSA": "No"
},
{
"name": "FedEx Ground Economy",
"id": "6_3",
"forUSA": "Yes",
"forNonUSA": "No"
},
{
"name": "DHL Worldwide",
"id": "7_5",
"forUSA": "No",
"forNonUSA": "Yes"
},
{
"name": "Parcel Priority Delcon(10-15 days)",
"id": "8_6",
"forUSA": "No",
"forNonUSA": "Yes"
},
{
"name": "DPD.cz",
"id": "9_7",
"forUSA": "No",
"forNonUSA": "Yes"
}
]
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the delivery methods for order fbm resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/accusantium/get-delivery-methods';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/accusantium/get-delivery-methods"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order/accusantium/get-delivery-methods" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"data": [
{
"serviceName": "USPS, Priority Mail",
"serviceId": "USPS:Priority:Parcel",
"shippingCosts": "9.01"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the packing types.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/user-pack-type';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/user-pack-type"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/user-pack-type" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": [
{
"id": "pack1",
"name": "Определяет склад"
},
{
"id": "pack2",
"name": "Пакет"
},
{
"id": "pack3",
"name": "Пузырчатый пакет"
},
{
"id": "pack4",
"name": "Коробка"
},
{
"id": "pack5",
"name": "Подарочный пакет"
}
],
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get packing type price list for order.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/packaging-type';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/packaging-type"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/packaging-type" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"id": 7,
"name": "$0 [Don't need extra packaging]"
},
{
"id": 1,
"name": "$0.05 [Small Poly 15x21]"
},
{
"id": 2,
"name": "$0.1 [Medium Poly 24x32]"
},
{
"id": 3,
"name": "$0.2 [Large Poly 30x40 - Medium Bubbles 23x18]"
},
{
"id": 4,
"name": "$0.5 [MD Bubble - XL Poly - Small Box 16x16x11 - 3.5 oz]"
},
{
"id": 6,
"name": "$0.5 [Large Bubbles 40x30 1oz - Medium Box 20x20x10 4 oz]"
},
{
"id": 10,
"name": "$0.75 [Box 25 x 20 x 8 - 3oz]"
},
{
"id": 11,
"name": "$1 [Tubus 79x5 - 6oz/Tubus 79x5 - 6oz/Large Box 23x23x10 - 7oz]"
},
{
"id": 15,
"name": "$1.5 [X-Large Box 38x25x13 - 9oz]"
},
{
"id": 12,
"name": "$2 [Long Box - 70x14x14 11oz]"
},
{
"id": 13,
"name": "$2 [Gift Bag 15x40x30 - $2.00]"
}
]
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified order fbm resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/ea';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/ea"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order/ea" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": [
{
"order": {
"id": 143,
"receiverName": "receiverName",
"recipientCompanyName": "recipientCompanyName",
"createdAtStr": "2022-05-05 13:58:38",
"receiverEmail": "[email protected]",
"receiverAddress": "receiverAddress",
"receiverAddress1": "receiver Address line 2",
"receiverCity": "receiverCity",
"receiverZip": "receiverZip",
"receiverState": "receiverState",
"receiverCountry": "Ukraine",
"receiverPhone": "0989701676",
"comment": null,
"weightLb": 11,
"weightOz": 4,
"length": 20,
"width": 180,
"height": 20,
"consolidationOrder": false,
"skladCreateLabel": true,
"shipDate": {
"date": "2022-05-06 12:23:30.698958",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": null,
"insurancesStatus": false,
"insurances": null,
"externalId": "1988820690",
"apiShipMethod": "1_1",
"packagingId": null,
"userPackType": "pack1",
"status": null,
"vatTaxId": 81,
"transactionId": null,
"storageId": 1,
"productsData": [],
"productsConsolidationData": {
"content": [
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 328,
"nameEn": "TOY",
"nameUa": "ІГРАШКА",
"nameRu": "ИГРУШКА",
"materialId": 329,
"materialEn": "FELT",
"materialUa": "ФЕТР",
"materialRu": "фетр",
"subMaterialId": 330,
"subMaterialEn": "WOVEN",
"subMaterialUa": "ТКАНИЙ ",
"subMaterialRu": "ТКАНЫЙ",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 1
},
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 331,
"nameEn": "KNITTED WOVEN TOY",
"nameUa": "ІГРАШКА В'ЯЗАНА ",
"nameRu": "ИГРУШКА вязанная",
"materialId": 332,
"materialEn": "COTTON",
"materialUa": "БАВОВНА",
"materialRu": "Хлопок",
"subMaterialId": 333,
"subMaterialEn": "EMBROIDERED",
"subMaterialUa": "ВИШИТИЙ",
"subMaterialRu": "вышитый",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 2
}
]
}
}
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get tracking history by order id.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/culpa/track';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/culpa/track"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order/culpa/track" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"message": "Delivered",
"history": [
"Shipping Label Created, USPS Awaiting Item 2021-12-10 14:38:00",
"Accepted at USPS Origin Facility 2021-12-22 20:25:00",
"Arrived at USPS Origin Facility 2021-12-22 21:40:00",
"Departed USPS Origin Facility 2021-12-22 21:52:00",
"Arrived at USPS Regional Origin Facility 2021-12-24 22:07:00",
"In Transit to Next Facility 2021-12-28 00:00:00",
"Arrived at USPS Regional Destination Facility 2021-12-29 15:27:00",
"Departed USPS Regional Facility 2021-12-30 03:07:00",
"Arrived at USPS Facility 2021-12-30 04:03:00",
"Arrived at Post Office 2021-12-30 04:36:00",
"Out for Delivery 2021-12-30 06:10:00",
"Delivered, In/At Mailbox 2021-12-30 13:58:00"
],
"trackingNumber": "9400136109361359102933"
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store the specified order fbm resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order';
$response = $client->put(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'receiverName' => 'qui',
'recipientCompanyName' => 'illo',
'receiverEmail' => '[email protected]',
'receiverPhone' => 'ut',
'receiverAddress' => 'nesciunt',
'receiverAddress1' => 'quisquam',
'receiverCity' => 'sit',
'receiverZip' => 'praesentium',
'receiverState' => 'qui',
'receiverCountry' => 'qui',
'storageId' => 9,
'weightLb' => 'voluptate',
'weightOz' => 'placeat',
'length' => 'et',
'width' => 'et',
'height' => 'excepturi',
'comment' => 'quam',
'vatTaxId' => 'dolor',
'insurancesStatus' => false,
'insurances' => 'quia',
'transactionId' => 600726.36,
'externalId' => 'sed',
'apiShipMethod' => 'aliquam',
'packagingId' => 'ut',
'consolidationOrder' => 'id',
'skladCreateLabel' => 'autem',
'userPackType' => 'est',
'productsConsolidationData' => 'sit',
'productsData' => [
'quidem',
],
'sendFromId' => 'autem',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"receiverName": "qui",
"recipientCompanyName": "illo",
"receiverEmail": "[email protected]",
"receiverPhone": "ut",
"receiverAddress": "nesciunt",
"receiverAddress1": "quisquam",
"receiverCity": "sit",
"receiverZip": "praesentium",
"receiverState": "qui",
"receiverCountry": "qui",
"storageId": 9,
"weightLb": "voluptate",
"weightOz": "placeat",
"length": "et",
"width": "et",
"height": "excepturi",
"comment": "quam",
"vatTaxId": "dolor",
"insurancesStatus": false,
"insurances": "quia",
"transactionId": 600726.36,
"externalId": "sed",
"apiShipMethod": "aliquam",
"packagingId": "ut",
"consolidationOrder": "id",
"skladCreateLabel": "autem",
"userPackType": "est",
"productsConsolidationData": "sit",
"productsData": [
"quidem"
],
"sendFromId": "autem"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request PUT \
"https://system.skladusa.com/api/order" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"receiverName\": \"qui\",
\"recipientCompanyName\": \"illo\",
\"receiverEmail\": \"[email protected]\",
\"receiverPhone\": \"ut\",
\"receiverAddress\": \"nesciunt\",
\"receiverAddress1\": \"quisquam\",
\"receiverCity\": \"sit\",
\"receiverZip\": \"praesentium\",
\"receiverState\": \"qui\",
\"receiverCountry\": \"qui\",
\"storageId\": 9,
\"weightLb\": \"voluptate\",
\"weightOz\": \"placeat\",
\"length\": \"et\",
\"width\": \"et\",
\"height\": \"excepturi\",
\"comment\": \"quam\",
\"vatTaxId\": \"dolor\",
\"insurancesStatus\": false,
\"insurances\": \"quia\",
\"transactionId\": 600726.36,
\"externalId\": \"sed\",
\"apiShipMethod\": \"aliquam\",
\"packagingId\": \"ut\",
\"consolidationOrder\": \"id\",
\"skladCreateLabel\": \"autem\",
\"userPackType\": \"est\",
\"productsConsolidationData\": \"sit\",
\"productsData\": [
\"quidem\"
],
\"sendFromId\": \"autem\"
}"
Example response (200):
{
"data": [
{
"order": {
"id": 143,
"receiverName": "receiverName",
"recipientCompanyName": "recipientCompanyName",
"createdAtStr": "2022-05-05 13:58:38",
"receiverEmail": "[email protected]",
"receiverAddress": "receiverAddress",
"receiverCity": "receiverCity",
"receiverZip": "receiverZip",
"receiverState": "receiverState",
"receiverCountry": "Ukraine",
"receiverPhone": "0989701676",
"comment": null,
"weightLb": 11,
"weightOz": 4,
"length": 20,
"width": 180,
"height": 20,
"consolidationOrder": false,
"skladCreateLabel": true,
"shipDate": {
"date": "2022-05-06 12:23:30.698958",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": null,
"insurancesStatus": false,
"insurances": null,
"externalId": "1988820690",
"storageId" : 1,
"apiShipMethod": "1_1",
"packagingId": null,
"userPackType": "pack1",
"status": null,
"vatTaxId": 81,
"transactionId": null,
"productsData": [],
"productsConsolidationData": {
"content": [
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 328,
"nameEn": "TOY",
"nameUa": "ІГРАШКА",
"nameRu": "ИГРУШКА",
"materialId": 329,
"materialEn": "FELT",
"materialUa": "ФЕТР",
"materialRu": "фетр",
"subMaterialId": 330,
"subMaterialEn": "WOVEN",
"subMaterialUa": "ТКАНИЙ ",
"subMaterialRu": "ТКАНЫЙ",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 1
},
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 331,
"nameEn": "KNITTED WOVEN TOY",
"nameUa": "ІГРАШКА В'ЯЗАНА ",
"nameRu": "ИГРУШКА вязанная",
"materialId": 332,
"materialEn": "COTTON",
"materialUa": "БАВОВНА",
"materialRu": "Хлопок",
"subMaterialId": 333,
"subMaterialEn": "EMBROIDERED",
"subMaterialUa": "ВИШИТИЙ",
"subMaterialRu": "вышитый",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 2
}
]
}
"sendFrom": {
"first_name": "test firstnam112222e",
"last_name": "test lastname11",
"company_name": "test companynam11e",
"full_name": "test firstnam112222e test lastname11",
"label": "test firstnam112222e test lastname11 test companynam11e"
},
"sendFromId": "9"
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Rate List for Order FBM
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/rate/list';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'senderCountryCode' => 'quaerat',
'length' => 'fuga',
'height' => 'voluptates',
'width' => 'nemo',
'weight' => 'sapiente',
'countryCode' => 'reiciendis',
'stateCode' => 'accusantium',
'zipCode' => 'molestiae',
'city' => 'qui',
'clientPayPal' => 'quia',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/rate/list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"senderCountryCode": "quaerat",
"length": "fuga",
"height": "voluptates",
"width": "nemo",
"weight": "sapiente",
"countryCode": "reiciendis",
"stateCode": "accusantium",
"zipCode": "molestiae",
"city": "qui",
"clientPayPal": "quia"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/rate/list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"senderCountryCode\": \"quaerat\",
\"length\": \"fuga\",
\"height\": \"voluptates\",
\"width\": \"nemo\",
\"weight\": \"sapiente\",
\"countryCode\": \"reiciendis\",
\"stateCode\": \"accusantium\",
\"zipCode\": \"molestiae\",
\"city\": \"qui\",
\"clientPayPal\": \"quia\"
}"
Example response (200):
{
"status": "success",
"data": {
"case": {
"fromCountry": "Ukraine",
"fromCountryCode": "UA",
"toCountry": "Germany",
"toCountryCode": "DE",
"stateCode": null,
"zipCode": "10179",
"city": "Berlin",
"weight": "1",
"length": "1",
"width": "1",
"height": "1",
"clientPayPal": true
},
"shippingPrices": {
"currency": "USD",
"express": [],
"consolidation": [
{
"description": "DHLExpress, ExpressWorldwideNonDoc Parcel",
"costs": {
"price": "37.16",
"fee": 2
},
"apiShipMethod": "ExpressWorldwideNonDoc"
},
{
"description": "Parcel Priority Delcon",
"costs": {
"price": "26.39",
"fee": 2
},
"apiShipMethod": "parcelConnectPriorityDDUDelcon"
},
{
"description": "DPD",
"costs": {
"price": "22.40",
"fee": 2
},
"apiShipMethod": "9_7"
}
]
}
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified order fbm resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/fuga';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'receiverName' => 'minima',
'recipientCompanyName' => 'error',
'receiverEmail' => '[email protected]',
'receiverPhone' => 'quibusdam',
'receiverAddress' => 'amet',
'receiverAddress1' => 'quia',
'receiverCity' => 'deserunt',
'receiverZip' => 'numquam',
'receiverState' => 'quis',
'receiverCountry' => 'laborum',
'storageId' => 2,
'weightLb' => 'consequatur',
'weightOz' => 'libero',
'length' => 'ut',
'width' => 'nostrum',
'height' => 'eaque',
'comment' => 'et',
'vatTaxId' => 'rem',
'insurancesStatus' => false,
'insurances' => 'debitis',
'transactionId' => 52.94466,
'externalId' => 'laudantium',
'apiShipMethod' => 'et',
'packagingId' => 'voluptas',
'consolidationOrder' => 'aut',
'skladCreateLabel' => 'et',
'userPackType' => 'delectus',
'productsConsolidationData' => 'nesciunt',
'productsData' => [
'rerum',
],
'sendFromId' => 'voluptate',
'productsConsolidationData[][id]' => 11,
'productsConsolidationData[][categoryId]' => 'molestias',
'productsConsolidationData[][nameId]' => 'enim',
'productsConsolidationData[][forSelectedId]' => 9,
'productsConsolidationData[][materialId]' => 5,
'productsConsolidationData[][subMaterialId]' => 7,
'productsConsolidationData[][hsCode]' => 'sint',
'productsConsolidationData[][price]' => 'ut',
'productsConsolidationData[][count]' => 'deleniti',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/fuga"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"receiverName": "minima",
"recipientCompanyName": "error",
"receiverEmail": "[email protected]",
"receiverPhone": "quibusdam",
"receiverAddress": "amet",
"receiverAddress1": "quia",
"receiverCity": "deserunt",
"receiverZip": "numquam",
"receiverState": "quis",
"receiverCountry": "laborum",
"storageId": 2,
"weightLb": "consequatur",
"weightOz": "libero",
"length": "ut",
"width": "nostrum",
"height": "eaque",
"comment": "et",
"vatTaxId": "rem",
"insurancesStatus": false,
"insurances": "debitis",
"transactionId": 52.94466,
"externalId": "laudantium",
"apiShipMethod": "et",
"packagingId": "voluptas",
"consolidationOrder": "aut",
"skladCreateLabel": "et",
"userPackType": "delectus",
"productsConsolidationData": "nesciunt",
"productsData": [
"rerum"
],
"sendFromId": "voluptate",
"productsConsolidationData[][id]": 11,
"productsConsolidationData[][categoryId]": "molestias",
"productsConsolidationData[][nameId]": "enim",
"productsConsolidationData[][forSelectedId]": 9,
"productsConsolidationData[][materialId]": 5,
"productsConsolidationData[][subMaterialId]": 7,
"productsConsolidationData[][hsCode]": "sint",
"productsConsolidationData[][price]": "ut",
"productsConsolidationData[][count]": "deleniti"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/order/fuga" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"receiverName\": \"minima\",
\"recipientCompanyName\": \"error\",
\"receiverEmail\": \"[email protected]\",
\"receiverPhone\": \"quibusdam\",
\"receiverAddress\": \"amet\",
\"receiverAddress1\": \"quia\",
\"receiverCity\": \"deserunt\",
\"receiverZip\": \"numquam\",
\"receiverState\": \"quis\",
\"receiverCountry\": \"laborum\",
\"storageId\": 2,
\"weightLb\": \"consequatur\",
\"weightOz\": \"libero\",
\"length\": \"ut\",
\"width\": \"nostrum\",
\"height\": \"eaque\",
\"comment\": \"et\",
\"vatTaxId\": \"rem\",
\"insurancesStatus\": false,
\"insurances\": \"debitis\",
\"transactionId\": 52.94466,
\"externalId\": \"laudantium\",
\"apiShipMethod\": \"et\",
\"packagingId\": \"voluptas\",
\"consolidationOrder\": \"aut\",
\"skladCreateLabel\": \"et\",
\"userPackType\": \"delectus\",
\"productsConsolidationData\": \"nesciunt\",
\"productsData\": [
\"rerum\"
],
\"sendFromId\": \"voluptate\",
\"productsConsolidationData[][id]\": 11,
\"productsConsolidationData[][categoryId]\": \"molestias\",
\"productsConsolidationData[][nameId]\": \"enim\",
\"productsConsolidationData[][forSelectedId]\": 9,
\"productsConsolidationData[][materialId]\": 5,
\"productsConsolidationData[][subMaterialId]\": 7,
\"productsConsolidationData[][hsCode]\": \"sint\",
\"productsConsolidationData[][price]\": \"ut\",
\"productsConsolidationData[][count]\": \"deleniti\"
}"
Example response (200):
{
"data": [
{
"order": {
"id": 143,
"receiverName": "receiverName",
"recipientCompanyName": "recipientCompanyName",
"createdAtStr": "2022-05-05 13:58:38",
"receiverEmail": "[email protected]",
"receiverAddress": "receiverAddress",
"receiverCity": "receiverCity",
"receiverZip": "receiverZip",
"receiverState": "receiverState",
"receiverCountry": "Ukraine",
"receiverPhone": "0989701676",
"comment": null,
"weightLb": 11,
"weightOz": 4,
"length": 20,
"width": 180,
"height": 20,
"consolidationOrder": false,
"skladCreateLabel": true,
"shipDate": {
"date": "2022-05-06 12:23:30.698958",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": null,
"insurancesStatus": false,
"insurances": null,
"externalId": "1988820690",
"storageId" : 1,
"apiShipMethod": "1_1",
"packagingId": null,
"userPackType": "pack1",
"status": null,
"vatTaxId": 81,
"transactionId": null,
"productsData": [],
"productsConsolidationData": {
"content": [
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 328,
"nameEn": "TOY",
"nameUa": "ІГРАШКА",
"nameRu": "ИГРУШКА",
"materialId": 329,
"materialEn": "FELT",
"materialUa": "ФЕТР",
"materialRu": "фетр",
"subMaterialId": 330,
"subMaterialEn": "WOVEN",
"subMaterialUa": "ТКАНИЙ ",
"subMaterialRu": "ТКАНЫЙ",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 1
},
{
"forSelectedId": 4,
"forSelectedEn": "WOMENS",
"forSelectedUa": "ЖІНОЧА",
"forSelectedRu": "Женская",
"nameId": 331,
"nameEn": "KNITTED WOVEN TOY",
"nameUa": "ІГРАШКА В'ЯЗАНА ",
"nameRu": "ИГРУШКА вязанная",
"materialId": 332,
"materialEn": "COTTON",
"materialUa": "БАВОВНА",
"materialRu": "Хлопок",
"subMaterialId": 333,
"subMaterialEn": "EMBROIDERED",
"subMaterialUa": "ВИШИТИЙ",
"subMaterialRu": "вышитый",
"categoryId": 8,
"categoryName": "Clothes & woven decor",
"count": 2
}
]
},
"sendFrom": {
"first_name": "test firstnam112222e",
"last_name": "test lastname11",
"company_name": "test companynam11e",
"full_name": "test firstnam112222e test lastname11",
"label": "test firstnam112222e test lastname11 test companynam11e"
},
"sendFromId": "9"
},
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Make label for order FBM
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/fuga/set-shipstation-code';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'serviceId' => 'blanditiis',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/fuga/set-shipstation-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"serviceId": "blanditiis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/order/fuga/set-shipstation-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"serviceId\": \"blanditiis\"
}"
Example response (200):
{
"status": "success",
"data": {
"id": 143,
"shipDate": {
"date": "2022-05-06 14:40:00.000000",
"timezone_type": 3,
"timezone": "Europe/Kiev"
},
"shippingCosts": "9.01",
"trackingNumber": "9405536109361289955107",
"label": "base64 file string"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Orders Express
Dictionaries for express order form.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/dictionaries';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/dictionaries"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/dictionaries" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"data": {
"countries": [
"id": 3,
"label": "Algeria",
"currencies": [],
"regions": [],
],
"proformTypes": [
...
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get NovaPoshtaGlobal warehouse list from customer profile.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/get-npg-warehouse-list';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/get-npg-warehouse-list"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/get-npg-warehouse-list" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"data": [
{
"address_type": "Warehouse",
"ref_warehouse": "1611283d-e1c2-11e3-8c4a-4588968002cf",
"warehouse_name": "Київ, Київська, Відділення №18...",
"city_name": "Київ, Київська"
},
...
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Search cities for NovaPoshtaGlobal.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/find-city-for-npg/laboriosam/perspiciatis';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/find-city-for-npg/laboriosam/perspiciatis"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/find-city-for-npg/laboriosam/perspiciatis" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"data": [
{
"label": "Київ, Київська"
},
{
"label": "Київець, Львівська"
}
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Search warehouses for NovaPoshtaGlobal by City.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/warehouses-by-city-for-npg/quaerat/magni';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/warehouses-by-city-for-npg/quaerat/magni"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/warehouses-by-city-for-npg/quaerat/magni" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"status": "success",
"data": [
[
{
"reference": "1ec09d6b-e1c2-11e3-8c4a-0050568002cf",
"currentTranslate": {
"name": "Kyiv, Kyivska, Viddilennia №7...",
"city": "Kyiv, Kyivska"
},
},
...
]
]
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified order express resource.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/rerum';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/rerum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/rerum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"id": 143,
...
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get tracking history by order id.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/sit/tracking-history';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/sit/tracking-history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/sit/tracking-history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"message": "Delivered",
"history": [
"Shipping Label Created, USPS Awaiting Item 2021-12-10 14:38:00",
"Accepted at USPS Origin Facility 2021-12-22 20:25:00",
"Arrived at USPS Origin Facility 2021-12-22 21:40:00",
"Departed USPS Origin Facility 2021-12-22 21:52:00",
"Arrived at USPS Regional Origin Facility 2021-12-24 22:07:00",
"In Transit to Next Facility 2021-12-28 00:00:00",
"Arrived at USPS Regional Destination Facility 2021-12-29 15:27:00",
"Departed USPS Regional Facility 2021-12-30 03:07:00",
"Arrived at USPS Facility 2021-12-30 04:03:00",
"Arrived at Post Office 2021-12-30 04:36:00",
"Out for Delivery 2021-12-30 06:10:00",
"Delivered, In/At Mailbox 2021-12-30 13:58:00"
],
"trackingNumber": "9400136109361359102933"
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Shipping Delivery Price from NPG Api.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/npg-price';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'warehouse_id' => 8,
'payment_transaction_id' => 13,
'sender' => [
'quibusdam',
],
'recipient' => [
'inventore',
],
'products' => [
'aut',
],
'proform_packaging' => [
'nesciunt',
],
'insurance_amount' => 'in',
'for_consolidation' => false,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/npg-price"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"warehouse_id": 8,
"payment_transaction_id": 13,
"sender": [
"quibusdam"
],
"recipient": [
"inventore"
],
"products": [
"aut"
],
"proform_packaging": [
"nesciunt"
],
"insurance_amount": "in",
"for_consolidation": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/express-orders/npg-price" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"warehouse_id\": 8,
\"payment_transaction_id\": 13,
\"sender\": [
\"quibusdam\"
],
\"recipient\": [
\"inventore\"
],
\"products\": [
\"aut\"
],
\"proform_packaging\": [
\"nesciunt\"
],
\"insurance_amount\": \"in\",
\"for_consolidation\": false
}"
Example response (200):
{
"status": 200,
"data": {
"price_variant": [
{
"price": 36.63,
"orderFee": 0,
"total_price": 36.63,
"oversize_charge": 0,
"initial_price": 0,
"additional_handling_surcharge": 0,
"out_of_delivery.extra_charge": 0,
"out_of_delivery.shipping_cost": 0,
"label": "Cargo",
"delivery_service_type": "29:cargo"
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Creation label for express order.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/make-label';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
'json' => [
'order_express_id' => 17,
'delivery_service_type' => 'ymdopxluqtvnbfd',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/make-label"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"order_express_id": 17,
"delivery_service_type": "ymdopxluqtvnbfd"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/express-orders/make-label" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"order_express_id\": 17,
\"delivery_service_type\": \"ymdopxluqtvnbfd\"
}"
Example response (200):
{
"status": 200,
"data": {
"status": true
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get file by uuid.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders/get-file/8671905b-ed89-3a8b-b193-63ba97f196fa';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders/get-file/8671905b-ed89-3a8b-b193-63ba97f196fa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders/get-file/8671905b-ed89-3a8b-b193-63ba97f196fa" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Example response (200):
{
Файл в ответе
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create new express order for NovaPoshtaGlobal.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders';
$response = $client->put(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
'json' => [
'total_order_amount' => 2982.17760409,
'from_model' => 'from_payment_transaction',
'model_id' => 19,
'delivery_service_id' => 8,
'status' => 'wait_for_pay',
'send_type' => 'by_himself',
'warehouse_id' => 17,
'new_post_tracking_number' => 'vhlkkhyue',
'tracking_number' => 'vel',
'sender_contact_name' => 'wbqzz',
'sender_phone_number' => 'libero',
'recipient_contact_name' => 'fqs',
'recipient_phone_number' => '-extps2{3,}$/im',
'recipient_email' => '[email protected]',
'recipient_address' => 'vdrutudk',
'recipient_additional_address' => 'ow',
'recipient_city' => 'imthtcs',
'recipient_region' => 'ueqwysoakzfchelxkagewvmp',
'recipient_country_id' => 13,
'recipient_zip_code' => 'eblulfjytxqhegcltbxzz',
'recipient_currency_id' => 15,
'delivery_date' => '3747-78-38$/i',
'available_courier_time' => '76:74|30:47$/i',
'not_available_courier_time' => '94:11|59:05$/i',
'vat_number' => 'gcnxeipfd',
'proform_data' => [
'quisquam',
],
'proform_packaging' => [
'package_name' => 'rtexh',
'weight' => 3054.3157,
'length' => 20000021.2764684,
'width' => 2749527.9593331674,
'height' => 0.64394,
],
'insurance_amount' => 7.13839,
'packaging_type' => 'fedex_envelope_packaging',
'drop_certification' => false,
'toxic_substance' => false,
'freight_cost' => 267.698098,
'in_draft' => '0',
'courier_arrival_date' => '1884-71-26$/i',
'courier_from_to_time' => '52:17|89:14$/i',
'courier_contact_name' => 'sydawerkowgoxrpfwhmaub',
'courier_contact_phone' => 'bhvwreydgwsqtkjloqvi',
'sender_contact_address' => 'accusamus',
'alarm_status' => false,
'delivery_service_type' => 'iyzaoy',
'deleted_proform_ids' => [
'proform_data' => [
2,
],
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
let body = {
"total_order_amount": 2982.17760409,
"from_model": "from_payment_transaction",
"model_id": 19,
"delivery_service_id": 8,
"status": "wait_for_pay",
"send_type": "by_himself",
"warehouse_id": 17,
"new_post_tracking_number": "vhlkkhyue",
"tracking_number": "vel",
"sender_contact_name": "wbqzz",
"sender_phone_number": "libero",
"recipient_contact_name": "fqs",
"recipient_phone_number": "-extps2{3,}$\/im",
"recipient_email": "[email protected]",
"recipient_address": "vdrutudk",
"recipient_additional_address": "ow",
"recipient_city": "imthtcs",
"recipient_region": "ueqwysoakzfchelxkagewvmp",
"recipient_country_id": 13,
"recipient_zip_code": "eblulfjytxqhegcltbxzz",
"recipient_currency_id": 15,
"delivery_date": "3747-78-38$\/i",
"available_courier_time": "76:74|30:47$\/i",
"not_available_courier_time": "94:11|59:05$\/i",
"vat_number": "gcnxeipfd",
"proform_data": [
"quisquam"
],
"proform_packaging": {
"package_name": "rtexh",
"weight": 3054.3157,
"length": 20000021.2764684,
"width": 2749527.9593331674,
"height": 0.64394
},
"insurance_amount": 7.13839,
"packaging_type": "fedex_envelope_packaging",
"drop_certification": false,
"toxic_substance": false,
"freight_cost": 267.698098,
"in_draft": "0",
"courier_arrival_date": "1884-71-26$\/i",
"courier_from_to_time": "52:17|89:14$\/i",
"courier_contact_name": "sydawerkowgoxrpfwhmaub",
"courier_contact_phone": "bhvwreydgwsqtkjloqvi",
"sender_contact_address": "accusamus",
"alarm_status": false,
"delivery_service_type": "iyzaoy",
"deleted_proform_ids": {
"proform_data": [
2
]
}
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request PUT \
"https://system.skladusa.com/api/express-orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'" \
--data "{
\"total_order_amount\": 2982.17760409,
\"from_model\": \"from_payment_transaction\",
\"model_id\": 19,
\"delivery_service_id\": 8,
\"status\": \"wait_for_pay\",
\"send_type\": \"by_himself\",
\"warehouse_id\": 17,
\"new_post_tracking_number\": \"vhlkkhyue\",
\"tracking_number\": \"vel\",
\"sender_contact_name\": \"wbqzz\",
\"sender_phone_number\": \"libero\",
\"recipient_contact_name\": \"fqs\",
\"recipient_phone_number\": \"-extps2{3,}$\\/im\",
\"recipient_email\": \"[email protected]\",
\"recipient_address\": \"vdrutudk\",
\"recipient_additional_address\": \"ow\",
\"recipient_city\": \"imthtcs\",
\"recipient_region\": \"ueqwysoakzfchelxkagewvmp\",
\"recipient_country_id\": 13,
\"recipient_zip_code\": \"eblulfjytxqhegcltbxzz\",
\"recipient_currency_id\": 15,
\"delivery_date\": \"3747-78-38$\\/i\",
\"available_courier_time\": \"76:74|30:47$\\/i\",
\"not_available_courier_time\": \"94:11|59:05$\\/i\",
\"vat_number\": \"gcnxeipfd\",
\"proform_data\": [
\"quisquam\"
],
\"proform_packaging\": {
\"package_name\": \"rtexh\",
\"weight\": 3054.3157,
\"length\": 20000021.2764684,
\"width\": 2749527.9593331674,
\"height\": 0.64394
},
\"insurance_amount\": 7.13839,
\"packaging_type\": \"fedex_envelope_packaging\",
\"drop_certification\": false,
\"toxic_substance\": false,
\"freight_cost\": 267.698098,
\"in_draft\": \"0\",
\"courier_arrival_date\": \"1884-71-26$\\/i\",
\"courier_from_to_time\": \"52:17|89:14$\\/i\",
\"courier_contact_name\": \"sydawerkowgoxrpfwhmaub\",
\"courier_contact_phone\": \"bhvwreydgwsqtkjloqvi\",
\"sender_contact_address\": \"accusamus\",
\"alarm_status\": false,
\"delivery_service_type\": \"iyzaoy\",
\"deleted_proform_ids\": {
\"proform_data\": [
2
]
}
}"
Example response (200):
{
"status": "success",
"data": {
"id": 3680,
...
}
},
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the order express.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/express-orders';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required \'Basic \' + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/express-orders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required 'Basic ' + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/express-orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required \'Basic \' + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"id": 3666,
...
},
...
],
"pagination": {
"last": 2,
"current": 0,
"numItemsPerPage": 10,
"first": 1,
"pageCount": 2,
"totalCount": 19,
"pageRange": 2,
"startPage": 1,
"endPage": 2,
"previous": 0,
"next": 1,
"pagesInRange": [
1,
2
],
"firstPageInRange": 1,
"lastPageInRange": 2,
"currentItemCount": 10,
"firstItemNumber": 11,
"lastItemNumber": 2
},
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Authorize Pay
Get Authorize popup HTML
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/gateway';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'sum' => 'doloremque',
'shopName' => 'eveniet',
'orderId' => 'ullam',
'iframeUrl' => 'https://www.grant.org/et-ad-facere-et-nulla-perferendis-nihil-temporibus-aut',
'callBackUrl' => 'http://hettinger.com/earum-magnam-veniam-voluptates-aut-ipsum-fuga.html',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/gateway"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"sum": "doloremque",
"shopName": "eveniet",
"orderId": "ullam",
"iframeUrl": "https:\/\/www.grant.org\/et-ad-facere-et-nulla-perferendis-nihil-temporibus-aut",
"callBackUrl": "http:\/\/hettinger.com\/earum-magnam-veniam-voluptates-aut-ipsum-fuga.html"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/gateway" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"sum\": \"doloremque\",
\"shopName\": \"eveniet\",
\"orderId\": \"ullam\",
\"iframeUrl\": \"https:\\/\\/www.grant.org\\/et-ad-facere-et-nulla-perferendis-nihil-temporibus-aut\",
\"callBackUrl\": \"http:\\/\\/hettinger.com\\/earum-magnam-veniam-voluptates-aut-ipsum-fuga.html\"
}"
Example response (200):
{
"status": "success",
"data": "HTML"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
WarehouseStorage
Get possible Warehouse storage.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/storage/order-fbm';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'receiverCountry' => 'necessitatibus',
'receiverZip' => 'natus',
'consolidationOrder' => 'magnam',
'skladCreateLabel' => 'ut',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/storage/order-fbm"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"receiverCountry": "necessitatibus",
"receiverZip": "natus",
"consolidationOrder": "magnam",
"skladCreateLabel": "ut"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/storage/order-fbm" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"receiverCountry\": \"necessitatibus\",
\"receiverZip\": \"natus\",
\"consolidationOrder\": \"magnam\",
\"skladCreateLabel\": \"ut\"
}"
Example response (200):
{
"data": [
{
"id": 1,
"name": "Blaine"
}
],
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
OrderSend From
Display a listing of the send from data.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/send-from';
$response = $client->get(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/send-from"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
curl --request GET \
--get "https://system.skladusa.com/api/order/send-from" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'"
Example response (200):
{
"data": {
"entities": [
{
"id": 7,
"firstName": "test firstnam1e",
"lastName": "test lastname1",
"companyName": "test companynam1e",
"fullName": "test firstnam1e test lastname1",
"label": "test firstnam1e test lastname1 test companynam1e"
},
...
],
"pagination": {
"last": 1,
"current": 0,
"numItemsPerPage": 200,
"first": 1,
"pageCount": 1,
"totalCount": 4,
"pageRange": 1,
"startPage": 1,
"endPage": 1,
"previous": 0,
"next": 1,
"pagesInRange": [
1
],
"firstPageInRange": 1,
"lastPageInRange": 1,
"currentItemCount": 200,
"firstItemNumber": 201,
"lastItemNumber": 1
}
},
"status": "success"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store the specified send from data.
requires authentication
Example request:
$client = new \GuzzleHttp\Client();
$url = 'https://system.skladusa.com/api/order/send-from';
$response = $client->post(
$url,
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'Authorization' => 'required Basic + base64 encoded \'user_id:api_token\'',
],
'json' => [
'firstName' => 'iusto',
'lastName' => 'aut',
'companyName' => 'vitae',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
const url = new URL(
"https://system.skladusa.com/api/order/send-from"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "required Basic + base64 encoded 'user_id:api_token'",
};
let body = {
"firstName": "iusto",
"lastName": "aut",
"companyName": "vitae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"https://system.skladusa.com/api/order/send-from" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: required Basic + base64 encoded \'user_id:api_token\'" \
--data "{
\"firstName\": \"iusto\",
\"lastName\": \"aut\",
\"companyName\": \"vitae\"
}"
Example response (200):
{
"status": 200,
"data": {
"id": 10,
"firstName": "test firstnam112222e",
"lastName": "test lastname11s",
"companyName": "test companynam11e",
"fullName": "test firstnam112222e test lastname11s",
"label": "test firstnam112222e test lastname11s test companynam11e"
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.