Skip to content

Store adapter — Newegg Marketplace

The adapter object contains properties for connecting to the Newegg Marketplace API.

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

Required properties

The following adapter properties are required for Newegg Marketplace stores.

api_key

Propertyapi_key
NameNewegg API Key
Data typestring
Required?Yes

secret_key

Propertysecret_key
NameNewegg Seller Secret Key
Data typestring
Required?Yes

seller_id

Propertyseller_id
NameNewegg Seller ID
Data typestring
Required?Yes

Optional properties

The following adapter properties are optional for Newegg Marketplace stores.

marketplace_id

Propertymarketplace_id
NameMarketplace
Data typestring
Accepted values
  • "us" — for US (.com)
  • "ca" — for Canada (.ca)
Default"us"

Example

Example: create a new Newegg Marketplace 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 Newegg Marketplace Store",
  "platform": "newegg",
  "adapter": {
    "api_key": "abc123",
    "secret_key": "abc123",
    "seller_id": "abc123",
    "marketplace_id": "us"
  }
}
EOF

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