Receiving information about orders for delivery, removal and disposal
The method is available for the FBY model.
If you are using an API Key token, one of the accesses in the list is required to call the method
- supplies-management:read-only — View FBY requests
- all-methods — Full account management
- all-methods:read-only — View all data
Returns requests for delivery, export, and disposal, as well as information on them, using the specified filters.
| ⚙️ Limit: 1,000 requests per hour |
|---|
Request
POST
https://api.partner.market.yandex.ru/v2/campaigns/{campaignId}/supply-requests
Path parameters
|
Name |
Description |
|
campaignId* |
Type: integer<int64> The store's campaign ID. You can find it using a query GET v2/campaigns or find it in the seller's office on the Market — click on your account icon → Settings and in the menu on the left, select APIs and modules:
⚠️ It does not match the store's ID (which is indicated in the merchant's account on the Market next to the store's name and in some reports). It is linked to the store one-to-one. Does not apply to advertising campaigns.
Min value: |
Query parameters
|
Name |
Description |
|
limit |
Type: integer<int32> The number of values per page.
Min value: |
|
page_token |
Type: string ID of the results page. If the parameter is omitted, the first page is returned. We recommend transmitting the value of the output parameter If set |
Body
application/json
{
"requestIds": [
0
],
"requestDateFrom": "2022-12-29T18:02:01Z",
"requestDateTo": "2022-12-29T18:02:01Z",
"requestTypes": [
"SUPPLY"
],
"requestSubtypes": [
"DEFAULT"
],
"requestStatuses": [
"CREATED"
],
"sorting": {
"direction": "ASC",
"attribute": "ID"
}
}
|
Name |
Description |
||||
|
requestDateFrom |
Type: string<date-time> The start date of the request filtering period. |
||||
|
requestDateTo |
Type: string<date-time> The end date of the request filtering period. |
||||
|
requestIds |
Type: integer[] Request IDs. Used only in the API It will not be possible to find applications in the seller's account on the Market. To do this, use Min value: Min items: Max items: Unique items |
||||
|
requestStatuses |
Type: string[] Request statuses for filtering.
Enum: Min items: Unique items |
||||
|
requestSubtypes |
Type: string[] Subtypes of requests for filtering.
Enum: Min items: Unique items |
||||
|
requestTypes |
Type: string[] Types of requests to filter.
Enum: Min items: Unique items |
||||
|
sorting |
Type: object
Sorting parameters. |
Responses
200 OK
A list of applications and information on them.
Body
application/json
{
"status": "OK",
"result": {
"requests": [
{
"id": {
"id": 0,
"marketplaceRequestId": "string",
"warehouseRequestId": "string"
},
"type": "SUPPLY",
"subtype": "DEFAULT",
"status": "CREATED",
"updatedAt": "2022-12-29T18:02:01Z",
"counters": {
"planCount": 0,
"factCount": 0,
"undefinedCount": 0,
"surplusCount": 0,
"shortageCount": 0,
"defectCount": 0,
"acceptableCount": 0,
"unacceptableCount": 0,
"actualPalletsCount": 0,
"actualBoxCount": 0
},
"parentLink": {
"id": {
"id": 0,
"marketplaceRequestId": "string",
"warehouseRequestId": "string"
},
"type": "VIRTUAL_DISTRIBUTION"
},
"childrenLinks": [
{
"id": {
"id": 0,
"marketplaceRequestId": "string",
"warehouseRequestId": "string"
},
"type": "VIRTUAL_DISTRIBUTION"
}
],
"targetLocation": {
"requestedDate": "2022-12-29T18:02:01Z",
"serviceId": 0,
"name": "string",
"address": {
"fullAddress": "string",
"gps": {
"latitude": 0,
"longitude": 0
}
},
"type": "FULFILLMENT"
},
"transitLocation": {
"requestedDate": "2022-12-29T18:02:01Z",
"serviceId": 0,
"name": "string",
"address": {
"fullAddress": "string",
"gps": {
"latitude": 0,
"longitude": 0
}
},
"type": "FULFILLMENT"
}
}
],
"paging": {
"nextPageToken": "string"
}
}
}
|
Name |
Description |
||||||
|
status* |
Type: string The type of response. Possible values:
Enum: |
||||||
|
result |
Type: object
A list of applications and information on them. |
400 Bad Request
The request contains incorrect data. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] A list of errors. Min items: |
|
status |
Type: string The type of response. Possible values:
Enum: |
401 Unauthorized
The authorization data is not specified in the request. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] A list of errors. Min items: |
|
status |
Type: string The type of response. Possible values:
Enum: |
403 Forbidden
The authorization data is incorrect or access to the resource is prohibited. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] A list of errors. Min items: |
|
status |
Type: string The type of response. Possible values:
Enum: |
420 Method Failure
The resource access limit has been exceeded. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] A list of errors. Min items: |
|
status |
Type: string The type of response. Possible values:
Enum: |
500 Internal Server Error
Internal error of the Market. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] A list of errors. Min items: |
|
status |
Type: string The type of response. Possible values:
Enum: |
No longer supported, please use an alternative and newer version.
Read about what it is in Yandex.Market Help for sellers.