Backend
  1. Client API Document
Backend
  • CLIENT
    • Client API Document
      • Get 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
  1. Client API Document

Upload Image (via URL)

Developing
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 application/json

Example
{
    "remote_image_url": "https://cbu01.alicdn.com/img/ibank/O1CN01iEqZAB1qfaJoJH56G_!!2215460585523-0-cib.jpg"
}

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 --request POST 'http://stage-client.dropshippinglite.com/api/products/upload' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "remote_image_url": "https://cbu01.alicdn.com/img/ibank/O1CN01iEqZAB1qfaJoJH56G_!!2215460585523-0-cib.jpg"
}'

Responses

🟢200success
application/json
Body

Example
{"url":"https://ns-stage.oss-cn-hongkong.aliyuncs.com/202407/26bc41baaab9f2ff3b26ebbc92758935.jpg"}
Modified at 2024-07-18 09:30:01
Previous
Upload Image (via File)
Next
Create Store Product
Built with