Доставки
Получение списка доставок. Как создать, изменить или удалить доставки. Всё покажем с примерами на нашем сайте
Работа с доставками
Получение списка доставок
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
[
{
"id": 0,
"template_id": 0,
"site_id": 0,
"title": "string",
"price": "string",
"free_start_from": "string",
"creator_id": 0,
"d_created": "2021-08-04T15:28:46.655Z",
"d_updated": "2021-08-04T15:28:46.655Z",
"enabled": true,
"deleted": true,
"points": [
{
"id": 0,
"title": "string",
"price": "string",
"free_start_from": "string",
"country": "string",
"city": "string",
"zip": "string",
"street": "string",
"building_number": "string",
"office_number": "string",
"floor": 0,
"comment": "string",
"enabled": true,
"deleted": true
}
],
"regions": [
{
"id": 0,
"title": "string",
"price": "string",
"free_start_from": "string",
"comment": "string",
"enabled": true,
"deleted": true,
"coordinates": [[0, 0],[0, 0],[0, 0]]
}
],
"additional_fields": [
{
"id": 0,
"name": "string",
"label": "string",
"parent_id": "string"
}
],
"cities": [
{
"id": 0,
"city_type": "string",
"city": "string"
}
],
"pos": 0,
"internal_info": {
"tariff_code": 0,
"from_city_code": 0,
"pvz_code": "string",
"sender_address": "string",
"company_name": "string",
"sender_name": "string",
"sender_email": "string",
"sender_phone": "string",
"medium_width": 0,
"medium_length": 0,
"medium_height": 0,
"medium_weight": 0,
"calculation_type": "string",
"added_value": 0,
"need_create_order": true
}
}
]Пример запроса
Создание доставки
Headers
Name
Type
Description
Request Body
Name
Type
Description
Пример запроса
Получение доставки по ID
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Пример запроса
Изменение доставки
Headers
Name
Type
Description
Request Body
Name
Type
Description
Пример запроса
Удаление доставки
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Пример запроса
Последнее обновление