Returns the current Store. Read more about Stores
JavaScript
const options = {method: 'GET'}; fetch('https://demo.spreecommerce.org/api/v2/storefront/store', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
200
Store without includes
Specify what related resources (relationships) you would like to receive in the response body. Eg.
default_country
More information
Specify the fields you would like returned in the response body. More information.
200 Success - Returns the store object.
store
Stores are the center of the Spree ecosystem. Each Spree installation can have multiple Stores. Each Store operates on a different domain or subdomain.
Show child attributes
Was this page helpful?