Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"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
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
application/json {
"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