docs/v2/storefront/index.yaml in spree_api-4.5.5 vs docs/v2/storefront/index.yaml in spree_api-4.6.0
- old
+ new
@@ -1,10 +1,10 @@
openapi: 3.0.3
servers:
- url: 'https://demo.spreecommerce.org'
description: demo
- - url: 'http://localhost:3000'
+ - url: 'http://localhost:4000'
description: localhost
info:
version: 2.0.0
title: Storefront API
description: |-
@@ -61,10 +61,13 @@
type: string
example: John
last_name:
type: string
example: Snow
+ selected_locale:
+ type: string
+ example: 'en'
password:
type: string
example: spree123
password_confirmation:
type: string
@@ -108,10 +111,13 @@
type: string
example: John
last_name:
type: string
example: Snow
+ selected_locale:
+ type: string
+ example: 'fr'
bill_address_id:
type: string
example: '1'
ship_address_id:
type: string
@@ -1911,11 +1917,11 @@
nullable: true
required:
- id
- type
- attributes
- x-internal: true
+ x-internal: false
AddressPayload:
example:
firstname: John
lastname: Snow
address1: 7735 Old Georgetown Road
@@ -1924,11 +1930,11 @@
phone: '3014445002'
zipcode: '20814'
state_name: MD
country_iso: US
type: object
- x-internal: true
+ x-internal: false
title: ''
x-examples: {}
description: ''
properties:
firstname:
@@ -1971,11 +1977,11 @@
- country_iso
Cart:
description: 'The Cart provides a central place to collect information about an order, including line items, adjustments, payments, addresses, and shipments. [Read more in Spree docs](https://dev-docs.spreecommerce.org/internals/orders)'
type: object
title: Cart
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2179,11 +2185,11 @@
- id
- type
- attributes
- relationships
CartIncludes:
- x-internal: true
+ x-internal: false
title: Cart Includes
anyOf:
- $ref: '#/components/schemas/LineItem'
- $ref: '#/components/schemas/Promotion'
- $ref: '#/components/schemas/Variant'
@@ -2195,11 +2201,11 @@
description: ''
CmsPage:
type: object
title: CMS Page
description: 'The CMS Page model contains page data for Standard pages, Feature Pages and Homepages.'
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '5'
type:
@@ -2248,20 +2254,20 @@
- id
- type
- attributes
- relationships
CmsPageIncludes:
- x-internal: true
+ x-internal: false
title: CMS Page Includes
allOf:
- $ref: '#/components/schemas/CmsSection'
description: Hello!
CmsSection:
type: object
title: CMS Section
description: The CMS Section model represents a single section belonging to a CMS Page. CMS Sections can link to other resources through the `linked_resource`.
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
description: ''
@@ -2359,11 +2365,11 @@
- relationships
Country:
title: Country
description: 'Countries within Spree are used as a container for states. Countries can be zone members, and also link to an address. The difference between one country and another on an address record can determine which tax rates and shipping methods are used for the order.[Read more about Countries in Spree](https://dev-docs.spreecommerce.org/internals/addresses#countries)'
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2405,18 +2411,18 @@
- id
- type
- attributes
- relationships
CountryIncludes:
- x-internal: true
+ x-internal: false
title: Country Includes
oneOf:
- $ref: '#/components/schemas/State'
CreditCard:
title: Credit Card
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2465,26 +2471,26 @@
- id
- type
- attributes
- relationships
CreditCardIncludes:
- x-internal: true
+ x-internal: false
title: Credit Card Includes
allOf:
- $ref: '#/components/schemas/PaymentMethod'
Error:
- x-internal: true
+ x-internal: false
title: Error
type: object
properties:
error:
type: string
Icon:
type: object
description: 'The Icon object contains a url attribute pointing to an Active Storage asset. '
title: Icon
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2524,30 +2530,30 @@
required:
- id
- type
- attributes
title: Image
- x-internal: true
+ x-internal: false
ImageStyle:
- x-internal: true
+ x-internal: false
title: Image Style
type: object
properties:
url:
type: string
- example: 'http://localhost:3000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJbWQyWVhKcFlXNTBjeTltWm1sMmRURlNORFpZWjJaSFpYUkdZMjk2WWsxM1RHWXZNVGs1T1RCak5XVmlNamN4TlRnd1pqVTBabUpqTWpCbFkyVXhZMlZpTTJFd05ERTJZemMzT0dKaE5tSTFNREkyT0dKaFpqa3paV1JtWTJWaE16aGxaQVk2QmtWVSIsImV4cCI6IjIwMTgtMDYtMjRUMTM6NTk6NTguOTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--5e9ff358dc747f73754e332678c5762114ac6f3f/ror_jr_spaghetti.jpeg?content_type=image%2Fjpeg&disposition=inline%3B+filename%3D%22ror_jr_spaghetti.jpeg%22%3B+filename%2A%3DUTF-8%27%27ror_jr_spaghetti.jpeg'
+ example: 'http://localhost:4000/rails/active_storage/disk/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJbWQyWVhKcFlXNTBjeTltWm1sMmRURlNORFpZWjJaSFpYUkdZMjk2WWsxM1RHWXZNVGs1T1RCak5XVmlNamN4TlRnd1pqVTBabUpqTWpCbFkyVXhZMlZpTTJFd05ERTJZemMzT0dKaE5tSTFNREkyT0dKaFpqa3paV1JtWTJWaE16aGxaQVk2QmtWVSIsImV4cCI6IjIwMTgtMDYtMjRUMTM6NTk6NTguOTY5WiIsInB1ciI6ImJsb2Jfa2V5In19--5e9ff358dc747f73754e332678c5762114ac6f3f/ror_jr_spaghetti.jpeg?content_type=image%2Fjpeg&disposition=inline%3B+filename%3D%22ror_jr_spaghetti.jpeg%22%3B+filename%2A%3DUTF-8%27%27ror_jr_spaghetti.jpeg'
description: Absolute URL of the uploaded image in selected style (width/height)
width:
type: integer
example: 1920
description: Actual width of image
height:
type: integer
example: 1080
description: Actual height of image
ListLinks:
- x-internal: true
+ x-internal: false
type: object
title: Pagination Links
properties:
self:
type: string
@@ -2564,11 +2570,11 @@
first:
type: string
description: URL to the first page of the listing
ListMeta:
type: object
- x-internal: true
+ x-internal: false
title: Pagination Meta
properties:
count:
type: number
example: 7
@@ -2582,11 +2588,11 @@
example: 10
description: Number of all pages containing items matching the criteria
LineItem:
title: Line Item
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2691,11 +2697,11 @@
- relationships
description: ''
Menu:
type: object
title: Menu
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '2'
type:
@@ -2732,11 +2738,11 @@
- attributes
- relationships
MenuItem:
title: Menu Item
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2821,22 +2827,22 @@
- id
- type
- attributes
- relationships
MenuIncludes:
- x-internal: true
+ x-internal: false
title: Menu Includes
anyOf:
- $ref: '#/components/schemas/MenuItem'
- $ref: '#/components/schemas/Taxon'
- $ref: '#/components/schemas/Product'
- $ref: '#/components/schemas/CmsPage'
- $ref: '#/components/schemas/Icon'
OptionType:
title: Option Type
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2860,11 +2866,11 @@
- attributes
Payment:
title: Payment
type: object
description: ''
- x-internal: true
+ x-internal: false
properties:
id:
type: string
type:
type: string
@@ -2916,11 +2922,11 @@
- relationships
PaymentMethod:
title: Payment Method
description: ''
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -2946,11 +2952,11 @@
- type
- attributes
Product:
type: object
title: Product
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3014,10 +3020,13 @@
nullable: true
display_compare_at_price:
type: string
example: $49.99
nullable: true
+ localized_slugs:
+ type: object
+ description: Provides product's slugs in other locales
relationships:
type: object
properties:
variants:
type: object
@@ -3075,20 +3084,20 @@
- id
- type
- attributes
- relationships
ProductIncludes:
- x-internal: true
+ x-internal: false
title: Product Includes
anyOf:
- $ref: '#/components/schemas/OptionType'
- $ref: '#/components/schemas/ProductProperty'
- $ref: '#/components/schemas/Variant'
- $ref: '#/components/schemas/Image'
- $ref: '#/components/schemas/Taxon'
StoreIncludes:
- x-internal: true
+ x-internal: false
title: Store Includes
anyOf:
- $ref: '#/components/schemas/Country'
- $ref: '#/components/schemas/Menu'
- $ref: '#/components/schemas/CmsPage'
@@ -3119,11 +3128,11 @@
example: Manufacturer
required:
- id
- type
- attributes
- x-internal: true
+ x-internal: false
Promotion:
type: object
title: Promotion
properties:
id:
@@ -3152,11 +3161,11 @@
example: BLK-FRI
required:
- id
- type
- attributes
- x-internal: true
+ x-internal: false
Relation:
type: object
nullable: true
properties:
id:
@@ -3164,11 +3173,11 @@
type:
type: string
required:
- id
- type
- x-internal: true
+ x-internal: false
description: ''
State:
type: object
description: 'States within Spree are used to scope address data slightly more than country. States are useful for tax purposes, as different states in a country may impose different tax rates on different products. In addition to this, different states may cause different tax rates and shipping methods to be used for an order, similar to how countries affect it also.'
title: State
@@ -3179,16 +3188,16 @@
description: State abbreviation
name:
type: string
example: New York
description: State name
- x-internal: true
+ x-internal: false
Store:
type: object
description: Stores are the center of the Spree ecosystem. Each Spree installation can have multiple Stores. Each Store operates on a different domain or subdomain.
title: Store
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3299,11 +3308,11 @@
- attributes
- relationships
Shipment:
type: object
title: Shipment
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3369,20 +3378,20 @@
- id
- type
- attributes
- relationships
ShipmentIncludes:
- x-internal: true
+ x-internal: false
title: Shipment Includes
allOf:
- $ref: '#/components/schemas/ShippingRate'
- $ref: '#/components/schemas/StockLocation'
ShippingRate:
type: object
title: Shipping Rate
description: ''
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
nullable: true
@@ -3432,11 +3441,11 @@
- type
- attributes
StockLocation:
title: Stock Location
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3453,11 +3462,11 @@
- type
- attributes
Taxon:
title: Taxon
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3516,10 +3525,13 @@
example: false
description: Returns true if this is the end of a branch of this Taxonomy tree
updated_at:
type: string
example: '2018-06-18T10:57:29.704Z'
+ localized_slugs:
+ type: object
+ description: Provides taxon's slugs in other locales
relationships:
type: object
properties:
parent:
type: object
@@ -3584,22 +3596,22 @@
required:
- id
- type
- attributes
title: Taxon Image
- x-internal: true
+ x-internal: false
TaxonIncludes:
- x-internal: true
+ x-internal: false
title: Taxon Includes
anyOf:
- $ref: '#/components/schemas/Product'
- $ref: '#/components/schemas/TaxonImage'
- $ref: '#/components/schemas/Taxonomy'
Taxonomy:
type: object
title: Taxonomy
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3620,19 +3632,19 @@
- attributes
Timestamp:
type: string
format: date-time
example: '2020-02-16T07:14:54.617Z'
- x-internal: true
+ x-internal: false
title: Time Stamp
x-examples:
example-1: '2020-02-16T07:14:54.617Z'
User:
type: object
title: User
description: ' '
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3648,10 +3660,13 @@
type: string
example: John
last_name:
type: string
example: Doe
+ selected_locale:
+ type: string
+ example: 'fr'
store_credits:
type: number
example: 150.75
completed_orders:
type: number
@@ -3685,11 +3700,11 @@
Variant:
title: Variant
description: 'Variant records track the individual variants of a Product. Variants are of two types: master variants and normal variants.'
x-examples: {}
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -3767,11 +3782,11 @@
- type
- attributes
- relationships
WishedItem:
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
type:
type: string
@@ -3801,19 +3816,19 @@
- id
- type
- attributes
- relationships
WishedItemIncludes:
- x-internal: true
+ x-internal: false
title: Wished Item Includes
allOf:
- $ref: '#/components/schemas/Variant'
Wishlist:
description: ''
type: object
title: Wishlist
- x-internal: true
+ x-internal: false
properties:
id:
type: string
type:
type: string
@@ -3847,18 +3862,18 @@
- id
- type
- attributes
- relationships
WishlistIncludes:
- x-internal: true
+ x-internal: false
title: Wishlist Includes
allOf:
- $ref: '#/components/schemas/WishedItem'
DigitalLink:
title: Digital Link
type: object
- x-internal: true
+ x-internal: false
properties:
id:
type: string
example: '1'
type:
@@ -4801,15 +4816,15 @@
meta:
count: 1
total_count: 1
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/account/orders'
- next: 'http://localhost:3000/api/v2/storefront/account/orders?page=1'
- prev: 'http://localhost:3000/api/v2/storefront/account/orders?page=1'
- last: 'http://localhost:3000/api/v2/storefront/account/orders?page=1'
- first: 'http://localhost:3000/api/v2/storefront/account/orders?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/account/orders'
+ next: 'http://localhost:4000/api/v2/storefront/account/orders?page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/account/orders?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/account/orders?page=1'
+ first: 'http://localhost:4000/api/v2/storefront/account/orders?page=1'
Including all related objects:
value:
data:
- id: '18'
type: cart
@@ -5076,15 +5091,15 @@
meta:
count: 1
total_count: 1
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/account/orders?include=line_items,variants,variants.images,billing_address,shipping_address,user,payments,shipments,promotions'
- next: 'http://localhost:3000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
- prev: 'http://localhost:3000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
- last: 'http://localhost:3000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
- first: 'http://localhost:3000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
+ self: 'http://localhost:4000/api/v2/storefront/account/orders?include=line_items,variants,variants.images,billing_address,shipping_address,user,payments,shipments,promotions'
+ next: 'http://localhost:4000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
+ last: 'http://localhost:4000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
+ first: 'http://localhost:4000/api/v2/storefront/account/orders?include=line_items%2Cvariants%2Cvariants.images%2Cbilling_address%2Cshipping_address%2Cuser%2Cpayments%2Cshipments%2Cpromotions&page=1'
User:
description: 200 Success - Returns the `user` object.
content:
application/vnd.api+json:
schema:
@@ -5107,10 +5122,11 @@
type: user
attributes:
email: spree@example.com
first_name: John
last_name: Snow
+ selected_locale: 'en'
store_credits: 0
completed_orders: 0
public_metadata:
user_segment: supplier
relationships:
@@ -5250,15 +5266,15 @@
meta:
count: 3
total_count: 3
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/account/addresses'
- next: 'http://localhost:3000/api/v2/storefront/account/addresses?page=1'
- prev: 'http://localhost:3000/api/v2/storefront/account/addresses?page=1'
- last: 'http://localhost:3000/api/v2/storefront/account/addresses?page=1'
- first: 'http://localhost:3000/api/v2/storefront/account/addresses?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/account/addresses'
+ next: 'http://localhost:4000/api/v2/storefront/account/addresses?page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/account/addresses?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/account/addresses?page=1'
+ first: 'http://localhost:4000/api/v2/storefront/account/addresses?page=1'
Address:
description: 200 Success - Returns the `address` object.
content:
application/vnd.api+json:
schema:
@@ -5698,15 +5714,15 @@
meta:
count: 6
total_count: 6
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/cms_pages'
- next: 'http://localhost:3000/api/v2/storefront/cms_pages?page=1'
- prev: 'http://localhost:3000/api/v2/storefront/cms_pages?page=1'
- last: 'http://localhost:3000/api/v2/storefront/cms_pages?page=1'
- first: 'http://localhost:3000/api/v2/storefront/cms_pages?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/cms_pages'
+ next: 'http://localhost:4000/api/v2/storefront/cms_pages?page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/cms_pages?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/cms_pages?page=1'
+ first: 'http://localhost:4000/api/v2/storefront/cms_pages?page=1'
CMS Pages with Included Sections:
value:
data:
- id: '1'
type: cms_page
@@ -6197,15 +6213,15 @@
meta:
count: 6
total_count: 6
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/cms_pages?include=cms_sections'
- next: 'http://localhost:3000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
- prev: 'http://localhost:3000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
- last: 'http://localhost:3000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
- first: 'http://localhost:3000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
+ self: 'http://localhost:4000/api/v2/storefront/cms_pages?include=cms_sections'
+ next: 'http://localhost:4000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
+ last: 'http://localhost:4000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
+ first: 'http://localhost:4000/api/v2/storefront/cms_pages?include=cms_sections&page=1'
CreditCard:
description: 200 Success - Returns the `credit_card` object.
content:
application/vnd.api+json:
schema:
@@ -6311,15 +6327,15 @@
meta:
count: 2
total_count: 2
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/account/credit_cards'
- next: 'http://localhost:3000/api/v2/storefront/account/credit_cards?page=0'
- prev: 'http://localhost:3000/api/v2/storefront/account/credit_cards?page=1'
- last: 'http://localhost:3000/api/v2/storefront/account/credit_cards?page=0'
- first: 'http://localhost:3000/api/v2/storefront/account/credit_cards?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/account/credit_cards'
+ next: 'http://localhost:4000/api/v2/storefront/account/credit_cards?page=0'
+ prev: 'http://localhost:4000/api/v2/storefront/account/credit_cards?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/account/credit_cards?page=0'
+ first: 'http://localhost:4000/api/v2/storefront/account/credit_cards?page=1'
Product:
description: 200 Success - Returns the `product` object.
content:
application/vnd.api+json:
schema:
@@ -6355,10 +6371,14 @@
currency: USD
price: '38.99'
display_price: $38.99
compare_at_price: null
display_compare_at_price: null
+ localized_slugs:
+ en: bomber-jacket
+ de: bomberjacke
+ fr: blouson
relationships:
variants:
data:
- id: '212'
type: variant
@@ -8544,15 +8564,15 @@
- value: Theta
filter_param: theta
- value: Zeta
filter_param: zeta
links:
- self: 'http://localhost:3000/api/v2/storefront/products'
- next: 'http://localhost:3000/api/v2/storefront/products?page=2'
- prev: 'http://localhost:3000/api/v2/storefront/products?page=1'
- last: 'http://localhost:3000/api/v2/storefront/products?page=5'
- first: 'http://localhost:3000/api/v2/storefront/products?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/products'
+ next: 'http://localhost:4000/api/v2/storefront/products?page=2'
+ prev: 'http://localhost:4000/api/v2/storefront/products?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/products?page=5'
+ first: 'http://localhost:4000/api/v2/storefront/products?page=1'
Store:
description: 200 Success - Returns the `store` object.
content:
application/vnd.api+json:
schema:
@@ -8721,10 +8741,14 @@
depth: 1
updated_at: '2021-10-02T11:03:15.118Z'
is_root: false
is_child: true
is_leaf: true
+ localized_slugs:
+ en: categories/summer-sale
+ de: kategorien/sommerschlussverkauf
+ fr: categories/soldes-dete
relationships:
parent:
data:
id: '1'
type: taxon
@@ -11904,15 +11928,15 @@
meta:
count: 25
total_count: 26
total_pages: 2
links:
- self: 'http://localhost:3000/api/v2/storefront/taxons'
- next: 'http://localhost:3000/api/v2/storefront/taxons?page=2'
- prev: 'http://localhost:3000/api/v2/storefront/taxons?page=1'
- last: 'http://localhost:3000/api/v2/storefront/taxons?page=2'
- first: 'http://localhost:3000/api/v2/storefront/taxons?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/taxons'
+ next: 'http://localhost:4000/api/v2/storefront/taxons?page=2'
+ prev: 'http://localhost:4000/api/v2/storefront/taxons?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/taxons?page=2'
+ first: 'http://localhost:4000/api/v2/storefront/taxons?page=1'
Country:
description: 200 Success - Returns the `country` object.
content:
application/vnd.api+json:
schema:
@@ -15210,15 +15234,15 @@
meta:
count: 240
total_count: 240
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/countries'
- next: 'http://localhost:3000/api/v2/storefront/countries?page=1&per_page=240'
- prev: 'http://localhost:3000/api/v2/storefront/countries?page=1&per_page=240'
- last: 'http://localhost:3000/api/v2/storefront/countries?page=1&per_page=240'
- first: 'http://localhost:3000/api/v2/storefront/countries?page=1&per_page=240'
+ self: 'http://localhost:4000/api/v2/storefront/countries'
+ next: 'http://localhost:4000/api/v2/storefront/countries?page=1&per_page=240'
+ prev: 'http://localhost:4000/api/v2/storefront/countries?page=1&per_page=240'
+ last: 'http://localhost:4000/api/v2/storefront/countries?page=1&per_page=240'
+ first: 'http://localhost:4000/api/v2/storefront/countries?page=1&per_page=240'
Shipment:
description: '200 Success - Returns an array containing several `shipment` objects, along with the included array containing all available `shipping_rate` and `stock_location` objects. '
content:
application/vnd.api+json:
schema:
@@ -16217,15 +16241,15 @@
meta:
count: 2
total_count: 2
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/menus'
- next: 'http://localhost:3000/api/v2/storefront/menus?page=1'
- prev: 'http://localhost:3000/api/v2/storefront/menus?page=1'
- last: 'http://localhost:3000/api/v2/storefront/menus?page=1'
- first: 'http://localhost:3000/api/v2/storefront/menus?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/menus'
+ next: 'http://localhost:4000/api/v2/storefront/menus?page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/menus?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/menus?page=1'
+ first: 'http://localhost:4000/api/v2/storefront/menus?page=1'
Wishlist:
description: 200 Success - Returns the `wishlist` object.
content:
application/vnd.api+json:
schema:
@@ -16359,14 +16383,14 @@
meta:
count: 3
total_count: 3
total_pages: 1
links:
- self: 'http://localhost:3000/api/v2/storefront/wishlists?is_variant_included=150'
- next: 'http://localhost:3000/api/v2/storefront/wishlists?page=1'
- prev: 'http://localhost:3000/api/v2/storefront/wishlists?page=1'
- last: 'http://localhost:3000/api/v2/storefront/wishlists?page=1'
- first: 'http://localhost:3000/api/v2/storefront/wishlists?page=1'
+ self: 'http://localhost:4000/api/v2/storefront/wishlists?is_variant_included=150'
+ next: 'http://localhost:4000/api/v2/storefront/wishlists?page=1'
+ prev: 'http://localhost:4000/api/v2/storefront/wishlists?page=1'
+ last: 'http://localhost:4000/api/v2/storefront/wishlists?page=1'
+ first: 'http://localhost:4000/api/v2/storefront/wishlists?page=1'
WishedItem:
description: 200 Success - Returns an array of `wished_item` objects.
content:
application/vnd.api+json:
schema: