收到验收证书
方法适用于模式FBS.
如果您使用API-Key令牌,调用该方法时需要具备列表中可用权限之一
- inventory-and-order-processing — 订单处理和商品核算
- all-methods — 全面管理账户
Express-派递
如果您的商店连接到快递,并且您将订单发送给快递员 氨纶去,不需要准备验收证书。
请求生成包含在装运中的订单的接受和转移行为,并以格式返回该行为 PDF. 该报告包含已收集并准备装运的订单。
该方法仅适用于已确认的货件。 首先,通过请求确认装运 POST v2/campaigns/{campaignId}/shipments/{shipmentId}/confirm 然后调用此方法。
在形成行为时,市场会自动查找并将以下数据插入模板:
市场生成报告的数据
|
报告中的数据 |
资料描述 |
|
日期 |
请求的日期。 |
|
寄件人 |
您的法律实体的名称显示在商家的帐户在市场上. |
|
遗嘱执行人 |
分拣中心或送货服务的法人实体的名称。 |
|
客户系统中的货件编号 |
该字段不再使用 您在响应请求时提供的订单ID |
|
承包商(分包商)系统中的货件编号 |
市场上的订单ID,如查询输出: |
|
申报价值 |
订单的总金额,不包括运费,如查询输出所示: |
|
重量 |
货物区域的总重量(包裹和内容物的总重量),如查询输出中所示: |
|
座位数目 |
订单中的货位数,如查询输出所示: |
在打印的报表中,指定发件人和承包商。 他们必须签署该法案,并在签名旁边注明他们的姓氏和首字母。 如有必要,还要填写委托书的详细信息。
| ⚙️ 限制: 每小时100个请求 |
|---|
Request
GET
https://api.partner.market.yandex.ru/v2/campaigns/{campaignId}/first-mile/shipments/{shipmentId}/act
Path parameters
|
Name |
Description |
|
campaignId* |
Type: integer<int64> 活动ID。 您可以使用查询找到它 GET v2/campaigns 或者在市场上的卖家办公室找到 — 点击您的帐户图标→ 设置 在左边的菜单中,选择 Api和模块:
⚠️ 不要发送商店ID,这是在市场上的卖家帐户旁边的商店名称和一些报告。
Min value: |
|
shipmentId* |
Type: integer<int64> 装运ID。 Min value: |
Responses
200 OK
格式为装运的验收和转让证书 PDF.
Body
application/pdf
Type: string
Format: binary
400 Bad Request
请求包含不正确的数据。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
401 Unauthorized
请求中未指定授权数据。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
403 Forbidden
授权数据不正确或禁止访问资源。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
404 Not Found
找不到请求的资源。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
420 Method Failure
已超出资源访问限制。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
500 Internal Server Error
市场的内部错误。 有关错误的更多信息
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
|
Name |
Description |
|
errors |
Type: object[] 错误列表。 Min items: |
|
status |
Type: string 响应的类型。 可能的值:
Enum: |
No longer supported, please use an alternative and newer version.