API GUIDE
Etomars API Guide CN
Etomars API Guide CN
  • Wellcome!
  • API Guide
    • API基本信息
    • Invoice
      • get
      • add
      • delete
      • update
      • label
    • Product
      • get
      • add
    • Inbound
      • get
      • add
    • Outbound
      • get
    • Inventory
      • get
    • Sales site
      • qoo10
  • Etc
    • API 변경 로그
Powered by GitBook
On this page
  1. API Guide
  2. Invoice

label

是配送标签相关页面。

PreviousupdateNextProduct

Last updated 11 months ago

/barcode : 配送标签PDF回馈

  • /barcode : 配送标签PDF回馈
  • POST配送条形码PDF返回

配送条形码PDF返回

post

返回配送条形码的PDF。

Body
LabelTypestringOptional
FileTypestringOptional
RegNoListstring[]Optional
ApiKeystringRequired

APIKey Test KEY:7abd72462c794016849abe4be

Responses
200
sucess
400
Valid Fail
post
POST /api/v1/invoice/label/barcode HTTP/1.1
Host: api.etomars.com
Content-Type: application/json
Accept: */*
Content-Length: 118

{
  "LabelType": "L1",
  "FileType": "pdf",
  "RegNoList": [
    "SJ702369889TH",
    "SJ702369890US"
  ],
  "ApiKey": "XXXXXXXXXXXXXXXXXXXXXXXXX"
}
{
  "Data": [
    {
      "FileType": "text",
      "LabelType": "text",
      "LabelWidth": 1,
      "LabelHeight": 1,
      "Base64": "text"
    }
  ],
  "Message": "text",
  "Code": 1
}