Store adapter — Sears¶
The adapter
object contains properties for connecting to the Sears API.
Parent object: a store with property "platform" : "sears"
Required properties¶
The following adapter
properties are required for Sears stores.
authorization_key
¶
Property | authorization_key |
---|---|
Name | Sears Account Authorization Key |
Data type | string |
Required? | Yes |
email
¶
Property | email |
---|---|
Name | Sears Account Email Address |
Data type | string |
Requirements | Must be a valid email address |
Required? | Yes |
location_id
¶
Property | location_id |
---|---|
Name | Sears Warehouse Location ID |
Data type | string |
Required? | Yes |
seller_id
¶
Property | seller_id |
---|---|
Name | Sears Account Seller ID |
Data type | string |
Required? | Yes |
Example¶
Example: create a new Sears store
curl -X POST \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "Content-Type: application/json" \
https://api.getdropstream.com/stores \
-d @- <<EOF
{ "customer_id": "3775",
"name": "Your Sears Store",
"platform": "sears",
"adapter": {
"email": "example@email.com",
"seller_id": "abc123",
"authorization_key": "abc123",
"location_id": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.