收到验收证书
方法适用于模式FBS.
如果您使用API-Key令牌,调用该方法时需要具备列表中可用权限之一
- inventory-and-order-processing — 订单处理和商品核算
- all-methods — 全面管理账户
Express-派递
如果您的商店连接到快递,并且您将订单发送给快递员 氨纶去,不需要准备验收证书。
请求生成包含在装运中的订单的接受和转移行为,并以格式返回该行为 PDF. 该报告包含已收集并准备装运的订单。
在形成行为时,市场会自动查找并将以下数据插入模板:
市场生成报告的数据
|
报告中的数据 |
资料描述 |
|
日期 |
请求的日期。 |
|
寄件人 |
您的法律实体的名称显示在卖方的帐户在市场上. |
|
遗嘱执行人 |
分拣中心或送货服务的法人实体的名称。 |
|
客户系统中的货件编号 |
该字段不再使用 您在响应请求时提供的订单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}/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: 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.