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

Create Store

Developing
POST
/api/shopify_stores

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "shopify_order": {        
        "store_id": 4621,
        "shipping_address": {
            "name": "wreqwr",
            "phone": "23544525",
            "email": "2342423",
            "zip": "23424",
            "country_code": "CA",
            "province_code": "232423",
            "city": "sfa",
            "address1": "sdfasdf, sadfsa, sa,,sadfas, asdf"
        },
        "line_items": [
            {
                "shopify_product_variant_id": 3497832,
                "quantity": "2"
            },
            {
                "shopify_product_variant_id": 3497831,
                "quantity": "3"
            }
        ]
    }
}

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/shopify_stores' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "shopify_order": {        
        "store_id": 4621,
        "shipping_address": {
            "name": "wreqwr",
            "phone": "23544525",
            "email": "2342423",
            "zip": "23424",
            "country_code": "CA",
            "province_code": "232423",
            "city": "sfa",
            "address1": "sdfasdf, sadfsa, sa,,sadfas, asdf"
        },
        "line_items": [
            {
                "shopify_product_variant_id": 3497832,
                "quantity": "2"
            },
            {
                "shopify_product_variant_id": 3497831,
                "quantity": "3"
            }
        ]
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 11040,
    "name": "store name",
    "email": "test@gmail.com",
    "domain": "fulfilmentchina.com",
    "myshopify_domain": "xytest.myshopify.com",
    "created_at": "2024-07-18T02:53:47.420Z",
    "updated_at": "2024-07-18T02:53:47.420Z",
    "source_platform": "shopify"
}
Modified at 2024-07-18 09:26:07
Previous
Get Token
Next
Stores List
Built with