Store adapter — QuickBooks Online¶
The adapter
object contains properties for connecting to the QuickBooks Online API.
Parent object: a store with property "platform" : "quickbooks"
Required properties¶
The following adapter
properties are required for QuickBooks Online stores.
company_id
¶
Property | company_id |
---|---|
Name | QuickBooks Online Company ID |
Data type | string |
Required? | Yes |
token
¶
Property | token |
---|---|
Name | QuickBooks Online API Token |
Data type | string |
Required? | Yes |
token_secret
¶
Property | token_secret |
---|---|
Name | QuickBooks Online API Secret |
Data type | string |
Required? | Yes |
Example¶
Example: create a new QuickBooks Online 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 QuickBooks Online Store",
"platform": "quickbooks",
"adapter": {
"company_id": "abc123",
"token": "abc123",
"token_secret": "abc123"
}
}
EOF
For details about this request type, see: Create a new store.