Store adapter — NuORDER¶
The adapter object contains properties for connecting to the NuORDER API.
Parent object: a store with property "platform" : "nu_order"
Required properties¶
The following adapter properties are required for NuORDER stores.
application¶
| Property | application |
|---|---|
| Name | Application Type |
| Data type | string |
| Accepted values |
|
| Required? | Yes |
consumer_key¶
| Property | consumer_key |
|---|---|
| Name | Consumer Key |
| Data type | string |
| Required? | Yes |
consumer_secret¶
| Property | consumer_secret |
|---|---|
| Name | Consumer Secret |
| Data type | string |
| Required? | Yes |
Optional properties¶
The following adapter properties are optional for NuORDER stores.
token¶
| Property | token |
|---|---|
| Name | Token |
| Data type | string |
token_secret¶
| Property | token_secret |
|---|---|
| Name | Token Secret |
| Data type | string |
Example¶
Example: create a new NuORDER 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 NuORDER Store",
"platform": "nu_order",
"adapter": {
"application": "wholesale",
"consumer_key": "abc123",
"consumer_secret": "abc123",
"token": "abc123",
"token_secret": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.
