store
object¶
A store
object contains the properties that define a DropStream store.
Store objects are managed by the /stores
endpoint.
store
properties¶
The following are the properties of a store
object.
id
¶
Property | id |
---|---|
Data type | integer |
Description | Unique ID, assigned when the store object is created |
Note | In other contexts, "store_id" refers to this property |
Example | 12345 |
customer_id
¶
Property | customer_id |
---|---|
Data type | integer |
Description | Unique ID of the customer associated with the store |
Example | 23456 |
name
¶
Property | name |
---|---|
Data type | string |
Description | Store name |
Example | "My Store" |
description
¶
Property | description |
---|---|
Data type | string |
Description | Store description |
Example | "Store Description" |
url
¶
Property | url |
---|---|
Data type | string, or null |
Description | Store URL |
Example | "https://mystore.com" |
Default | null |
platform
¶
Property | platform |
---|---|
Data type | string |
Description | A platform string specifying the store platform |
Example | "shopify" |
adapter
¶
Property | adapter |
---|---|
Data type | adapter object |
Description | Platform-specific API credentials and settings |
Example |
|
created_at
¶
Property | created_at |
---|---|
Data type | dateString |
Description | Date when the store was created |
Example | "2020-08-19T14:57:20.000Z" |
enabled_at
¶
Property | enabled_at |
---|---|
Data type | dateString, or null |
Description | Date when the store was last enabled, or null if currently disabled |
More info | |
Example | "2020-08-19T14:57:20.000Z" |
order_imported_at
¶
Property | order_imported_at |
---|---|
Data type | dateString |
Description | Date when orders were last imported for the store, or null if order import has not yet occurred |
Example | "2020-08-19T14:59:20.000Z" |
inventory_updated_at
¶
Property | inventory_updated_at |
---|---|
Data type | dateString |
Description | Date when inventory was last updated for the store, or null if inventory update has not yet occurred, or is unsupported by the platform |
Example | "2020-08-19T15:01:20.000Z" |
Example store
object¶
{
"id": 5603,
"customer_id": 3775,
"name": "My Amazon Store",
"description": "Store Description",
"url": "https://mystore.com",
"platform": "shopify",
"adapter": {
"shop_name" : "mystore",
"access_token" : "abc123",
"enable_sku_instance" : true,
"exclude_empty_orders" : false,
"include_partial_fulfillments" : true,
"location_id" : 3,
"order_import_financial_status" : [ "Paid", "Partially Paid" ]
},
"created_at": "2020-08-19T14:57:20.000Z",
"enabled_at": "2020-08-19T14:57:20.000Z",
"order_imported_at": "2020-08-19T14:57:20.000Z",
"inventory_updated_at": null
},