Developer : Store

Manage applications

The /store resource is a convenience method that includes every resource to which your token has access. For tokens that have been granted the storefront scope the response includes Products, and Metadata. For tokens that have been granted the admin scope the response includes the first page of unfulfilled Orders, Coupons, Facebook Pages, Payment Methods, Shipping Groups, Tax Groups, and Users. Tokens with both storefront and admin scopes will get everything.

Resource URI

/api/v1/store

Method Scope Required
GET storefront or admin

Properties

Property Methods Description
products GET The first page of the store's Products (For storefront-scoped tokens)
metadata GET The store Metadata (For storefront-scoped tokens)
orders GET The first page of unfulfilled Orders (For admin-scoped tokens)
coupons GET A list of the store's Coupons (For admin-scoped tokens)
facebook_pages GET A list of the store's Facebook Pages (For admin-scoped tokens)
payment_methods GET A list of the store's enabled Payment Methods (For admin-scoped tokens)
shipping_groups GET A list of the store's Shipping Groups (For admin-scoped tokens)
tax_groups GET A list of the store's Tax Groups (For admin-scoped tokens)
users GET A list of the store's Users (For admin-scoped tokens)

Subresources

None

Example

curl -H "Authorization: Bearer ba125ac086" \
    https://goodsie.com/api/v1/store
{
    "products": [
        ...
    ], 
    "metadata": {
        ...
    }
}