Information about a single point of sale
The method is available for the DBS model.
If you are using an API Key token, one of the accesses in the list is required to call the method
- settings-management — Store settings
- all-methods — Full account management
- all-methods:read-only — View all data
Returns information about the store's points of sale.
| ⚙️ Limit: 100,000 requests per hour |
|---|
Request
GET
https://api.partner.market.yandex.ru/v2/campaigns/{campaignId}/outlets/{outletId}
Path parameters
|
Name |
Description |
|
campaignId |
Type: integer The ID of the campaign (store) — The technical identifier that represents your store in the Yandex Market system when working through the API. It is uniquely linked to your store, but it is intended only for automated interaction. 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:
⚠️ Do not confuse it with:
Min value: |
|
outletId |
Type: integer The ID of the point of sale. Min value: |
Responses
200 OK
Information about the point of sale.
Body
application/json
{
"outlet": {
"name": "example",
"type": "DEPOT",
"coords": "example",
"isMain": true,
"shopOutletCode": "example",
"visibility": "HIDDEN",
"address": {
"regionId": 0,
"street": "example",
"number": "example",
"building": "example",
"estate": "example",
"block": "example",
"additional": "example",
"km": 0,
"city": "example"
},
"phones": [
"example"
],
"workingSchedule": {
"workInHoliday": true,
"scheduleItems": [
{}
]
},
"deliveryRules": [
{
"minDeliveryDays": 0,
"maxDeliveryDays": 0,
"deliveryServiceId": 0,
"orderBefore": 0,
"priceFreePickup": 0.5,
"unspecifiedDeliveryInterval": true
}
],
"storagePeriod": 0
}
}
|
Name |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
outlet |
Type: object All of 2 types
Information about the point of sale. Example
|
400 Bad Request
The request contains incorrect data. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
401 Unauthorized
The authorization data is not specified in the request. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
403 Forbidden
The authorization data is incorrect or access to the resource is prohibited. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
404 Not Found
The requested resource was not found. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
420 Method Failure
The resource access limit has been exceeded. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
500 Internal Server Error
Internal error of the Market. More information about the error
Body
application/json
{
"status": "OK"
}
Type: object
No longer supported, please use an alternative and newer version.