OPEN-API-English
  1. Product
OPEN-API-English
  • Default Group
    • Product
      • Create/Edit Products
        POST
      • Create Product Identification Code
        POST
      • Query SKU
        POST
      • SKU Batch Query
        POST
    • Inbound Plan
      • Create Inbound Plan
      • Inbound Plan Shipping Operation
      • Add Inbound Plan Attachment
      • Cancel Inbound Plan
      • Inbound Plan Information Query
    • Inventory
      • Batch Inventory Query
      • Inventory Query
      • Batch Query of Inventory Age
    • Orders
      • Create Sales Order (with attachments)
      • Get Order Details
      • Orders - Query List
      • Order Attachment Upload
      • Cancel Order
  1. Product

Create Product Identification Code

POST
/v1/product/createProductAlias
Product

Request

Header Params
x-api-key
string 
required
Example:
abc123
Content-Type
string 
required
Example:
application/json
Body Params application/json
sku
string 
required
SKU
aliases
array[string]
required
Product Alias
Example
{
    "sku": "string",
    "aliases": [
        "string"
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/v1/product/createProductAlias' \
--header 'x-api-key: abc123' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sku": "string",
    "aliases": [
        "string"
    ]
}'

Responses

🟢200成功
application/json
Body
code
string 
required
"Return code, 200 is success
message
string 
required
Return description
Example
{
  "statusCode": 200,
  "status": 0,
  "code": 200,
  "message": "添加成功"
}
🟢200失败
Modified at 2023-12-07 21:49:57
Previous
Create/Edit Products
Next
Query SKU
Built with