确认最近的装运和收到验收证书
方法适用于模式FBS.
如果您使用API-Key令牌,调用该方法时需要具备列表中可用权限之一
- inventory-and-order-processing — 订单处理和商品核算
- all-methods — 全面管理账户
请求确认下一批货,并按格式返回验收证书 PDF.
Express-派递
如果您的商店连接到快递,并且您将订单发送给快递员 氨纶去,不需要准备验收证书。
该法案包括收集和准备装运的订单,运到分拣中心或提货点或市场快递。
在形成行为时,市场会自动查找并将以下数据插入模板:
市场生成报告的数据
|
报告中的数据 |
资料描述 |
|
寄件人 |
您的法律实体的名称显示在卖方的帐户在市场上. |
|
遗嘱执行人 |
分拣中心或送货服务的法人实体的名称。 |
|
客户系统中的货件编号 |
该字段不再使用 您在响应请求时提供的订单ID |
|
承包商(分包商)系统中的货件编号 |
市场上订单的ID,如请求输出 GET v2/campaigns/{campaignId}/orders. |
|
申报价值 |
不包括运费的订单总额,如请求输出所示 GET v2/campaigns/{campaignId}/orders 或 GET v2/campaigns/{campaignId}/orders/{orderId}. |
|
订单中所有物品的成本 |
所有订购物品的成本。 |
|
重量 |
货物区域的总重量(包裹和内容物的总重量),如请求输出中所示 GET v2/campaigns/{campaignId}/orders 或 GET v2/campaigns/{campaignId}/orders/{orderId}. |
|
座位数目 |
订单中的货位数,如请求输出所示 GET v2/campaigns/{campaignId}/orders 或 GET v2/campaigns/{campaignId}/orders/{orderId}. |
在打印的报表中,指定发件人和承包商。 他们必须签署该法案,并在签名旁边注明他们的姓氏和首字母。 如有必要,还要填写委托书的详细信息。
| ⚙️ 限制: 每小时100个请求 |
|---|
Request
GET
https://api.partner.market.yandex.ru/v2/campaigns/{campaignId}/shipments/reception-transfer-act
Path parameters
|
Name |
Description |
|
campaignId* |
Type: integer<int64> 活动ID。 您可以使用查询找到它 GET v2/campaigns 或者在市场上的卖家办公室找到 — 点击您的帐户图标→ 设置 在左边的菜单中,选择 Api和模块:
⚠️ 不要发送商店ID,这是在市场上的卖家帐户旁边的商店名称和一些报告。
Min value: |
Query parameters
|
Name |
Description |
|
signatory |
Type: string Yandex ID中用户的用户名,将代表其签署电子验收证书。 指定没有 在哪里找到它: |
|
warehouse_id |
Type: integer<int32> 仓库ID。 Min value: |
Responses
200 OK
格式的验收和转让证书 PDF.
Body
application/pdf
Type: string
Format: binary
400 Bad Request
请求包含不正确的数据。 有关错误的更多信息
| 资料描述 | 解释说明 | 解决方法 |
|---|---|---|
| Closest shipment for reception transfer act generation not found | 状态的出货量 可以处理 没有找到。 | 创建采购订单或等待现有订单升级到所需状态。 |
| No orders for closest shipment have been processed yet | 下一批货没有订单. | 检查订单是否有参数 status 这很重要 PROCESSING,而参数 substatus — READY_TO_SHIP. 您可以使用查询获取订单的状态和发货日期 GET v2/campaigns/{campaignId}/orders 和 GET v2/campaigns/{campaignId}/orders/{orderId},更改订单状态 — 使用查询 PUT v2/campaigns/{campaignId}/orders/{orderId}/status 和 POST v2/campaigns/{campaignId}/orders/status-更新. |
| Some orders are in the process of being excluded from shipment {orders id}. Please wait up to 30 minutes and try again | 最近的货件中正在从中删除的订单id。 | 转移订单最多需要30分钟。 等待传输完成,然后重试。 |
| Some orders have not been processed yet. Please change the status of orders to READY_TO_SHIP and try again. {orders id} | 最近货件中尚未处理的订单id。 | 发送具有指定Id的订单 status: PROCESSING 和 substatus: READY_TO_SHIP 然后再试一次。 您可以使用查询更改订单状态 PUT v2/campaigns/{campaignId}/orders/{orderId}/status 和 POST v2/campaigns/{campaignId}/orders/status-更新. |
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
ApiErrorDTO
一般错误格式。
|
Name |
Description |
|
code* |
Type: string 的错误代码。 |
|
message |
Type: string 错误的描述。 |
ApiResponseStatusType
响应的类型。 可能的值:
OK— 没有错误。ERROR— 处理请求时出错。
|
Type |
Description |
|
Enum: |
401 Unauthorized
请求中未指定授权数据。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
403 Forbidden
授权数据不正确或禁止访问资源。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
404 Not Found
找不到请求的资源。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
420 Method Failure
已超出资源访问限制。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
500 Internal Server Error
市场的内部错误。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: ApiErrorDTO[] 错误列表。 Min items: |
|
status |
Type: ApiResponseStatusType 响应的类型。 可能的值:
Enum: |
No longer supported, please use an alternative and newer version.