1. Client API Document
Backend
  • 默认模块
    • CLIENT
      • Client API Document
        • Get Token
          POST
        • Get Login Token
          POST
        • Create Store
          POST
        • Stores List
          GET
        • Store Details
          GET
        • Delete Store
          DELETE
        • Upload Image (via File)
          POST
        • Upload Image (via URL)
          POST
        • Create Store Product
          POST
        • Store Product Details
          GET
        • Update Store Product
          PUT
        • Create Order
          POST
        • Search Invoices
          GET
        • Invoice Details
          GET
        • Batch Query SKU by variant_id
          POST
  1. Client API Document

Upload Image (via File)

POST
/api/products/upload

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

Request Code 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 'http://stage-client.dropshippinglite.com/api/products/upload' \
--header 'Authorization: Bearer <token>' \
--form 'upload_image=@"/Users/elite/Documents/wall&demoImg/demo.jpg"'

Responses

🟢200成功
application/json
Bodyapplication/json

Example
{
    "url": "https://ns-stage.oss-cn-hongkong.aliyuncs.com/202407/4b73eb94cd895cf267df8313eb1ac1df.jpg"
}
Modified at 2026-05-09 08:34:21
Previous
Delete Store
Next
Upload Image (via URL)
Built with