Skip to content

Store adapter — Yahoo

The adapter object contains properties for connecting to the Yahoo API.

Parent object: a store with property "platform" : "yahoo_merchant_solutions"

Required properties

The following adapter properties are required for Yahoo stores.

access_token

Propertyaccess_token
NameYahoo API Access Token
Data typestring
RequirementsMust be a valid token starting with 1.0_
Example"1.0_xxxxxx"
Required?Yes

store_id

Propertystore_id
NameYahoo Store ID
Data typestring
RequirementsMust be a valid Store ID beginning with yhst-
Example"yhst-xxxxxx"
Required?Yes

Optional properties

The following adapter properties are optional for Yahoo stores.

import_orders_after_order_id

Propertyimport_orders_after_order_id
NameStarting Order ID
DescriptionIf specified, only orders with IDs subsequent to this ID are imported
Data typestring
Default"1"
Example"12345"

look_back_days

Propertylook_back_days
NameOrder Look Back (Days)
DescriptionLook back this number of days for orders to import
Data typeinteger
Default0
Example1

Example

Example: create a new Yahoo 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 Yahoo Store",
  "platform": "yahoo_merchant_solutions",
  "adapter": {
    "store_id": "yhst-abc123",
    "access_token": "1.0_abc123",
    "import_orders_after_order_id": "12345",
    "look_back_days": "42"
  }
}
EOF

For details about this request type, see: Create a new store.