Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Resolve conflicts and add StoreCreditType docs

Aleksandar Petrushevb6c6447dd619
diff --cc api/docs/v2/platform/index.yaml
index 4b98523b98,79a908d3a2..b002bfbc14
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@@ -70,8 -70,8 +70,8 @@@ paths
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-10T08:37:54.033Z'
- updated_at: '2021-11-10T08:37:54.033Z'
- created_at: '2021-11-09T11:27:13.437Z'
- updated_at: '2021-11-09T11:27:13.437Z'
++ created_at: '2021-11-10T10:23:17.012Z'
++ updated_at: '2021-11-10T10:23:17.012Z'
deleted_at:
label:
public_metadata: {}
@@@ -100,8 -100,8 +100,8 @@@
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-10T08:37:54.048Z'
- updated_at: '2021-11-10T08:37:54.048Z'
- created_at: '2021-11-09T11:27:13.443Z'
- updated_at: '2021-11-09T11:27:13.443Z'
++ created_at: '2021-11-10T10:23:17.018Z'
++ updated_at: '2021-11-10T10:23:17.018Z'
deleted_at:
label:
public_metadata: {}
@@@ -177,8 -177,8 +177,8 @@@
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-10T08:37:54.419Z'
- updated_at: '2021-11-10T08:37:54.419Z'
- created_at: '2021-11-09T11:27:13.798Z'
- updated_at: '2021-11-09T11:27:13.798Z'
++ created_at: '2021-11-10T10:23:17.416Z'
++ updated_at: '2021-11-10T10:23:17.416Z'
deleted_at:
label:
public_metadata: {}
@@@ -274,8 -274,8 +274,8 @@@
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-10T08:37:54.493Z'
- updated_at: '2021-11-10T08:37:54.493Z'
- created_at: '2021-11-09T11:27:13.878Z'
- updated_at: '2021-11-09T11:27:13.878Z'
++ created_at: '2021-11-10T10:23:17.506Z'
++ updated_at: '2021-11-10T10:23:17.506Z'
deleted_at:
label:
public_metadata: {}
@@@ -356,8 -356,8 +356,8 @@@
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-10T08:37:54.604Z'
- updated_at: '2021-11-10T08:37:54.617Z'
- created_at: '2021-11-09T11:27:13.978Z'
- updated_at: '2021-11-09T11:27:13.994Z'
++ created_at: '2021-11-10T10:23:17.631Z'
++ updated_at: '2021-11-10T10:23:17.644Z'
deleted_at:
label:
public_metadata: {}
@@@ -503,8 -503,8 +503,8 @@@
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-10T08:37:54.974Z'
- updated_at: '2021-11-10T08:37:54.974Z'
- created_at: '2021-11-09T11:27:14.324Z'
- updated_at: '2021-11-09T11:27:14.324Z'
++ created_at: '2021-11-10T10:23:18.092Z'
++ updated_at: '2021-11-10T10:23:18.092Z'
state: open
included: false
display_amount: "$100.00"
@@@ -530,8 -530,8 +530,8 @@@
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-10T08:37:55.006Z'
- updated_at: '2021-11-10T08:37:55.006Z'
- created_at: '2021-11-09T11:27:14.351Z'
- updated_at: '2021-11-09T11:27:14.351Z'
++ created_at: '2021-11-10T10:23:18.137Z'
++ updated_at: '2021-11-10T10:23:18.137Z'
state: open
included: false
display_amount: "$100.00"
@@@ -604,8 -604,8 +604,8 @@@
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-10T08:37:55.404Z'
- updated_at: '2021-11-10T08:37:55.404Z'
- created_at: '2021-11-09T11:27:14.740Z'
- updated_at: '2021-11-09T11:27:14.740Z'
++ created_at: '2021-11-10T10:23:18.580Z'
++ updated_at: '2021-11-10T10:23:18.580Z'
state: open
included: false
display_amount: "$100.00"
@@@ -687,8 -687,8 +687,8 @@@
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-10T08:37:55.591Z'
- updated_at: '2021-11-10T08:37:55.598Z'
- created_at: '2021-11-09T11:27:14.955Z'
- updated_at: '2021-11-09T11:27:14.983Z'
++ created_at: '2021-11-10T10:23:18.920Z'
++ updated_at: '2021-11-10T10:23:18.927Z'
state: open
included: false
display_amount: "$1.00"
@@@ -766,8 -766,8 +766,8 @@@
label: New label
mandatory:
eligible: true
- created_at: '2021-11-10T08:37:56.059Z'
- updated_at: '2021-11-10T08:37:56.078Z'
- created_at: '2021-11-09T11:27:15.317Z'
- updated_at: '2021-11-09T11:27:15.335Z'
++ created_at: '2021-11-10T10:23:19.276Z'
++ updated_at: '2021-11-10T10:23:19.297Z'
state: open
included: false
display_amount: "$15.00"
@@@ -907,8 -907,8 +907,8 @@@
type: classification
attributes:
position: 1
- created_at: '2021-11-10T08:37:57.027Z'
- updated_at: '2021-11-10T08:37:57.027Z'
- created_at: '2021-11-09T11:27:16.235Z'
- updated_at: '2021-11-09T11:27:16.235Z'
++ created_at: '2021-11-10T10:23:20.294Z'
++ updated_at: '2021-11-10T10:23:20.294Z'
relationships:
product:
data:
@@@ -922,8 -922,8 +922,8 @@@
type: classification
attributes:
position: 1
- created_at: '2021-11-10T08:37:57.154Z'
- updated_at: '2021-11-10T08:37:57.154Z'
- created_at: '2021-11-09T11:27:16.339Z'
- updated_at: '2021-11-09T11:27:16.339Z'
++ created_at: '2021-11-10T10:23:20.412Z'
++ updated_at: '2021-11-10T10:23:20.412Z'
relationships:
product:
data:
@@@ -984,8 -984,8 +984,8 @@@
type: classification
attributes:
position: 1
- created_at: '2021-11-10T08:37:57.804Z'
- updated_at: '2021-11-10T08:37:57.804Z'
- created_at: '2021-11-09T11:27:17.064Z'
- updated_at: '2021-11-09T11:27:17.064Z'
++ created_at: '2021-11-10T10:23:21.150Z'
++ updated_at: '2021-11-10T10:23:21.150Z'
relationships:
product:
data:
@@@ -1052,8 -1052,8 +1052,8 @@@
type: classification
attributes:
position: 1
- created_at: '2021-11-10T08:37:58.070Z'
- updated_at: '2021-11-10T08:37:58.070Z'
- created_at: '2021-11-09T11:27:17.303Z'
- updated_at: '2021-11-09T11:27:17.303Z'
++ created_at: '2021-11-10T10:23:21.433Z'
++ updated_at: '2021-11-10T10:23:21.433Z'
relationships:
product:
data:
@@@ -1119,8 -1119,8 +1119,8 @@@
type: classification
attributes:
position: 1
- created_at: '2021-11-10T08:37:58.554Z'
- updated_at: '2021-11-10T08:37:58.554Z'
- created_at: '2021-11-09T11:27:17.788Z'
- updated_at: '2021-11-09T11:27:17.788Z'
++ created_at: '2021-11-10T10:23:21.994Z'
++ updated_at: '2021-11-10T10:23:21.994Z'
relationships:
product:
data:
@@@ -1242,8 -1242,8 +1242,8 @@@
type: classification
attributes:
position: 2
- created_at: '2021-11-10T08:37:59.749Z'
- updated_at: '2021-11-10T08:37:59.786Z'
- created_at: '2021-11-09T11:27:18.969Z'
- updated_at: '2021-11-09T11:27:18.998Z'
++ created_at: '2021-11-10T10:23:23.308Z'
++ updated_at: '2021-11-10T10:23:23.340Z'
relationships:
product:
data:
@@@ -1348,36 -1348,35 +1348,35 @@@
- id: '1'
type: cms_page
attributes:
- title: Sed eveniet perspiciatis porro occaecati corporis accusantium
- vitae temporibus.
- title: Recusandae officia maiores suscipit quibusdam id.
++ title: Illo suscipit quasi nisi cumque.
meta_title:
content:
meta_description:
visible: true
- slug: sed-eveniet-perspiciatis-porro-occaecati-corporis-accusantium-vitae-temporibus
- slug: recusandae-officia-maiores-suscipit-quibusdam-id
++ slug: illo-suscipit-quasi-nisi-cumque
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-10T08:38:00.325Z'
- updated_at: '2021-11-10T08:38:00.325Z'
- created_at: '2021-11-09T11:27:19.531Z'
- updated_at: '2021-11-09T11:27:19.531Z'
++ created_at: '2021-11-10T10:23:23.966Z'
++ updated_at: '2021-11-10T10:23:23.966Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Autem temporibus distinctio atque voluptatum nobis
- eius alias.
- title: Velit voluptatum a provident iste temporibus ratione
- quia perspiciatis.
++ title: Voluptas neque et porro earum dolore cupiditate perferendis
++ temporibus.
meta_title:
content:
meta_description:
visible: true
- slug: autem-temporibus-distinctio-atque-voluptatum-nobis-eius-alias
- slug: velit-voluptatum-a-provident-iste-temporibus-ratione-quia-perspiciatis
++ slug: voluptas-neque-et-porro-earum-dolore-cupiditate-perferendis-temporibus
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-10T08:38:00.330Z'
- updated_at: '2021-11-10T08:38:00.330Z'
- created_at: '2021-11-09T11:27:19.536Z'
- updated_at: '2021-11-09T11:27:19.536Z'
++ created_at: '2021-11-10T10:23:23.971Z'
++ updated_at: '2021-11-10T10:23:23.971Z'
relationships:
cms_sections:
data: []
@@@ -1431,17 -1430,17 +1430,18 @@@
id: '5'
type: cms_page
attributes:
- title: Deleniti dolore odio laborum modi ratione in.
- title: Eius sunt tenetur eaque unde nemo occaecati quaerat.
++ title: Minus laboriosam iure eveniet consectetur voluptatum
++ ratione sint soluta.
meta_title:
content:
meta_description:
visible: true
- slug: deleniti-dolore-odio-laborum-modi-ratione-in
- slug: eius-sunt-tenetur-eaque-unde-nemo-occaecati-quaerat
++ slug: minus-laboriosam-iure-eveniet-consectetur-voluptatum-ratione-sint-soluta
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-10T08:38:00.468Z'
- updated_at: '2021-11-10T08:38:00.468Z'
- created_at: '2021-11-09T11:27:19.659Z'
- updated_at: '2021-11-09T11:27:19.659Z'
++ created_at: '2021-11-10T10:23:24.118Z'
++ updated_at: '2021-11-10T10:23:24.118Z'
relationships:
cms_sections:
data: []
@@@ -1507,17 -1506,18 +1507,18 @@@
id: '6'
type: cms_page
attributes:
- title: Illo nihil qui exercitationem ipsum quisquam rerum.
- title: Fugiat molestiae aspernatur aliquid facere impedit
- odit commodi.
++ title: Delectus dolores ipsa magni saepe alias architecto
++ ducimus.
meta_title:
content:
meta_description:
visible: true
- slug: illo-nihil-qui-exercitationem-ipsum-quisquam-rerum
- slug: fugiat-molestiae-aspernatur-aliquid-facere-impedit-odit-commodi
++ slug: delectus-dolores-ipsa-magni-saepe-alias-architecto-ducimus
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-10T08:38:00.545Z'
- updated_at: '2021-11-10T08:38:00.545Z'
- created_at: '2021-11-09T11:27:19.727Z'
- updated_at: '2021-11-09T11:27:19.727Z'
++ created_at: '2021-11-10T10:23:24.200Z'
++ updated_at: '2021-11-10T10:23:24.200Z'
relationships:
cms_sections:
data: []
@@@ -1581,12 -1581,12 +1582,12 @@@
content:
meta_description:
visible: true
- slug: natus-nobis-aliquid-voluptas-alias-occaecati-cum-fugiat
- slug: quo-aspernatur-occaecati-ex-debitis-numquam-veniam-ratione
++ slug: omnis-ab-architecto-officia-vitae-iusto
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-10T08:38:00.663Z'
- updated_at: '2021-11-10T08:38:00.676Z'
- created_at: '2021-11-09T11:27:19.834Z'
- updated_at: '2021-11-09T11:27:19.857Z'
++ created_at: '2021-11-10T10:23:24.341Z'
++ updated_at: '2021-11-10T10:23:24.356Z'
relationships:
cms_sections:
data: []
@@@ -1715,7 -1715,7 +1716,7 @@@
- id: '1'
type: cms_section
attributes:
- name: Commodi esse quas asperiores laboriosam voluptate.
- name: Accusamus expedita vel aut asperiores fugit.
++ name: Inventore atque ullam expedita facilis voluptate a.
content: {}
settings:
gutters: No Gutters
@@@ -1724,8 -1724,8 +1725,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-11-10T08:38:00.979Z'
- updated_at: '2021-11-10T08:38:00.979Z'
- created_at: '2021-11-09T11:27:20.135Z'
- updated_at: '2021-11-09T11:27:20.135Z'
++ created_at: '2021-11-10T10:23:24.688Z'
++ updated_at: '2021-11-10T10:23:24.688Z'
relationships:
cms_page:
data:
@@@ -1736,8 -1736,7 +1737,7 @@@
- id: '2'
type: cms_section
attributes:
- name: Perspiciatis maiores error odio beatae doloribus totam
- placeat.
- name: Iure quidem reprehenderit minima quisquam fugiat.
++ name: Ipsa dolorem eveniet ipsum deleniti.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@@ -1749,8 -1748,8 +1749,8 @@@
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2021-11-10T08:38:00.985Z'
- updated_at: '2021-11-10T08:38:00.985Z'
- created_at: '2021-11-09T11:27:20.139Z'
- updated_at: '2021-11-09T11:27:20.139Z'
++ created_at: '2021-11-10T10:23:24.694Z'
++ updated_at: '2021-11-10T10:23:24.694Z'
relationships:
cms_page:
data:
@@@ -1761,8 -1760,7 +1761,7 @@@
- id: '3'
type: cms_section
attributes:
- name: At repellat facilis aliquid possimus sit totam quisquam
- minus.
- name: Amet aperiam possimus harum aliquam sequi omnis.
++ name: Incidunt numquam corporis id dicta quidem sit.
content: {}
settings:
gutters: No Gutters
@@@ -1771,8 -1769,8 +1770,8 @@@
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-11-10T08:38:00.996Z'
- updated_at: '2021-11-10T08:38:00.996Z'
- created_at: '2021-11-09T11:27:20.154Z'
- updated_at: '2021-11-09T11:27:20.154Z'
++ created_at: '2021-11-10T10:23:24.707Z'
++ updated_at: '2021-11-10T10:23:24.707Z'
relationships:
cms_page:
data:
@@@ -1783,7 -1781,7 +1782,7 @@@
- id: '4'
type: cms_section
attributes:
- name: Facilis corporis fuga tempore quia inventore earum accusamus.
- name: Ratione molestiae sapiente non optio.
++ name: Harum ullam voluptatem autem illum quo.
content: {}
settings:
gutters: No Gutters
@@@ -1792,8 -1790,8 +1791,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-10T08:38:01.011Z'
- updated_at: '2021-11-10T08:38:01.011Z'
- created_at: '2021-11-09T11:27:20.166Z'
- updated_at: '2021-11-09T11:27:20.166Z'
++ created_at: '2021-11-10T10:23:24.720Z'
++ updated_at: '2021-11-10T10:23:24.720Z'
relationships:
cms_page:
data:
@@@ -1806,7 -1804,7 +1805,8 @@@
- id: '5'
type: cms_section
attributes:
- name: Ipsam sapiente minus maiores veniam.
- name: Minima quaerat nulla explicabo odio consequuntur tempora.
++ name: Accusamus excepturi consequatur explicabo officiis rem
++ occaecati consequuntur quod.
content: {}
settings:
gutters: No Gutters
@@@ -1815,8 -1813,8 +1815,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-11-10T08:38:01.024Z'
- updated_at: '2021-11-10T08:38:01.024Z'
- created_at: '2021-11-09T11:27:20.178Z'
- updated_at: '2021-11-09T11:27:20.178Z'
++ created_at: '2021-11-10T10:23:24.733Z'
++ updated_at: '2021-11-10T10:23:24.733Z'
relationships:
cms_page:
data:
@@@ -1876,8 -1874,8 +1876,8 @@@
id: '13'
type: cms_section
attributes:
- name: Voluptatibus ducimus sapiente dignissimos itaque distinctio
- aliquid.
- name: Eos consequatur quia provident animi dolores asperiores
- eveniet.
++ name: Itaque recusandae distinctio voluptas inventore architecto
++ sequi enim et.
content: {}
settings:
gutters: No Gutters
@@@ -1886,8 -1884,8 +1886,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-11-10T08:38:01.301Z'
- updated_at: '2021-11-10T08:38:01.301Z'
- created_at: '2021-11-09T11:27:20.416Z'
- updated_at: '2021-11-09T11:27:20.416Z'
++ created_at: '2021-11-10T10:23:25.050Z'
++ updated_at: '2021-11-10T10:23:25.050Z'
relationships:
cms_page:
data:
@@@ -1962,7 -1960,7 +1962,8 @@@
id: '19'
type: cms_section
attributes:
- name: Similique ipsa quia ratione eveniet adipisci deserunt.
- name: Vitae optio voluptas tempora eveniet quidem minus.
++ name: Fugiat eos laudantium fugit laborum delectus unde voluptatibus
++ corporis.
content: {}
settings:
gutters: No Gutters
@@@ -1971,8 -1969,8 +1972,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-10T08:38:01.527Z'
- updated_at: '2021-11-10T08:38:01.527Z'
- created_at: '2021-11-09T11:27:20.606Z'
- updated_at: '2021-11-09T11:27:20.606Z'
++ created_at: '2021-11-10T10:23:25.330Z'
++ updated_at: '2021-11-10T10:23:25.330Z'
relationships:
cms_page:
data:
@@@ -2046,8 -2044,8 +2047,8 @@@
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Product
- created_at: '2021-11-10T08:38:01.874Z'
- updated_at: '2021-11-10T08:38:01.891Z'
- created_at: '2021-11-09T11:27:20.905Z'
- updated_at: '2021-11-09T11:27:20.921Z'
++ created_at: '2021-11-10T10:23:25.698Z'
++ updated_at: '2021-11-10T10:23:25.716Z'
relationships:
cms_page:
data:
@@@ -2167,9 -2165,9 +2168,9 @@@
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-11-10T08:38:02.604Z'
- updated_at: '2021-11-09T11:27:21.545Z'
++ updated_at: '2021-11-10T10:23:26.514Z'
zipcode_required: true
- created_at: '2021-11-10T08:38:02.604Z'
- created_at: '2021-11-09T11:27:21.545Z'
++ created_at: '2021-11-10T10:23:26.514Z'
relationships:
states:
data: []
@@@ -2182,9 -2180,9 +2183,9 @@@
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-11-10T08:38:02.613Z'
- updated_at: '2021-11-09T11:27:21.553Z'
++ updated_at: '2021-11-10T10:23:26.522Z'
zipcode_required: true
- created_at: '2021-11-10T08:38:02.613Z'
- created_at: '2021-11-09T11:27:21.553Z'
++ created_at: '2021-11-10T10:23:26.522Z'
relationships:
states:
data: []
@@@ -2197,9 -2195,9 +2198,9 @@@
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-11-10T08:38:02.615Z'
- updated_at: '2021-11-09T11:27:21.556Z'
++ updated_at: '2021-11-10T10:23:26.525Z'
zipcode_required: true
- created_at: '2021-11-10T08:38:02.615Z'
- created_at: '2021-11-09T11:27:21.556Z'
++ created_at: '2021-11-10T10:23:26.525Z'
relationships:
states:
data: []
@@@ -2258,9 -2256,9 +2259,9 @@@
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-11-10T08:38:02.703Z'
- updated_at: '2021-11-09T11:27:21.642Z'
++ updated_at: '2021-11-10T10:23:26.618Z'
zipcode_required: true
- created_at: '2021-11-10T08:38:02.703Z'
- created_at: '2021-11-09T11:27:21.642Z'
++ created_at: '2021-11-10T10:23:26.618Z'
relationships:
states:
data: []
@@@ -2318,7 -2316,7 +2319,7 @@@
- id: '1'
type: digital_link
attributes:
- token: 2HuSgvQi7o1ymTy3T3BRxe2X
- token: 8zjcPXtzfvc4ViNjeXa2jjFk
++ token: 17hry8MUF4s3fBUwvWyaTnrt
access_counter: 0
relationships:
digital:
@@@ -2332,7 -2330,7 +2333,7 @@@
- id: '2'
type: digital_link
attributes:
- token: xGwCGHgCVpwf62mNtHArrBsF
- token: 1meiSdDM3YkWrgjGeseDzj4V
++ token: dJdvtaGrzbqLZLjiuBRkiF8B
access_counter: 0
relationships:
digital:
@@@ -2386,7 -2384,7 +2387,7 @@@
id: '5'
type: digital_link
attributes:
- token: FQcwAa3etjGifx6nJVvnKaiu
- token: sg2GGb3yMWYrVJ4C1Vcdx3Q9
++ token: 5sJVmC7rt6ccWfwi7oPTYoru
access_counter: 0
relationships:
digital:
@@@ -2449,7 -2447,7 +2450,7 @@@
id: '6'
type: digital_link
attributes:
- token: stojpUvF1uu6mLvWtsJQUKEB
- token: ZudXzDxVutNErAQ9X2Xg2Aok
++ token: kGKmBnBwawUSLsXomxy9wXU8
access_counter: 0
relationships:
digital:
@@@ -2508,7 -2506,7 +2509,7 @@@
id: '8'
type: digital_link
attributes:
- token: WC1MdKcLk9V1B1bmDU238XWu
- token: zwFyXZiqS5K5BiMUxFL2SWnd
++ token: CLJKuW94Ts1qdq1UKYxWVZUf
access_counter: 0
relationships:
digital:
@@@ -2623,7 -2621,7 +2624,7 @@@
id: '13'
type: digital_link
attributes:
- token: Tg8sn1Sh9HwJYFjW8iYb4Kwo
- token: EvYHmkSBso7N6tcrfhVZPvcE
++ token: fJvUgUcL81H7fnV3YmqracUX
access_counter: 0
relationships:
digital:
@@@ -3040,8 -3038,8 +3041,8 @@@
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-10T08:38:15.352Z'
- updated_at: '2021-11-10T08:38:15.364Z'
- created_at: '2021-11-09T11:27:33.359Z'
- updated_at: '2021-11-09T11:27:33.370Z'
++ created_at: '2021-11-10T10:23:39.956Z'
++ updated_at: '2021-11-10T10:23:39.968Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@@ -3089,8 -3087,8 +3090,8 @@@
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-10T08:38:15.413Z'
- updated_at: '2021-11-10T08:38:15.422Z'
- created_at: '2021-11-09T11:27:33.415Z'
- updated_at: '2021-11-09T11:27:33.422Z'
++ created_at: '2021-11-10T10:23:40.027Z'
++ updated_at: '2021-11-10T10:23:40.037Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@@ -3185,8 -3183,8 +3186,8 @@@
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-10T08:38:15.788Z'
- updated_at: '2021-11-10T08:38:15.831Z'
- created_at: '2021-11-09T11:27:33.740Z'
- updated_at: '2021-11-09T11:27:33.787Z'
++ created_at: '2021-11-10T10:23:40.437Z'
++ updated_at: '2021-11-10T10:23:40.477Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@@ -3290,8 -3288,8 +3291,8 @@@
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-10T08:38:16.068Z'
- updated_at: '2021-11-10T08:38:16.099Z'
- created_at: '2021-11-09T11:27:34.002Z'
- updated_at: '2021-11-09T11:27:34.011Z'
++ created_at: '2021-11-10T10:23:40.722Z'
++ updated_at: '2021-11-10T10:23:40.734Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@@ -3391,8 -3389,8 +3392,8 @@@
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-11-10T08:38:16.651Z'
- updated_at: '2021-11-10T08:38:16.715Z'
- created_at: '2021-11-09T11:27:34.342Z'
- updated_at: '2021-11-09T11:27:34.396Z'
++ created_at: '2021-11-10T10:23:41.126Z'
++ updated_at: '2021-11-10T10:23:41.193Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@@ -3444,10 -3442,10 +3445,10 @@@
examples:
Example:
value:
- error: 'Quantity selected of "Product #130 - 4665" is not available.'
- error: 'Quantity selected of "Product #130 - 5339" is not available.'
++ error: 'Quantity selected of "Product #130 - 5861" is not available.'
errors:
quantity:
- - 'selected of "Product #130 - 4665" is not available.'
- - 'selected of "Product #130 - 5339" is not available.'
++ - 'selected of "Product #130 - 5861" is not available.'
schema:
"$ref": "#/components/schemas/validation_errors"
'404':
@@@ -3567,8 -3565,8 +3568,8 @@@
lft: 2
rgt: 3
depth: 1
- created_at: '2021-11-10T08:38:17.748Z'
- updated_at: '2021-11-10T08:38:17.755Z'
- created_at: '2021-11-09T11:27:35.256Z'
- updated_at: '2021-11-09T11:27:35.263Z'
++ created_at: '2021-11-10T10:23:42.178Z'
++ updated_at: '2021-11-10T10:23:42.185Z'
link:
is_container: false
is_root: false
@@@ -3604,8 -3602,8 +3605,8 @@@
lft: 4
rgt: 5
depth: 1
- created_at: '2021-11-10T08:38:17.846Z'
- updated_at: '2021-11-10T08:38:17.852Z'
- created_at: '2021-11-09T11:27:35.348Z'
- updated_at: '2021-11-09T11:27:35.354Z'
++ created_at: '2021-11-10T10:23:42.270Z'
++ updated_at: '2021-11-10T10:23:42.276Z'
link:
is_container: false
is_root: false
@@@ -3641,8 -3639,8 +3642,8 @@@
lft: 6
rgt: 7
depth: 1
- created_at: '2021-11-10T08:38:17.935Z'
- updated_at: '2021-11-10T08:38:17.941Z'
- created_at: '2021-11-09T11:27:35.440Z'
- updated_at: '2021-11-09T11:27:35.446Z'
++ created_at: '2021-11-10T10:23:42.363Z'
++ updated_at: '2021-11-10T10:23:42.370Z'
link:
is_container: false
is_root: false
@@@ -3678,8 -3676,8 +3679,8 @@@
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-10T08:38:18.027Z'
- updated_at: '2021-11-10T08:38:18.034Z'
- created_at: '2021-11-09T11:27:35.537Z'
- updated_at: '2021-11-09T11:27:35.544Z'
++ created_at: '2021-11-10T10:23:42.482Z'
++ updated_at: '2021-11-10T10:23:42.489Z'
link:
is_container: false
is_root: false
@@@ -3715,8 -3713,8 +3716,8 @@@
lft: 10
rgt: 11
depth: 1
- created_at: '2021-11-10T08:38:18.117Z'
- updated_at: '2021-11-10T08:38:18.123Z'
- created_at: '2021-11-09T11:27:35.627Z'
- updated_at: '2021-11-09T11:27:35.633Z'
++ created_at: '2021-11-10T10:23:42.577Z'
++ updated_at: '2021-11-10T10:23:42.584Z'
link:
is_container: false
is_root: false
@@@ -3752,8 -3750,8 +3753,8 @@@
lft: 12
rgt: 13
depth: 1
- created_at: '2021-11-10T08:38:18.208Z'
- updated_at: '2021-11-10T08:38:18.214Z'
- created_at: '2021-11-09T11:27:35.718Z'
- updated_at: '2021-11-09T11:27:35.724Z'
++ created_at: '2021-11-10T10:23:42.680Z'
++ updated_at: '2021-11-10T10:23:42.687Z'
link:
is_container: false
is_root: false
@@@ -3789,8 -3787,8 +3790,8 @@@
lft: 14
rgt: 15
depth: 1
- created_at: '2021-11-10T08:38:18.295Z'
- updated_at: '2021-11-10T08:38:18.301Z'
- created_at: '2021-11-09T11:27:35.808Z'
- updated_at: '2021-11-09T11:27:35.814Z'
++ created_at: '2021-11-10T10:23:42.774Z'
++ updated_at: '2021-11-10T10:23:42.781Z'
link:
is_container: false
is_root: false
@@@ -3816,7 -3814,7 +3817,7 @@@
- id: '1'
type: menu_item
attributes:
- name: Mollitia adipisci provident ad fuga dolor.
- name: Pariatur dolore molestiae animi iure impedit itaque.
++ name: Vitae aspernatur natus necessitatibus deleniti tempore.
subtitle:
destination:
new_window: false
@@@ -3826,8 -3824,8 +3827,8 @@@
lft: 1
rgt: 16
depth: 0
- created_at: '2021-11-10T08:38:17.655Z'
- updated_at: '2021-11-10T08:38:18.314Z'
- created_at: '2021-11-09T11:27:35.169Z'
- updated_at: '2021-11-09T11:27:35.826Z'
++ created_at: '2021-11-10T10:23:42.090Z'
++ updated_at: '2021-11-10T10:23:42.795Z'
link:
is_container: true
is_root: true
@@@ -3920,8 -3918,8 +3921,8 @@@
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-10T08:38:19.473Z'
- updated_at: '2021-11-10T08:38:19.481Z'
- created_at: '2021-11-09T11:27:36.927Z'
- updated_at: '2021-11-09T11:27:36.933Z'
++ created_at: '2021-11-10T10:23:43.948Z'
++ updated_at: '2021-11-10T10:23:43.956Z'
link:
is_container: false
is_root: false
@@@ -4011,8 -4009,8 +4012,8 @@@
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-10T08:38:20.246Z'
- updated_at: '2021-11-10T08:38:20.252Z'
- created_at: '2021-11-09T11:27:37.641Z'
- updated_at: '2021-11-09T11:27:37.647Z'
++ created_at: '2021-11-10T10:23:44.744Z'
++ updated_at: '2021-11-10T10:23:44.750Z'
link:
is_container: false
is_root: false
@@@ -4100,8 -4098,8 +4101,8 @@@
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-10T08:38:21.427Z'
- updated_at: '2021-11-10T08:38:21.462Z'
- created_at: '2021-11-09T11:27:38.810Z'
- updated_at: '2021-11-09T11:27:38.847Z'
++ created_at: '2021-11-10T10:23:46.001Z'
++ updated_at: '2021-11-10T10:23:46.044Z'
link:
is_container: false
is_root: false
@@@ -4238,8 -4236,8 +4239,8 @@@
lft: 5
rgt: 6
depth: 2
- created_at: '2021-11-10T08:38:24.224Z'
- updated_at: '2021-11-10T08:38:24.262Z'
- created_at: '2021-11-09T11:27:41.566Z'
- updated_at: '2021-11-09T11:27:41.601Z'
++ created_at: '2021-11-10T10:23:49.028Z'
++ updated_at: '2021-11-10T10:23:49.071Z'
link:
is_container: false
is_root: false
@@@ -4343,8 -4341,8 +4344,8 @@@
name: Main Menu
location: header
locale: en
- created_at: '2021-11-10T08:38:25.049Z'
- updated_at: '2021-11-10T08:38:25.246Z'
- created_at: '2021-11-09T11:27:42.398Z'
- updated_at: '2021-11-09T11:27:42.587Z'
++ created_at: '2021-11-10T10:23:49.895Z'
++ updated_at: '2021-11-10T10:23:50.117Z'
relationships:
menu_items:
data:
@@@ -4360,8 -4358,8 +4361,8 @@@
name: Footer Menu
location: footer
locale: en
- created_at: '2021-11-10T08:38:25.062Z'
- updated_at: '2021-11-10T08:38:25.426Z'
- created_at: '2021-11-09T11:27:42.411Z'
- updated_at: '2021-11-09T11:27:42.768Z'
++ created_at: '2021-11-10T10:23:49.911Z'
++ updated_at: '2021-11-10T10:23:50.319Z'
relationships:
menu_items:
data:
@@@ -4424,8 -4422,8 +4425,8 @@@
name: Main Menu
location: header
locale: en
- created_at: '2021-11-10T08:38:25.940Z'
- updated_at: '2021-11-10T08:38:25.948Z'
- created_at: '2021-11-09T11:27:43.285Z'
- updated_at: '2021-11-09T11:27:43.293Z'
++ created_at: '2021-11-10T10:23:50.919Z'
++ updated_at: '2021-11-10T10:23:50.927Z'
relationships:
menu_items:
data:
@@@ -4493,8 -4491,8 +4494,8 @@@
name: Main Menu
location: header
locale: en
- created_at: '2021-11-10T08:38:26.027Z'
- updated_at: '2021-11-10T08:38:26.036Z'
- created_at: '2021-11-09T11:27:43.365Z'
- updated_at: '2021-11-09T11:27:43.373Z'
++ created_at: '2021-11-10T10:23:51.027Z'
++ updated_at: '2021-11-10T10:23:51.036Z'
relationships:
menu_items:
data:
@@@ -4558,8 -4556,8 +4559,8 @@@
name: Main Menu
location: header
locale: en
- created_at: '2021-11-10T08:38:26.177Z'
- updated_at: '2021-11-10T08:38:26.185Z'
- created_at: '2021-11-09T11:27:43.487Z'
- updated_at: '2021-11-09T11:27:43.495Z'
++ created_at: '2021-11-10T10:23:51.172Z'
++ updated_at: '2021-11-10T10:23:51.182Z'
relationships:
menu_items:
data:
@@@ -4694,8 -4692,8 +4695,8 @@@
name: foo-size-68
presentation: Size
position: 1
- created_at: '2021-11-10T08:38:26.484Z'
- updated_at: '2021-11-10T08:38:26.484Z'
- created_at: '2021-11-09T11:27:43.775Z'
- updated_at: '2021-11-09T11:27:43.775Z'
++ created_at: '2021-11-10T10:23:51.538Z'
++ updated_at: '2021-11-10T10:23:51.538Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@@ -4708,8 -4706,8 +4709,8 @@@
name: foo-size-69
presentation: Size
position: 2
- created_at: '2021-11-10T08:38:26.487Z'
- updated_at: '2021-11-10T08:38:26.487Z'
- created_at: '2021-11-09T11:27:43.777Z'
- updated_at: '2021-11-09T11:27:43.777Z'
++ created_at: '2021-11-10T10:23:51.541Z'
++ updated_at: '2021-11-10T10:23:51.541Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@@ -4762,8 -4760,8 +4763,8 @@@
name: foo-size-72
presentation: Size
position: 1
- created_at: '2021-11-10T08:38:26.582Z'
- updated_at: '2021-11-10T08:38:26.582Z'
- created_at: '2021-11-09T11:27:43.874Z'
- updated_at: '2021-11-09T11:27:43.874Z'
++ created_at: '2021-11-10T10:23:51.654Z'
++ updated_at: '2021-11-10T10:23:51.654Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@@ -4822,8 -4820,8 +4823,8 @@@
name: foo-size-73
presentation: Size
position: 1
- created_at: '2021-11-10T08:38:26.645Z'
- updated_at: '2021-11-10T08:38:26.645Z'
- created_at: '2021-11-09T11:27:43.938Z'
- updated_at: '2021-11-09T11:27:43.938Z'
++ created_at: '2021-11-10T10:23:51.724Z'
++ updated_at: '2021-11-10T10:23:51.724Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@@ -4881,8 -4879,8 +4882,8 @@@
name: Size-X
presentation: Size
position: 1
- created_at: '2021-11-10T08:38:26.759Z'
- updated_at: '2021-11-10T08:38:26.769Z'
- created_at: '2021-11-09T11:27:44.032Z'
- updated_at: '2021-11-09T11:27:44.043Z'
++ created_at: '2021-11-10T10:23:51.843Z'
++ updated_at: '2021-11-10T10:23:51.856Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@@ -5020,8 -5018,8 +5021,8 @@@
position: 1
name: Size-68
presentation: S
- created_at: '2021-11-10T08:38:26.991Z'
- updated_at: '2021-11-10T08:38:26.991Z'
- created_at: '2021-11-09T11:27:44.263Z'
- updated_at: '2021-11-09T11:27:44.263Z'
++ created_at: '2021-11-10T10:23:52.110Z'
++ updated_at: '2021-11-10T10:23:52.110Z'
public_metadata: {}
private_metadata: {}
relationships:
@@@ -5035,8 -5033,8 +5036,8 @@@
position: 1
name: Size-69
presentation: S
- created_at: '2021-11-10T08:38:27.000Z'
- updated_at: '2021-11-10T08:38:27.000Z'
- created_at: '2021-11-09T11:27:44.270Z'
- updated_at: '2021-11-09T11:27:44.270Z'
++ created_at: '2021-11-10T10:23:52.118Z'
++ updated_at: '2021-11-10T10:23:52.118Z'
public_metadata: {}
private_metadata: {}
relationships:
@@@ -5097,8 -5095,8 +5098,8 @@@
position: 1
name: Size-72
presentation: S
- created_at: '2021-11-10T08:38:27.108Z'
- updated_at: '2021-11-10T08:38:27.108Z'
- created_at: '2021-11-09T11:27:44.367Z'
- updated_at: '2021-11-09T11:27:44.367Z'
++ created_at: '2021-11-10T10:23:52.234Z'
++ updated_at: '2021-11-10T10:23:52.234Z'
public_metadata: {}
private_metadata: {}
relationships:
@@@ -5163,8 -5161,8 +5164,8 @@@
position: 1
name: Size-73
presentation: S
- created_at: '2021-11-10T08:38:27.179Z'
- updated_at: '2021-11-10T08:38:27.179Z'
- created_at: '2021-11-09T11:27:44.438Z'
- updated_at: '2021-11-09T11:27:44.438Z'
++ created_at: '2021-11-10T10:23:52.318Z'
++ updated_at: '2021-11-10T10:23:52.318Z'
public_metadata: {}
private_metadata: {}
relationships:
@@@ -5230,8 -5228,8 +5231,8 @@@
position: 1
name: M
presentation: S
- created_at: '2021-11-10T08:38:27.290Z'
- updated_at: '2021-11-10T08:38:27.302Z'
- created_at: '2021-11-09T11:27:44.540Z'
- updated_at: '2021-11-09T11:27:44.553Z'
++ created_at: '2021-11-10T10:23:52.432Z'
++ updated_at: '2021-11-10T10:23:52.449Z'
public_metadata: {}
private_metadata: {}
relationships:
@@@ -5361,7 -5359,7 +5362,7 @@@
- id: '40'
type: order
attributes:
- number: R087278093
- number: R628635020
++ number: R500945733
item_total: '0.0'
total: '0.0'
state: cart
@@@ -5370,10 -5368,10 +5371,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:27.565Z'
- updated_at: '2021-11-10T08:38:27.565Z'
- created_at: '2021-11-09T11:27:44.803Z'
- updated_at: '2021-11-09T11:27:44.803Z'
++ created_at: '2021-11-10T10:23:52.732Z'
++ updated_at: '2021-11-10T10:23:52.732Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@@ -5447,7 -5445,7 +5448,7 @@@
- id: '41'
type: order
attributes:
- number: R109492435
- number: R369818473
++ number: R357683875
item_total: '0.0'
total: '0.0'
state: cart
@@@ -5456,10 -5454,10 +5457,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:27.580Z'
- updated_at: '2021-11-10T08:38:27.580Z'
- created_at: '2021-11-09T11:27:44.815Z'
- updated_at: '2021-11-09T11:27:44.815Z'
++ created_at: '2021-11-10T10:23:52.748Z'
++ updated_at: '2021-11-10T10:23:52.748Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@@ -5580,7 -5578,7 +5581,7 @@@
id: '44'
type: order
attributes:
- number: R558463890
- number: R888296862
++ number: R601780530
item_total: '0.0'
total: '0.0'
state: cart
@@@ -5591,8 -5589,8 +5592,8 @@@
payment_state:
email:
special_instructions:
- created_at: '2021-11-10T08:38:28.021Z'
- updated_at: '2021-11-10T08:38:28.041Z'
- created_at: '2021-11-09T11:27:45.197Z'
- updated_at: '2021-11-09T11:27:45.214Z'
++ created_at: '2021-11-10T10:23:53.203Z'
++ updated_at: '2021-11-10T10:23:53.237Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@@ -5708,7 -5706,7 +5709,7 @@@
id: '45'
type: order
attributes:
- number: R407903268
- number: R740967002
++ number: R104338192
item_total: '10.0'
total: '110.0'
state: delivery
@@@ -5717,10 -5715,10 +5718,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:28.108Z'
- updated_at: '2021-11-10T08:38:28.298Z'
- created_at: '2021-11-09T11:27:45.273Z'
- updated_at: '2021-11-09T11:27:45.455Z'
++ created_at: '2021-11-10T10:23:53.311Z'
++ updated_at: '2021-11-10T10:23:53.508Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -5852,7 -5850,7 +5853,7 @@@
id: '47'
type: order
attributes:
- number: R662066616
- number: R935822382
++ number: R003036393
item_total: '10.0'
total: '110.0'
state: delivery
@@@ -5863,8 -5861,8 +5864,8 @@@
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:28.580Z'
- updated_at: '2021-11-10T08:38:28.735Z'
- created_at: '2021-11-09T11:27:45.718Z'
- updated_at: '2021-11-09T11:27:45.860Z'
++ created_at: '2021-11-10T10:23:53.873Z'
++ updated_at: '2021-11-10T10:23:54.072Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -6052,7 -6050,7 +6053,7 @@@
id: '52'
type: order
attributes:
- number: R865933094
- number: R744586058
++ number: R065714264
item_total: '10.0'
total: '110.0'
state: payment
@@@ -6061,10 -6059,10 +6062,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:29.637Z'
- updated_at: '2021-11-10T08:38:29.826Z'
- created_at: '2021-11-09T11:27:46.688Z'
- updated_at: '2021-11-09T11:27:46.875Z'
++ created_at: '2021-11-10T10:23:55.253Z'
++ updated_at: '2021-11-10T10:23:55.487Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -6199,7 -6197,7 +6200,7 @@@
id: '54'
type: order
attributes:
- number: R034095339
- number: R837753886
++ number: R060191781
item_total: '10.0'
total: '110.0'
state: payment
@@@ -6208,10 -6206,10 +6209,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:30.142Z'
- updated_at: '2021-11-10T08:38:30.324Z'
- created_at: '2021-11-09T11:27:47.144Z'
- updated_at: '2021-11-09T11:27:47.315Z'
++ created_at: '2021-11-10T10:23:55.836Z'
++ updated_at: '2021-11-10T10:23:56.040Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -6346,19 -6344,19 +6347,19 @@@
id: '56'
type: order
attributes:
- number: R332837088
- number: R763839038
++ number: R446587388
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-11-10T08:38:30.918Z'
- completed_at: '2021-11-09T11:27:47.869Z'
++ completed_at: '2021-11-10T10:23:56.689Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2021-11-10T08:38:30.611Z'
- updated_at: '2021-11-10T08:38:30.918Z'
- created_at: '2021-11-09T11:27:47.567Z'
- updated_at: '2021-11-09T11:27:47.869Z'
++ created_at: '2021-11-10T10:23:56.345Z'
++ updated_at: '2021-11-10T10:23:56.689Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -6504,7 -6502,7 +6505,7 @@@
id: '59'
type: order
attributes:
- number: R166464781
- number: R943944715
++ number: R665557510
item_total: '0.0'
total: '0.0'
state: cart
@@@ -6513,10 -6511,10 +6514,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:31.419Z'
- updated_at: '2021-11-10T08:38:31.582Z'
- created_at: '2021-11-09T11:27:48.479Z'
- updated_at: '2021-11-09T11:27:48.625Z'
++ created_at: '2021-11-10T10:23:57.265Z'
++ updated_at: '2021-11-10T10:23:57.450Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@@ -6646,7 -6644,7 +6647,7 @@@
id: '61'
type: order
attributes:
- number: R307076425
- number: R531982411
++ number: R138237251
item_total: '10.0'
total: '110.0'
state: delivery
@@@ -6655,10 -6653,10 +6656,10 @@@
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-10T08:38:31.866Z'
- updated_at: '2021-11-10T08:38:31.986Z'
- created_at: '2021-11-09T11:27:48.876Z'
- updated_at: '2021-11-09T11:27:48.997Z'
++ created_at: '2021-11-10T10:23:57.757Z'
++ updated_at: '2021-11-10T10:23:57.892Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@@ -6961,8 -6959,8 +6962,8 @@@
display_on: both
auto_capture:
position: 1
- created_at: '2021-11-10T08:38:34.383Z'
- updated_at: '2021-11-10T08:38:34.383Z'
- created_at: '2021-11-09T11:27:51.177Z'
- updated_at: '2021-11-09T11:27:51.177Z'
++ created_at: '2021-11-10T10:24:00.553Z'
++ updated_at: '2021-11-10T10:24:00.553Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -6982,8 -6980,8 +6983,8 @@@
display_on: both
auto_capture:
position: 2
- created_at: '2021-11-10T08:38:34.393Z'
- updated_at: '2021-11-10T08:38:34.393Z'
- created_at: '2021-11-09T11:27:51.187Z'
- updated_at: '2021-11-09T11:27:51.187Z'
++ created_at: '2021-11-10T10:24:00.566Z'
++ updated_at: '2021-11-10T10:24:00.566Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7003,8 -7001,8 +7004,8 @@@
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-10T08:38:34.399Z'
- updated_at: '2021-11-10T08:38:34.399Z'
- created_at: '2021-11-09T11:27:51.193Z'
- updated_at: '2021-11-09T11:27:51.193Z'
++ created_at: '2021-11-10T10:24:00.573Z'
++ updated_at: '2021-11-10T10:24:00.573Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7024,8 -7022,8 +7025,8 @@@
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-10T08:38:34.405Z'
- updated_at: '2021-11-10T08:38:34.405Z'
- created_at: '2021-11-09T11:27:51.198Z'
- updated_at: '2021-11-09T11:27:51.198Z'
++ created_at: '2021-11-10T10:24:00.579Z'
++ updated_at: '2021-11-10T10:24:00.579Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7048,8 -7046,8 +7049,8 @@@
display_on: both
auto_capture:
position: 5
- created_at: '2021-11-10T08:38:34.411Z'
- updated_at: '2021-11-10T08:38:34.411Z'
- created_at: '2021-11-09T11:27:51.204Z'
- updated_at: '2021-11-09T11:27:51.204Z'
++ created_at: '2021-11-10T10:24:00.586Z'
++ updated_at: '2021-11-10T10:24:00.586Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7119,8 -7117,8 +7120,8 @@@
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-10T08:38:34.612Z'
- updated_at: '2021-11-10T08:38:34.612Z'
- created_at: '2021-11-09T11:27:51.383Z'
- updated_at: '2021-11-09T11:27:51.383Z'
++ created_at: '2021-11-10T10:24:00.783Z'
++ updated_at: '2021-11-10T10:24:00.783Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7196,8 -7194,8 +7197,8 @@@
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-10T08:38:34.755Z'
- updated_at: '2021-11-10T08:38:34.755Z'
- created_at: '2021-11-09T11:27:51.510Z'
- updated_at: '2021-11-09T11:27:51.510Z'
++ created_at: '2021-11-10T10:24:00.926Z'
++ updated_at: '2021-11-10T10:24:00.926Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7272,8 -7270,8 +7273,8 @@@
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-10T08:38:35.109Z'
- updated_at: '2021-11-10T08:38:35.124Z'
- created_at: '2021-11-09T11:27:51.693Z'
- updated_at: '2021-11-09T11:27:51.707Z'
++ created_at: '2021-11-10T10:24:01.150Z'
++ updated_at: '2021-11-10T10:24:01.168Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@@ -7421,9 -7419,9 +7422,9 @@@
state: invalid
response_code: '12345'
avs_response:
- created_at: '2021-11-10T08:38:35.609Z'
- updated_at: '2021-11-10T08:38:35.639Z'
- number: P77MVRFZ
- created_at: '2021-11-09T11:27:52.145Z'
- updated_at: '2021-11-09T11:27:52.171Z'
- number: PRZBNPR1
++ created_at: '2021-11-10T10:24:01.760Z'
++ updated_at: '2021-11-10T10:24:01.796Z'
++ number: PQF0WAC4
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@@ -7460,9 -7458,9 +7461,9 @@@
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-10T08:38:35.634Z'
- updated_at: '2021-11-10T08:38:35.634Z'
- number: PY8QESZ6
- created_at: '2021-11-09T11:27:52.166Z'
- updated_at: '2021-11-09T11:27:52.166Z'
- number: PEHEBTK3
++ created_at: '2021-11-10T10:24:01.791Z'
++ updated_at: '2021-11-10T10:24:01.791Z'
++ number: PGG2YR2B
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@@ -7550,9 -7548,9 +7551,9 @@@
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-10T08:38:35.898Z'
- updated_at: '2021-11-10T08:38:35.898Z'
- number: P2HSNNZT
- created_at: '2021-11-09T11:27:52.400Z'
- updated_at: '2021-11-09T11:27:52.400Z'
- number: PPAX2BOI
++ created_at: '2021-11-10T10:24:02.079Z'
++ updated_at: '2021-11-10T10:24:02.079Z'
++ number: PSMG59M1
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@@ -7690,8 -7688,8 +7691,8 @@@
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-10T08:38:36.290Z'
- updated_at: '2021-11-10T08:38:36.290Z'
- created_at: '2021-11-09T11:27:52.742Z'
- updated_at: '2021-11-09T11:27:52.742Z'
++ created_at: '2021-11-10T10:24:02.511Z'
++ updated_at: '2021-11-10T10:24:02.511Z'
code: POP123
relationships:
promotions:
@@@ -7700,8 -7698,8 +7701,8 @@@
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-10T08:38:36.292Z'
- updated_at: '2021-11-10T08:38:36.292Z'
- created_at: '2021-11-09T11:27:52.743Z'
- updated_at: '2021-11-09T11:27:52.743Z'
++ created_at: '2021-11-10T10:24:02.513Z'
++ updated_at: '2021-11-10T10:24:02.513Z'
code: POP123
relationships:
promotions:
@@@ -7757,8 -7755,8 +7758,8 @@@
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-10T08:38:36.383Z'
- updated_at: '2021-11-10T08:38:36.383Z'
- created_at: '2021-11-09T11:27:52.829Z'
- updated_at: '2021-11-09T11:27:52.829Z'
++ created_at: '2021-11-10T10:24:02.615Z'
++ updated_at: '2021-11-10T10:24:02.615Z'
code: 2021-BFM
relationships:
promotions:
@@@ -7818,8 -7816,8 +7819,8 @@@
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-10T08:38:36.448Z'
- updated_at: '2021-11-10T08:38:36.448Z'
- created_at: '2021-11-09T11:27:52.895Z'
- updated_at: '2021-11-09T11:27:52.895Z'
++ created_at: '2021-11-10T10:24:02.684Z'
++ updated_at: '2021-11-10T10:24:02.684Z'
code: MJO
relationships:
promotions:
@@@ -7880,8 -7878,8 +7881,8 @@@
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2021-11-10T08:38:36.558Z'
- updated_at: '2021-11-10T08:38:36.567Z'
- created_at: '2021-11-09T11:27:52.992Z'
- updated_at: '2021-11-09T11:27:53.001Z'
++ created_at: '2021-11-10T10:24:02.815Z'
++ updated_at: '2021-11-10T10:24:02.829Z'
code: 2021-Promos
relationships:
promotions:
@@@ -8002,14 -8000,14 +8003,14 @@@
type: role
attributes:
name: 'Role #1'
- created_at: '2021-11-10T08:38:36.789Z'
- updated_at: '2021-11-10T08:38:36.789Z'
- created_at: '2021-11-09T11:27:53.207Z'
- updated_at: '2021-11-09T11:27:53.207Z'
++ created_at: '2021-11-10T10:24:03.101Z'
++ updated_at: '2021-11-10T10:24:03.101Z'
- id: '2'
type: role
attributes:
name: 'Role #2'
- created_at: '2021-11-10T08:38:36.791Z'
- updated_at: '2021-11-10T08:38:36.791Z'
- created_at: '2021-11-09T11:27:53.209Z'
- updated_at: '2021-11-09T11:27:53.209Z'
++ created_at: '2021-11-10T10:24:03.103Z'
++ updated_at: '2021-11-10T10:24:03.103Z'
meta:
count: 2
total_count: 2
@@@ -8054,8 -8052,8 +8055,8 @@@
type: role
attributes:
name: 'Role #5'
- created_at: '2021-11-10T08:38:36.893Z'
- updated_at: '2021-11-10T08:38:36.893Z'
- created_at: '2021-11-09T11:27:53.296Z'
- updated_at: '2021-11-09T11:27:53.296Z'
++ created_at: '2021-11-10T10:24:03.206Z'
++ updated_at: '2021-11-10T10:24:03.206Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -8104,8 -8102,8 +8105,8 @@@
type: role
attributes:
name: 'Role #6'
- created_at: '2021-11-10T08:38:36.956Z'
- updated_at: '2021-11-10T08:38:36.956Z'
- created_at: '2021-11-09T11:27:53.355Z'
- updated_at: '2021-11-09T11:27:53.355Z'
++ created_at: '2021-11-10T10:24:03.273Z'
++ updated_at: '2021-11-10T10:24:03.273Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@@ -8155,8 -8153,8 +8156,8 @@@
type: role
attributes:
name: administrator
- created_at: '2021-11-10T08:38:37.058Z'
- updated_at: '2021-11-10T08:38:37.067Z'
- created_at: '2021-11-09T11:27:53.455Z'
- updated_at: '2021-11-09T11:27:53.463Z'
++ created_at: '2021-11-10T10:24:03.385Z'
++ updated_at: '2021-11-10T10:24:03.396Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -8280,12 -8278,12 +8281,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H32160721941
- number: H44064496615
++ number: H22850408672
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-10T08:38:37.378Z'
- updated_at: '2021-11-10T08:38:37.385Z'
- created_at: '2021-11-09T11:27:53.690Z'
- updated_at: '2021-11-09T11:27:53.695Z'
++ created_at: '2021-11-10T10:24:03.737Z'
++ updated_at: '2021-11-10T10:24:03.742Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8329,12 -8327,12 +8330,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H93812750600
- number: H74585843112
++ number: H27852654160
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-10T08:38:37.461Z'
- updated_at: '2021-11-10T08:38:37.468Z'
- created_at: '2021-11-09T11:27:53.734Z'
- updated_at: '2021-11-09T11:27:53.739Z'
++ created_at: '2021-11-10T10:24:03.843Z'
++ updated_at: '2021-11-10T10:24:03.848Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8431,12 -8429,12 +8432,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H41014097191
- number: H91252351044
++ number: H88771980130
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-10T08:38:38.021Z'
- updated_at: '2021-11-10T08:38:38.049Z'
- created_at: '2021-11-09T11:27:54.164Z'
- updated_at: '2021-11-09T11:27:54.190Z'
++ created_at: '2021-11-10T10:24:04.514Z'
++ updated_at: '2021-11-10T10:24:04.545Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8572,12 -8570,12 +8573,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H28024775048
- number: H24297189907
++ number: H68780247115
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-10T08:38:39.448Z'
- updated_at: '2021-11-10T08:38:39.496Z'
- created_at: '2021-11-09T11:27:55.366Z'
- updated_at: '2021-11-09T11:27:55.413Z'
++ created_at: '2021-11-10T10:24:06.026Z'
++ updated_at: '2021-11-10T10:24:06.072Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8678,12 -8676,12 +8679,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H61143696172
- number: H62964635302
++ number: H26186345187
cost: '100.0'
- shipped_at: '2021-11-10T08:38:40.305Z'
- shipped_at: '2021-11-09T11:27:56.037Z'
++ shipped_at: '2021-11-10T10:24:06.840Z'
state: shipped
- created_at: '2021-11-10T08:38:40.249Z'
- updated_at: '2021-11-10T08:38:40.305Z'
- created_at: '2021-11-09T11:27:55.991Z'
- updated_at: '2021-11-09T11:27:56.037Z'
++ created_at: '2021-11-10T10:24:06.778Z'
++ updated_at: '2021-11-10T10:24:06.840Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8784,12 -8782,12 +8785,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H36047429255
- number: H35894389626
++ number: H14623305546
cost: '100.0'
shipped_at:
state: canceled
- created_at: '2021-11-10T08:38:41.012Z'
- updated_at: '2021-11-10T08:38:41.057Z'
- created_at: '2021-11-09T11:27:56.625Z'
- updated_at: '2021-11-09T11:27:56.664Z'
++ created_at: '2021-11-10T10:24:07.563Z'
++ updated_at: '2021-11-10T10:24:07.610Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8890,12 -8888,12 +8891,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H21531592081
- number: H04749971676
++ number: H32022639522
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-10T08:38:41.825Z'
- updated_at: '2021-11-10T08:38:41.875Z'
- created_at: '2021-11-09T11:27:57.270Z'
- updated_at: '2021-11-09T11:27:57.312Z'
++ created_at: '2021-11-10T10:24:08.332Z'
++ updated_at: '2021-11-10T10:24:08.378Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -8996,12 -8994,12 +8997,12 @@@
type: shipment
attributes:
tracking: U10000
- number: H00264754606
- number: H18373719662
++ number: H03386828481
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-10T08:38:42.593Z'
- updated_at: '2021-11-10T08:38:42.634Z'
- created_at: '2021-11-09T11:27:57.902Z'
- updated_at: '2021-11-09T11:27:57.940Z'
++ created_at: '2021-11-10T10:24:09.095Z'
++ updated_at: '2021-11-10T10:24:09.142Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@@ -9106,14 -9104,14 +9107,14 @@@
type: shipping_category
attributes:
name: 'ShippingCategory #116'
- created_at: '2021-11-10T08:38:43.038Z'
- updated_at: '2021-11-10T08:38:43.038Z'
- created_at: '2021-11-09T11:27:58.303Z'
- updated_at: '2021-11-09T11:27:58.303Z'
++ created_at: '2021-11-10T10:24:09.741Z'
++ updated_at: '2021-11-10T10:24:09.741Z'
- id: '117'
type: shipping_category
attributes:
name: 'ShippingCategory #117'
- created_at: '2021-11-10T08:38:43.040Z'
- updated_at: '2021-11-10T08:38:43.040Z'
- created_at: '2021-11-09T11:27:58.304Z'
- updated_at: '2021-11-09T11:27:58.304Z'
++ created_at: '2021-11-10T10:24:09.742Z'
++ updated_at: '2021-11-10T10:24:09.742Z'
meta:
count: 2
total_count: 2
@@@ -9158,8 -9156,8 +9159,8 @@@
type: shipping_category
attributes:
name: 'ShippingCategory #120'
- created_at: '2021-11-10T08:38:43.140Z'
- updated_at: '2021-11-10T08:38:43.140Z'
- created_at: '2021-11-09T11:27:58.395Z'
- updated_at: '2021-11-09T11:27:58.395Z'
++ created_at: '2021-11-10T10:24:09.846Z'
++ updated_at: '2021-11-10T10:24:09.846Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -9208,8 -9206,8 +9209,8 @@@
type: shipping_category
attributes:
name: 'ShippingCategory #121'
- created_at: '2021-11-10T08:38:43.207Z'
- updated_at: '2021-11-10T08:38:43.207Z'
- created_at: '2021-11-09T11:27:58.459Z'
- updated_at: '2021-11-09T11:27:58.459Z'
++ created_at: '2021-11-10T10:24:09.913Z'
++ updated_at: '2021-11-10T10:24:09.913Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@@ -9259,8 -9257,8 +9260,8 @@@
type: shipping_category
attributes:
name: Default
- created_at: '2021-11-10T08:38:43.314Z'
- updated_at: '2021-11-10T08:38:43.323Z'
- created_at: '2021-11-09T11:27:58.562Z'
- updated_at: '2021-11-09T11:27:58.571Z'
++ created_at: '2021-11-10T10:24:10.022Z'
++ updated_at: '2021-11-10T10:24:10.033Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -9370,660 -9368,389 +9371,930 @@@
description: ''
example: DHL Express
schema:
- type: string
- - name: filter[title_cont]
+ type: string
+ - name: filter[title_cont]
+ in: query
+ description: ''
+ example: About Us
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Records returned
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ - id: '60'
+ type: shipping_method
+ attributes:
+ name: UPS Ground
+ code: UPS_GROUND
+ admin_name:
+ display_on: both
+ tracking_url:
- created_at: '2021-11-10T08:38:43.554Z'
- updated_at: '2021-11-10T08:38:43.554Z'
++ created_at: '2021-11-10T10:24:10.275Z'
++ updated_at: '2021-11-10T10:24:10.275Z'
+ deleted_at:
+ public_metadata: {}
+ private_metadata: {}
+ relationships:
+ shipping_categories:
+ data:
+ - id: '128'
+ type: shipping_category
+ shipping_rates:
+ data: []
+ tax_category:
+ data:
+ calculator:
+ data:
+ id: '71'
+ type: calculator
+ - id: '61'
+ type: shipping_method
+ attributes:
+ name: UPS Ground
+ code: UPS_GROUND
+ admin_name:
+ display_on: both
+ tracking_url:
- created_at: '2021-11-10T08:38:43.571Z'
- updated_at: '2021-11-10T08:38:43.571Z'
++ created_at: '2021-11-10T10:24:10.292Z'
++ updated_at: '2021-11-10T10:24:10.292Z'
+ deleted_at:
+ public_metadata: {}
+ private_metadata: {}
+ relationships:
+ shipping_categories:
+ data:
+ - id: '128'
+ type: shipping_category
+ shipping_rates:
+ data: []
+ tax_category:
+ data:
+ calculator:
+ data:
+ id: '72'
+ type: calculator
+ meta:
+ count: 2
+ total_count: 2
+ total_pages: 1
+ links:
+ self: http://www.example.com/api/v2/platform/shipping_methods?page=1&per_page=&include=&filter[name]=&filter[title_cont]=
+ next: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
+ prev: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
+ last: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
+ first: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
+ schema:
+ "$ref": "#/components/schemas/resources_list"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ post:
+ summary: Create a Shipping Method
+ tags:
+ - Shipping Methods
+ security:
+ - bearer_auth: []
+ description: Creates a Shipping Method
+ operationId: create-shipping-method
+ parameters:
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: calculator,shipping_categories,shipping_rates,tax_category
+ schema:
+ type: string
+ responses:
+ '201':
+ description: Record created
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '64'
+ type: shipping_method
+ attributes:
+ name: DHL Express Domestic
+ code: DDD
+ admin_name: DHL Express- Zone A
+ display_on: both
+ tracking_url:
- created_at: '2021-11-10T08:38:43.727Z'
- updated_at: '2021-11-10T08:38:43.727Z'
++ created_at: '2021-11-10T10:24:10.444Z'
++ updated_at: '2021-11-10T10:24:10.444Z'
+ deleted_at:
+ public_metadata: {}
+ private_metadata: {}
+ relationships:
+ shipping_categories:
+ data:
+ - id: '130'
+ type: shipping_category
+ shipping_rates:
+ data: []
+ tax_category:
+ data:
+ id: '125'
+ type: tax_category
+ calculator:
+ data:
+ id: '75'
+ type: calculator
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Calculator can't be blank, Name can't be blank, Display
+ on can't be blank, and You must select at least one shipping
+ category
+ errors:
+ calculator:
+ - can't be blank
+ name:
+ - can't be blank
+ display_on:
+ - can't be blank
+ base:
+ - You must select at least one shipping category
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/create_shipping_method_params"
+ "/api/v2/platform/shipping_methods/{id}":
+ get:
+ summary: Return a Shipping Method
+ tags:
+ - Shipping Methods
+ security:
+ - bearer_auth: []
+ description: Returns a Shipping Method
+ operationId: show-shipping-method
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: calculator,shipping_categories,shipping_rates,tax_category
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '65'
+ type: shipping_method
+ attributes:
+ name: UPS Ground
+ code: UPS_GROUND
+ admin_name:
+ display_on: both
+ tracking_url:
- created_at: '2021-11-10T08:38:43.812Z'
- updated_at: '2021-11-10T08:38:43.812Z'
++ created_at: '2021-11-10T10:24:10.539Z'
++ updated_at: '2021-11-10T10:24:10.539Z'
+ deleted_at:
+ public_metadata: {}
+ private_metadata: {}
+ relationships:
+ shipping_categories:
+ data:
+ - id: '131'
+ type: shipping_category
+ shipping_rates:
+ data: []
+ tax_category:
+ data:
+ calculator:
+ data:
+ id: '76'
+ type: calculator
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ patch:
+ summary: Update a Shipping Method
+ tags:
+ - Shipping Methods
+ security:
+ - bearer_auth: []
+ description: Updates a Shipping Method
+ operationId: update-shipping-method
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: calculator,shipping_categories,shipping_rates,tax_category
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record updated
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '67'
+ type: shipping_method
+ attributes:
+ name: FedEx Expedited
+ code: UPS_GROUND
+ admin_name:
+ display_on: both
+ tracking_url:
- created_at: '2021-11-10T08:38:43.967Z'
- updated_at: '2021-11-10T08:38:43.991Z'
++ created_at: '2021-11-10T10:24:10.685Z'
++ updated_at: '2021-11-10T10:24:10.712Z'
+ deleted_at:
+ public_metadata: {}
+ private_metadata: {}
+ relationships:
+ shipping_categories:
+ data:
+ - id: '133'
+ type: shipping_category
+ shipping_rates:
+ data: []
+ tax_category:
+ data:
+ calculator:
+ data:
+ id: '79'
+ type: calculator
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Name can't be blank
+ errors:
+ name:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/update_shipping_method_params"
+ delete:
+ summary: Delete a Shipping Method
+ tags:
+ - Shipping Methods
+ security:
+ - bearer_auth: []
+ description: Deletes a Shipping Method
+ operationId: delete-shipping-method
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '204':
+ description: Record deleted
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ "/api/v2/platform/store_credit_categories":
+ get:
+ summary: Return a list of Store Credit Categories
+ tags:
+ - Store Credit Categories
+ security:
+ - bearer_auth: []
+ description: Returns a list of Store Credit Categories
+ operationId: store-credit-categories-list
+ parameters:
+ - name: page
+ in: query
+ example: 1
+ schema:
+ type: integer
+ - name: per_page
+ in: query
+ example: 50
+ schema:
+ type: integer
+ - name: filter[name_eq]
+ in: query
+ description: ''
+ example: refunded
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Records returned
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ - id: '2'
+ type: store_credit_category
+ attributes:
+ name: Exchange
- created_at: '2021-11-10T08:38:44.296Z'
- updated_at: '2021-11-10T08:38:44.296Z'
++ created_at: '2021-11-10T10:24:11.033Z'
++ updated_at: '2021-11-10T10:24:11.033Z'
+ - id: '3'
+ type: store_credit_category
+ attributes:
+ name: Exchange
- created_at: '2021-11-10T08:38:44.297Z'
- updated_at: '2021-11-10T08:38:44.297Z'
++ created_at: '2021-11-10T10:24:11.035Z'
++ updated_at: '2021-11-10T10:24:11.035Z'
+ meta:
+ count: 2
+ total_count: 2
+ total_pages: 1
+ links:
+ self: http://www.example.com/api/v2/platform/store_credit_categories?page=1&per_page=&filter[name_eq]=
+ next: http://www.example.com/api/v2/platform/store_credit_categories?filter%5Bname_eq%5D=&page=1&per_page=
+ prev: http://www.example.com/api/v2/platform/store_credit_categories?filter%5Bname_eq%5D=&page=1&per_page=
+ last: http://www.example.com/api/v2/platform/store_credit_categories?filter%5Bname_eq%5D=&page=1&per_page=
+ first: http://www.example.com/api/v2/platform/store_credit_categories?filter%5Bname_eq%5D=&page=1&per_page=
+ schema:
+ "$ref": "#/components/schemas/resources_list"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ post:
+ summary: Create a Store Credit Category
+ tags:
+ - Store Credit Categories
+ security:
+ - bearer_auth: []
+ description: Creates a Store Credit Category
+ operationId: create-store-credit-category
+ parameters: []
+ responses:
+ '201':
+ description: Record created
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '6'
+ type: store_credit_category
+ attributes:
+ name: Exchange
- created_at: '2021-11-10T08:38:44.388Z'
- updated_at: '2021-11-10T08:38:44.388Z'
++ created_at: '2021-11-10T10:24:11.136Z'
++ updated_at: '2021-11-10T10:24:11.136Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Name can't be blank
+ errors:
+ name:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/create_store_credit_category_params"
+ "/api/v2/platform/store_credit_categories/{id}":
+ get:
+ summary: Return a Store Credit Category
+ tags:
+ - Store Credit Categories
+ security:
+ - bearer_auth: []
+ description: Returns a Store Credit Category
+ operationId: show-store-credit-category
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '7'
+ type: store_credit_category
+ attributes:
+ name: Exchange
- created_at: '2021-11-10T08:38:44.453Z'
- updated_at: '2021-11-10T08:38:44.453Z'
++ created_at: '2021-11-10T10:24:11.199Z'
++ updated_at: '2021-11-10T10:24:11.199Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ patch:
+ summary: Update a Store Credit Category
+ tags:
+ - Store Credit Categories
+ security:
+ - bearer_auth: []
+ description: Updates a Store Credit Category
+ operationId: update-store-credit-category
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record updated
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '9'
+ type: store_credit_category
+ attributes:
+ name: refunded
- created_at: '2021-11-10T08:38:44.551Z'
- updated_at: '2021-11-10T08:38:44.561Z'
++ created_at: '2021-11-10T10:24:11.302Z'
++ updated_at: '2021-11-10T10:24:11.311Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Name can't be blank
+ errors:
+ name:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/update_store_credit_category_params"
+ delete:
+ summary: Delete a Store Credit Category
+ tags:
+ - Store Credit Categories
+ security:
+ - bearer_auth: []
+ description: Deletes a Store Credit Category
+ operationId: delete-store-credit-category
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '204':
+ description: Record deleted
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
++ "/api/v2/platform/store_credit_types":
++ get:
++ summary: Return a list of Store Credit Types
++ tags:
++ - Store Credit Types
++ security:
++ - bearer_auth: []
++ description: Returns a list of Store Credit Types
++ operationId: store-credit-types-list
++ parameters:
++ - name: page
++ in: query
++ example: 1
++ schema:
++ type: integer
++ - name: per_page
+ in: query
- description: ''
- example: About Us
++ example: 50
+ schema:
- type: string
++ type: integer
+ responses:
+ '200':
+ description: Records returned
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
- - id: '60'
- type: shipping_method
++ - id: '2'
++ type: store_credit_type
+ attributes:
- name: UPS Ground
- code: UPS_GROUND
- admin_name:
- display_on: both
- tracking_url:
- created_at: '2021-11-09T11:27:58.788Z'
- updated_at: '2021-11-09T11:27:58.788Z'
- deleted_at:
- public_metadata: {}
- private_metadata: {}
- relationships:
- shipping_categories:
- data:
- - id: '128'
- type: shipping_category
- shipping_rates:
- data: []
- tax_category:
- data:
- calculator:
- data:
- id: '71'
- type: calculator
- - id: '61'
- type: shipping_method
++ name: Expiring
++ priority: 1
++ created_at: '2021-11-10T10:24:11.540Z'
++ updated_at: '2021-11-10T10:24:11.540Z'
++ - id: '3'
++ type: store_credit_type
+ attributes:
- name: UPS Ground
- code: UPS_GROUND
- admin_name:
- display_on: both
- tracking_url:
- created_at: '2021-11-09T11:27:58.802Z'
- updated_at: '2021-11-09T11:27:58.802Z'
- deleted_at:
- public_metadata: {}
- private_metadata: {}
- relationships:
- shipping_categories:
- data:
- - id: '128'
- type: shipping_category
- shipping_rates:
- data: []
- tax_category:
- data:
- calculator:
- data:
- id: '72'
- type: calculator
++ name: Expiring
++ priority: 1
++ created_at: '2021-11-10T10:24:11.541Z'
++ updated_at: '2021-11-10T10:24:11.541Z'
+ meta:
+ count: 2
+ total_count: 2
+ total_pages: 1
+ links:
- self: http://www.example.com/api/v2/platform/shipping_methods?page=1&per_page=&include=&filter[name]=&filter[title_cont]=
- next: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
- prev: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
- last: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
- first: http://www.example.com/api/v2/platform/shipping_methods?filter%5Bname%5D=&filter%5Btitle_cont%5D=&include=&page=1&per_page=
++ self: http://www.example.com/api/v2/platform/store_credit_types?page=1&per_page=
++ next: http://www.example.com/api/v2/platform/store_credit_types?page=1&per_page=
++ prev: http://www.example.com/api/v2/platform/store_credit_types?page=1&per_page=
++ last: http://www.example.com/api/v2/platform/store_credit_types?page=1&per_page=
++ first: http://www.example.com/api/v2/platform/store_credit_types?page=1&per_page=
+ schema:
+ "$ref": "#/components/schemas/resources_list"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ post:
- summary: Create a Shipping Method
++ summary: Create a Store Credit Type
+ tags:
- - Shipping Methods
++ - Store Credit Types
+ security:
+ - bearer_auth: []
- description: Creates a Shipping Method
- operationId: create-shipping-method
- parameters:
- - name: include
- in: query
- description: 'Select which associated resources you would like to fetch, see:
- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
- example: calculator,shipping_categories,shipping_rates,tax_category
- schema:
- type: string
++ description: Creates a Store Credit Type
++ operationId: create-store-credit-type
++ parameters: []
+ responses:
+ '201':
+ description: Record created
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
- id: '64'
- type: shipping_method
++ id: '6'
++ type: store_credit_type
+ attributes:
- name: DHL Express Domestic
- code: DDD
- admin_name: DHL Express- Zone A
- display_on: both
- tracking_url:
- created_at: '2021-11-09T11:27:58.937Z'
- updated_at: '2021-11-09T11:27:58.937Z'
- deleted_at:
- public_metadata: {}
- private_metadata: {}
- relationships:
- shipping_categories:
- data:
- - id: '130'
- type: shipping_category
- shipping_rates:
- data: []
- tax_category:
- data:
- id: '125'
- type: tax_category
- calculator:
- data:
- id: '75'
- type: calculator
++ name: Expiring
++ priority: 1
++ created_at: '2021-11-10T10:24:11.630Z'
++ updated_at: '2021-11-10T10:24:11.630Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
- error: Calculator can't be blank, Name can't be blank, Display
- on can't be blank, and You must select at least one shipping
- category
++ error: Name can't be blank
+ errors:
- calculator:
- - can't be blank
+ name:
+ - can't be blank
- display_on:
- - can't be blank
- base:
- - You must select at least one shipping category
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ requestBody:
+ content:
+ application/json:
+ schema:
- "$ref": "#/components/schemas/create_shipping_method_params"
- "/api/v2/platform/shipping_methods/{id}":
++ "$ref": "#/components/schemas/create_store_credit_type_params"
++ "/api/v2/platform/store_credit_types/{id}":
+ get:
- summary: Return a Shipping Method
++ summary: Return a Store Credit Type
+ tags:
- - Shipping Methods
++ - Store Credit Types
+ security:
+ - bearer_auth: []
- description: Returns a Shipping Method
- operationId: show-shipping-method
++ description: Returns a Store Credit Type
++ operationId: show-store-credit-type
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
- - name: include
- in: query
- description: 'Select which associated resources you would like to fetch, see:
- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
- example: calculator,shipping_categories,shipping_rates,tax_category
- schema:
- type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
- id: '65'
- type: shipping_method
++ id: '7'
++ type: store_credit_type
+ attributes:
- name: UPS Ground
- code: UPS_GROUND
- admin_name:
- display_on: both
- tracking_url:
- created_at: '2021-11-09T11:27:59.015Z'
- updated_at: '2021-11-09T11:27:59.015Z'
- deleted_at:
- public_metadata: {}
- private_metadata: {}
- relationships:
- shipping_categories:
- data:
- - id: '131'
- type: shipping_category
- shipping_rates:
- data: []
- tax_category:
- data:
- calculator:
- data:
- id: '76'
- type: calculator
++ name: Expiring
++ priority: 1
++ created_at: '2021-11-10T10:24:11.702Z'
++ updated_at: '2021-11-10T10:24:11.702Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ patch:
- summary: Update a Shipping Method
++ summary: Update a Store Credit Type
+ tags:
- - Shipping Methods
++ - Store Credit Types
+ security:
+ - bearer_auth: []
- description: Updates a Shipping Method
- operationId: update-shipping-method
++ description: Updates a Store Credit Type
++ operationId: update-store-credit-type
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
- - name: include
- in: query
- description: 'Select which associated resources you would like to fetch, see:
- <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
- example: calculator,shipping_categories,shipping_rates,tax_category
- schema:
- type: string
+ responses:
+ '200':
+ description: Record updated
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
- id: '67'
- type: shipping_method
++ id: '9'
++ type: store_credit_type
+ attributes:
- name: FedEx Expedited
- code: UPS_GROUND
- admin_name:
- display_on: both
- tracking_url:
- created_at: '2021-11-09T11:27:59.151Z'
- updated_at: '2021-11-09T11:27:59.172Z'
- deleted_at:
- public_metadata: {}
- private_metadata: {}
- relationships:
- shipping_categories:
- data:
- - id: '133'
- type: shipping_category
- shipping_rates:
- data: []
- tax_category:
- data:
- calculator:
- data:
- id: '79'
- type: calculator
++ name: default
++ priority: 1
++ created_at: '2021-11-10T10:24:11.805Z'
++ updated_at: '2021-11-10T10:24:11.816Z'
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Name can't be blank
+ errors:
+ name:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
- "$ref": "#/components/schemas/update_shipping_method_params"
++ "$ref": "#/components/schemas/update_store_credit_type_params"
+ delete:
- summary: Delete a Shipping Method
++ summary: Delete a Store Credit Type
+ tags:
- - Shipping Methods
++ - Store Credit Types
+ security:
+ - bearer_auth: []
- description: Deletes a Shipping Method
- operationId: delete-shipping-method
++ description: Deletes a Store Credit Type
++ operationId: delete-store-credit-type
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '204':
+ description: Record deleted
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
"/api/v2/platform/store_credits":
get:
summary: Return a list of Store Credits
@@@ -10094,8 -9821,8 +10365,8 @@@
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-10T08:38:44.778Z'
- updated_at: '2021-11-10T08:38:44.778Z'
- created_at: '2021-11-09T11:27:59.462Z'
- updated_at: '2021-11-09T11:27:59.462Z'
++ created_at: '2021-11-10T10:24:12.054Z'
++ updated_at: '2021-11-10T10:24:12.054Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@@ -10115,7 -9842,7 +10386,7 @@@
type: store_credit_category
store_credit_type:
data:
-- id: '2'
++ id: '14'
type: store_credit_type
store_credit_events:
data:
@@@ -10131,8 -9858,8 +10402,8 @@@
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-10T08:38:44.791Z'
- updated_at: '2021-11-10T08:38:44.791Z'
- created_at: '2021-11-09T11:27:59.472Z'
- updated_at: '2021-11-09T11:27:59.472Z'
++ created_at: '2021-11-10T10:24:12.066Z'
++ updated_at: '2021-11-10T10:24:12.066Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@@ -10152,7 -9879,7 +10423,7 @@@
type: store_credit_category
store_credit_type:
data:
-- id: '3'
++ id: '15'
type: store_credit_type
store_credit_events:
data:
@@@ -10215,8 -9942,8 +10486,8 @@@
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-10T08:38:44.945Z'
- updated_at: '2021-11-10T08:38:44.945Z'
- created_at: '2021-11-09T11:27:59.613Z'
- updated_at: '2021-11-09T11:27:59.613Z'
++ created_at: '2021-11-10T10:24:12.223Z'
++ updated_at: '2021-11-10T10:24:12.223Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@@ -10236,7 -9963,7 +10507,7 @@@
type: store_credit_category
store_credit_type:
data:
-- id: '6'
++ id: '18'
type: store_credit_type
store_credit_events:
data:
@@@ -10320,8 -10047,8 +10591,8 @@@
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-10T08:38:45.033Z'
- updated_at: '2021-11-10T08:38:45.033Z'
- created_at: '2021-11-09T11:27:59.693Z'
- updated_at: '2021-11-09T11:27:59.693Z'
++ created_at: '2021-11-10T10:24:12.328Z'
++ updated_at: '2021-11-10T10:24:12.328Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@@ -10341,7 -10068,7 +10612,7 @@@
type: store_credit_category
store_credit_type:
data:
-- id: '7'
++ id: '19'
type: store_credit_type
store_credit_events:
data:
@@@ -10409,8 -10136,8 +10680,8 @@@
currency: CAD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-10T08:38:45.177Z'
- updated_at: '2021-11-10T08:38:45.199Z'
- created_at: '2021-11-09T11:27:59.819Z'
- updated_at: '2021-11-09T11:27:59.836Z'
++ created_at: '2021-11-10T10:24:12.498Z'
++ updated_at: '2021-11-10T10:24:12.519Z'
public_metadata:
loyalty_reward: true
private_metadata: {}
@@@ -10431,7 -10158,7 +10702,7 @@@
type: store_credit_category
store_credit_type:
data:
-- id: '9'
++ id: '21'
type: store_credit_type
store_credit_events:
data:
@@@ -10576,13 -10303,13 +10847,13 @@@
- id: '126'
type: tax_category
attributes:
- name: TaxCategory - 215024
- description: Facilis asperiores consectetur quam minima culpa
- excepturi beatae cumque.
- name: TaxCategory - 706655
- description: Rerum reiciendis asperiores expedita eveniet
- veritatis fugiat.
++ name: TaxCategory - 975559
++ description: Nulla ipsum sunt voluptatem iusto non dignissimos
++ rerum.
is_default: false
deleted_at:
- created_at: '2021-11-10T08:38:45.500Z'
- updated_at: '2021-11-10T08:38:45.500Z'
- created_at: '2021-11-09T11:28:00.107Z'
- updated_at: '2021-11-09T11:28:00.107Z'
++ created_at: '2021-11-10T10:24:13.133Z'
++ updated_at: '2021-11-10T10:24:13.133Z'
tax_code:
relationships:
tax_rates:
@@@ -10590,13 -10317,12 +10861,12 @@@
- id: '127'
type: tax_category
attributes:
- name: TaxCategory - 204511
- description: Cumque pariatur aperiam deleniti harum in rerum
- nihil.
- name: TaxCategory - 83786
- description: Nobis vel vero dignissimos porro.
++ name: TaxCategory - 680458
++ description: Hic repellendus ipsum optio exercitationem accusamus.
is_default: false
deleted_at:
- created_at: '2021-11-10T08:38:45.502Z'
- updated_at: '2021-11-10T08:38:45.502Z'
- created_at: '2021-11-09T11:28:00.109Z'
- updated_at: '2021-11-09T11:28:00.109Z'
++ created_at: '2021-11-10T10:24:13.158Z'
++ updated_at: '2021-11-10T10:24:13.158Z'
tax_code:
relationships:
tax_rates:
@@@ -10651,13 -10377,13 +10921,12 @@@
id: '130'
type: tax_category
attributes:
- name: TaxCategory - 732259
- description: Quas molestias atque blanditiis dolorum excepturi
- delectus.
- name: TaxCategory - 428541
- description: Veritatis quam ullam beatae in possimus sit cumque
- consequatur.
++ name: TaxCategory - 787712
++ description: A neque corrupti occaecati beatae.
is_default: false
deleted_at:
- created_at: '2021-11-10T08:38:45.602Z'
- updated_at: '2021-11-10T08:38:45.602Z'
- created_at: '2021-11-09T11:28:00.192Z'
- updated_at: '2021-11-09T11:28:00.192Z'
++ created_at: '2021-11-10T10:24:13.691Z'
++ updated_at: '2021-11-10T10:24:13.691Z'
tax_code:
relationships:
tax_rates:
@@@ -10716,13 -10442,13 +10985,13 @@@
id: '131'
type: tax_category
attributes:
- name: TaxCategory - 820067
- description: Voluptatem molestiae a ipsum labore voluptatibus
- laudantium.
- name: TaxCategory - 58287
- description: Possimus eaque aperiam labore suscipit cum quas
- eius.
++ name: TaxCategory - 23027
++ description: Repellendus laboriosam commodi hic eius quas
++ nostrum dolorum.
is_default: false
deleted_at:
- created_at: '2021-11-10T08:38:45.669Z'
- updated_at: '2021-11-10T08:38:45.669Z'
- created_at: '2021-11-09T11:28:00.259Z'
- updated_at: '2021-11-09T11:28:00.259Z'
++ created_at: '2021-11-10T10:24:13.760Z'
++ updated_at: '2021-11-10T10:24:13.760Z'
tax_code:
relationships:
tax_rates:
@@@ -10786,8 -10512,8 +11055,8 @@@
description: Men's, women's and children's clothing
is_default: true
deleted_at:
- created_at: '2021-11-10T08:38:45.775Z'
- updated_at: '2021-11-10T08:38:45.786Z'
- created_at: '2021-11-09T11:28:00.354Z'
- updated_at: '2021-11-09T11:28:00.364Z'
++ created_at: '2021-11-10T10:24:13.921Z'
++ updated_at: '2021-11-10T10:24:13.932Z'
tax_code: 1233K
relationships:
tax_rates:
@@@ -10928,8 -10654,8 +11197,8 @@@
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-10T08:38:46.021Z'
- updated_at: '2021-11-10T08:38:46.021Z'
- created_at: '2021-11-09T11:28:00.583Z'
- updated_at: '2021-11-09T11:28:00.583Z'
++ created_at: '2021-11-10T10:24:14.218Z'
++ updated_at: '2021-11-10T10:24:14.218Z'
name:
show_rate_in_label: true
deleted_at:
@@@ -10947,8 -10673,8 +11216,8 @@@
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-10T08:38:46.027Z'
- updated_at: '2021-11-10T08:38:46.027Z'
- created_at: '2021-11-09T11:28:00.589Z'
- updated_at: '2021-11-09T11:28:00.589Z'
++ created_at: '2021-11-10T10:24:14.223Z'
++ updated_at: '2021-11-10T10:24:14.223Z'
name:
show_rate_in_label: true
deleted_at:
@@@ -11013,8 -10739,8 +11282,8 @@@
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-10T08:38:46.146Z'
- updated_at: '2021-11-10T08:38:46.146Z'
- created_at: '2021-11-09T11:28:00.702Z'
- updated_at: '2021-11-09T11:28:00.702Z'
++ created_at: '2021-11-10T10:24:14.352Z'
++ updated_at: '2021-11-10T10:24:14.352Z'
name:
show_rate_in_label: true
deleted_at:
@@@ -11086,8 -10812,8 +11355,8 @@@
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-10T08:38:46.217Z'
- updated_at: '2021-11-10T08:38:46.217Z'
- created_at: '2021-11-09T11:28:00.768Z'
- updated_at: '2021-11-09T11:28:00.768Z'
++ created_at: '2021-11-10T10:24:14.463Z'
++ updated_at: '2021-11-10T10:24:14.463Z'
name:
show_rate_in_label: true
deleted_at:
@@@ -11157,8 -10883,8 +11426,8 @@@
attributes:
amount: '25.9'
included_in_price: true
- created_at: '2021-11-10T08:38:46.343Z'
- updated_at: '2021-11-10T08:38:46.358Z'
- created_at: '2021-11-09T11:28:00.881Z'
- updated_at: '2021-11-09T11:28:00.896Z'
++ created_at: '2021-11-10T10:24:14.673Z'
++ updated_at: '2021-11-10T10:24:14.688Z'
name:
show_rate_in_label: true
deleted_at:
@@@ -11305,8 -11031,8 +11574,8 @@@
lft: 2
rgt: 3
description:
- created_at: '2021-11-10T08:38:46.714Z'
- updated_at: '2021-11-10T08:38:46.720Z'
- created_at: '2021-11-09T11:28:01.238Z'
- updated_at: '2021-11-09T11:28:01.243Z'
++ created_at: '2021-11-10T10:24:15.112Z'
++ updated_at: '2021-11-10T10:24:15.119Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11342,8 -11068,8 +11611,8 @@@
lft: 4
rgt: 5
description:
- created_at: '2021-11-10T08:38:46.814Z'
- updated_at: '2021-11-10T08:38:46.819Z'
- created_at: '2021-11-09T11:28:01.328Z'
- updated_at: '2021-11-09T11:28:01.333Z'
++ created_at: '2021-11-10T10:24:15.217Z'
++ updated_at: '2021-11-10T10:24:15.223Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11379,8 -11105,8 +11648,8 @@@
lft: 1
rgt: 6
description:
- created_at: '2021-11-10T08:38:46.625Z'
- updated_at: '2021-11-10T08:38:46.832Z'
- created_at: '2021-11-09T11:28:01.149Z'
- updated_at: '2021-11-09T11:28:01.347Z'
++ created_at: '2021-11-10T10:24:15.004Z'
++ updated_at: '2021-11-10T10:24:15.238Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11463,8 -11189,8 +11732,8 @@@
lft: 2
rgt: 3
description:
- created_at: '2021-11-10T08:38:47.269Z'
- updated_at: '2021-11-10T08:38:47.275Z'
- created_at: '2021-11-09T11:28:01.717Z'
- updated_at: '2021-11-09T11:28:01.723Z'
++ created_at: '2021-11-10T10:24:15.638Z'
++ updated_at: '2021-11-10T10:24:15.645Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11551,8 -11277,8 +11820,8 @@@
lft: 2
rgt: 3
description:
- created_at: '2021-11-10T08:38:47.468Z'
- updated_at: '2021-11-10T08:38:47.474Z'
- created_at: '2021-11-09T11:28:01.895Z'
- updated_at: '2021-11-09T11:28:01.900Z'
++ created_at: '2021-11-10T10:24:15.838Z'
++ updated_at: '2021-11-10T10:24:15.843Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11642,8 -11368,8 +11911,8 @@@
lft: 2
rgt: 3
description:
- created_at: '2021-11-10T08:38:47.874Z'
- updated_at: '2021-11-10T08:38:47.922Z'
- created_at: '2021-11-09T11:28:02.255Z'
- updated_at: '2021-11-09T11:28:02.291Z'
++ created_at: '2021-11-10T10:24:16.225Z'
++ updated_at: '2021-11-10T10:24:16.271Z'
meta_title:
meta_description:
meta_keywords:
@@@ -11799,9 -11525,9 +12068,9 @@@
- id: '119'
type: user
attributes:
- created_at: '2021-11-10T08:38:48.766Z'
- updated_at: '2021-11-10T08:38:48.766Z'
- created_at: '2021-11-09T11:28:03.062Z'
- updated_at: '2021-11-09T11:28:03.062Z'
++ created_at: '2021-11-10T10:24:17.096Z'
++ updated_at: '2021-11-10T10:24:17.096Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -11815,9 -11541,9 +12084,9 @@@
- id: '120'
type: user
attributes:
- created_at: '2021-11-10T08:38:48.777Z'
- updated_at: '2021-11-10T08:38:48.777Z'
- created_at: '2021-11-09T11:28:03.070Z'
- updated_at: '2021-11-09T11:28:03.070Z'
++ created_at: '2021-11-10T10:24:17.107Z'
++ updated_at: '2021-11-10T10:24:17.107Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -11831,9 -11557,9 +12100,9 @@@
- id: '121'
type: user
attributes:
- created_at: '2021-11-10T08:38:48.780Z'
- updated_at: '2021-11-10T08:38:48.780Z'
- created_at: '2021-11-09T11:28:03.073Z'
- updated_at: '2021-11-09T11:28:03.073Z'
++ created_at: '2021-11-10T10:24:17.110Z'
++ updated_at: '2021-11-10T10:24:17.110Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -11894,9 -11620,9 +12163,9 @@@
id: '126'
type: user
attributes:
- created_at: '2021-11-10T08:38:48.965Z'
- updated_at: '2021-11-10T08:38:48.965Z'
- created_at: '2021-11-09T11:28:03.364Z'
- updated_at: '2021-11-09T11:28:03.364Z'
++ created_at: '2021-11-10T10:24:17.252Z'
++ updated_at: '2021-11-10T10:24:17.252Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -11961,9 -11687,9 +12230,9 @@@
id: '129'
type: user
attributes:
- created_at: '2021-11-10T08:38:49.073Z'
- updated_at: '2021-11-10T08:38:49.073Z'
- created_at: '2021-11-09T11:28:03.454Z'
- updated_at: '2021-11-09T11:28:03.454Z'
++ created_at: '2021-11-10T10:24:17.348Z'
++ updated_at: '2021-11-10T10:24:17.348Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -12030,8 -11756,8 +12299,8 @@@
type: user
attributes:
- created_at: '2021-11-10T08:38:49.220Z'
- updated_at: '2021-11-10T08:38:49.234Z'
- created_at: '2021-11-09T11:28:03.579Z'
- updated_at: '2021-11-09T11:28:03.591Z'
++ created_at: '2021-11-10T10:24:17.492Z'
++ updated_at: '2021-11-10T10:24:17.504Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@@ -12180,14 -11906,14 +12449,14 @@@
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-10T08:38:49.746Z'
- updated_at: '2021-11-09T11:28:03.915Z'
++ updated_at: '2021-11-10T10:24:17.859Z'
discontinue_on:
- created_at: '2021-11-10T08:38:49.738Z'
- created_at: '2021-11-09T11:28:03.907Z'
++ created_at: '2021-11-10T10:24:17.848Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 1200'
- name: 'Product #181 - 9861'
++ name: 'Product #181 - 6947'
options_text: ''
total_on_hand: 0
purchasable: true
@@@ -12222,23 -11948,23 +12491,23 @@@
type: variant
attributes:
sku: SKU-249
- weight: '86.27'
- height: '107.51'
- depth: '101.82'
- weight: '170.69'
- height: '59.95'
- depth: '16.92'
++ weight: '23.36'
++ height: '100.91'
++ depth: '61.29'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-10T08:38:49.789Z'
- updated_at: '2021-11-09T11:28:03.953Z'
++ updated_at: '2021-11-10T10:24:17.906Z'
discontinue_on:
- created_at: '2021-11-10T08:38:49.779Z'
- created_at: '2021-11-09T11:28:03.944Z'
++ created_at: '2021-11-10T10:24:17.897Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 1200'
- name: 'Product #181 - 9861'
++ name: 'Product #181 - 6947'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@@ -12275,23 -12001,23 +12544,23 @@@
type: variant
attributes:
sku: SKU-250
- weight: '151.69'
- height: '6.18'
- depth: '140.6'
- weight: '4.39'
- height: '107.73'
- depth: '58.55'
++ weight: '112.75'
++ height: '155.64'
++ depth: '4.63'
deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-10T08:38:49.822Z'
- updated_at: '2021-11-09T11:28:03.979Z'
++ updated_at: '2021-11-10T10:24:17.939Z'
discontinue_on:
- created_at: '2021-11-10T08:38:49.812Z'
- created_at: '2021-11-09T11:28:03.970Z'
++ created_at: '2021-11-10T10:24:17.929Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 1200'
- name: 'Product #181 - 9861'
++ name: 'Product #181 - 6947'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@@ -12381,23 -12107,23 +12650,23 @@@
type: variant
attributes:
sku: SKU-255
- weight: '24.19'
- height: '178.45'
- depth: '97.38'
- weight: '71.32'
- height: '113.34'
- depth: '157.89'
++ weight: '50.58'
++ height: '35.51'
++ depth: '38.9'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-10T08:38:50.203Z'
- updated_at: '2021-11-09T11:28:04.290Z'
++ updated_at: '2021-11-10T10:24:18.311Z'
discontinue_on:
- created_at: '2021-11-10T08:38:50.193Z'
- created_at: '2021-11-09T11:28:04.281Z'
++ created_at: '2021-11-10T10:24:18.302Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #183 - 9721'
- name: 'Product #183 - 4490'
++ name: 'Product #183 - 1923'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@@ -12558,14 -12284,14 +12827,14 @@@
- id: '1'
type: event
attributes:
- execution_time: 26967
- execution_time: 90994
++ execution_time: 19417
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2021-11-10T08:38:50.813Z'
- updated_at: '2021-11-10T08:38:50.813Z'
- created_at: '2021-11-09T11:28:04.777Z'
- updated_at: '2021-11-09T11:28:04.777Z'
++ created_at: '2021-11-10T10:24:18.883Z'
++ updated_at: '2021-11-10T10:24:18.883Z'
relationships:
subscriber:
data:
@@@ -12574,14 -12300,14 +12843,14 @@@
- id: '2'
type: event
attributes:
- execution_time: 80103
- execution_time: 43449
++ execution_time: 59686
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2021-11-10T08:38:50.818Z'
- updated_at: '2021-11-10T08:38:50.818Z'
- created_at: '2021-11-09T11:28:04.780Z'
- updated_at: '2021-11-09T11:28:04.780Z'
++ created_at: '2021-11-10T10:24:18.886Z'
++ updated_at: '2021-11-10T10:24:18.886Z'
relationships:
subscriber:
data:
@@@ -12657,8 -12383,8 +12926,8 @@@
active: true
subscriptions:
- "*"
- created_at: '2021-11-10T08:38:50.922Z'
- updated_at: '2021-11-10T08:38:50.922Z'
- created_at: '2021-11-09T11:28:04.861Z'
- updated_at: '2021-11-09T11:28:04.861Z'
++ created_at: '2021-11-10T10:24:18.978Z'
++ updated_at: '2021-11-10T10:24:18.978Z'
- id: '6'
type: subscriber
attributes:
@@@ -12666,8 -12392,8 +12935,8 @@@
active: true
subscriptions:
- "*"
- created_at: '2021-11-10T08:38:50.924Z'
- updated_at: '2021-11-10T08:38:50.924Z'
- created_at: '2021-11-09T11:28:04.862Z'
- updated_at: '2021-11-09T11:28:04.862Z'
++ created_at: '2021-11-10T10:24:18.980Z'
++ updated_at: '2021-11-10T10:24:18.980Z'
meta:
count: 2
total_count: 2
@@@ -12715,8 -12441,8 +12984,8 @@@
active: true
subscriptions:
- "*"
- created_at: '2021-11-10T08:38:51.021Z'
- updated_at: '2021-11-10T08:38:51.021Z'
- created_at: '2021-11-09T11:28:04.953Z'
- updated_at: '2021-11-09T11:28:04.953Z'
++ created_at: '2021-11-10T10:24:19.077Z'
++ updated_at: '2021-11-10T10:24:19.077Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -12771,8 -12497,8 +13040,8 @@@
active: true
subscriptions:
- "*"
- created_at: '2021-11-10T08:38:51.088Z'
- updated_at: '2021-11-10T08:38:51.088Z'
- created_at: '2021-11-09T11:28:05.014Z'
- updated_at: '2021-11-09T11:28:05.014Z'
++ created_at: '2021-11-10T10:24:19.141Z'
++ updated_at: '2021-11-10T10:24:19.141Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@@ -12825,8 -12551,8 +13094,8 @@@
active: true
subscriptions:
- "*"
- created_at: '2021-11-10T08:38:51.197Z'
- updated_at: '2021-11-10T08:38:51.197Z'
- created_at: '2021-11-09T11:28:05.106Z'
- updated_at: '2021-11-09T11:28:05.106Z'
++ created_at: '2021-11-10T10:24:19.259Z'
++ updated_at: '2021-11-10T10:24:19.259Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@@ -12947,10 -12673,10 +13216,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:51.648Z'
- updated_at: '2021-11-10T08:38:51.648Z'
- created_at: '2021-11-09T11:28:05.507Z'
- updated_at: '2021-11-09T11:28:05.507Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:19.716Z'
++ updated_at: '2021-11-10T10:24:19.716Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -12962,10 -12688,10 +13231,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:51.725Z'
- updated_at: '2021-11-10T08:38:51.725Z'
- created_at: '2021-11-09T11:28:05.578Z'
- updated_at: '2021-11-09T11:28:05.578Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:19.804Z'
++ updated_at: '2021-11-10T10:24:19.804Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -12977,10 -12703,10 +13246,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:51.813Z'
- updated_at: '2021-11-10T08:38:51.813Z'
- created_at: '2021-11-09T11:28:05.655Z'
- updated_at: '2021-11-09T11:28:05.655Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:19.891Z'
++ updated_at: '2021-11-10T10:24:19.891Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -12992,10 -12718,10 +13261,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:51.900Z'
- updated_at: '2021-11-10T08:38:51.900Z'
- created_at: '2021-11-09T11:28:05.724Z'
- updated_at: '2021-11-09T11:28:05.724Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:19.972Z'
++ updated_at: '2021-11-10T10:24:19.972Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -13054,10 -12780,10 +13323,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:52.558Z'
- updated_at: '2021-11-10T08:38:52.558Z'
- created_at: '2021-11-09T11:28:06.258Z'
- updated_at: '2021-11-09T11:28:06.258Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:20.665Z'
++ updated_at: '2021-11-10T10:24:20.665Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -13125,10 -12851,10 +13394,10 @@@
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-10T08:38:52.943Z'
- updated_at: '2021-11-10T08:38:52.943Z'
- created_at: '2021-11-09T11:28:06.560Z'
- updated_at: '2021-11-09T11:28:06.560Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:21.236Z'
++ updated_at: '2021-11-10T10:24:21.236Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@@ -13192,10 -12918,10 +13461,10 @@@
type: wished_item
attributes:
quantity: 3
- created_at: '2021-11-10T08:38:53.571Z'
- updated_at: '2021-11-10T08:38:53.584Z'
- created_at: '2021-11-09T11:28:07.056Z'
- updated_at: '2021-11-09T11:28:07.066Z'
- display_price: "$19.99"
++ created_at: '2021-11-10T10:24:21.874Z'
++ updated_at: '2021-11-10T10:24:21.885Z'
display_total: "$59.97"
+ display_price: "$19.99"
price: '19.99'
total: '59.97'
relationships:
@@@ -13328,9 -13054,9 +13597,9 @@@
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-11-10T08:38:54.927Z'
- updated_at: '2021-11-10T08:38:54.927Z'
- token: jJuoxVHfPXrRSXrgFhuboFi5
- created_at: '2021-11-09T11:28:08.100Z'
- updated_at: '2021-11-09T11:28:08.100Z'
- token: KZHvb2yX7ZhfozCmisyz3hFT
++ created_at: '2021-11-10T10:24:23.307Z'
++ updated_at: '2021-11-10T10:24:23.307Z'
++ token: yFd8XPCVM8zcxTxcmQnw1g3C
variant_included: false
relationships:
wished_items:
@@@ -13345,9 -13071,9 +13614,9 @@@
name: Birthday
is_private: true
is_default: false
- created_at: '2021-11-10T08:38:54.930Z'
- updated_at: '2021-11-10T08:38:54.930Z'
- token: MRjjdQXMqzLV5Bf1UX8HTbNr
- created_at: '2021-11-09T11:28:08.103Z'
- updated_at: '2021-11-09T11:28:08.103Z'
- token: gQ3b51QMu3Z8MSm68cXNYcxe
++ created_at: '2021-11-10T10:24:23.310Z'
++ updated_at: '2021-11-10T10:24:23.310Z'
++ token: S5dTXFMJzpm2XTBK3Tk5Ar1p
variant_included: false
relationships:
wished_items:
@@@ -13409,9 -13135,9 +13678,9 @@@
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-11-10T08:38:55.806Z'
- updated_at: '2021-11-10T08:38:55.806Z'
- token: 2feqjvjCNahdVVhwUW1K1Rn1
- created_at: '2021-11-09T11:28:08.781Z'
- updated_at: '2021-11-09T11:28:08.781Z'
- token: Fn3rAnHYePb9d7pB6odK2mUs
++ created_at: '2021-11-10T10:24:24.187Z'
++ updated_at: '2021-11-10T10:24:24.187Z'
++ token: uQssf4strbTnnvfobvVKs6ei
variant_included: false
relationships:
wished_items:
@@@ -13475,9 -13201,9 +13744,9 @@@
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-11-10T08:38:55.895Z'
- updated_at: '2021-11-10T08:38:55.895Z'
- token: KW8d9LFRT5S68hGYXJUsZFur
- created_at: '2021-11-09T11:28:08.859Z'
- updated_at: '2021-11-09T11:28:08.859Z'
- token: 486GWKopw2VcEc6dNpa7K2dL
++ created_at: '2021-11-10T10:24:24.276Z'
++ updated_at: '2021-11-10T10:24:24.276Z'
++ token: 7tomSZ2xS7k6czj3GAsC1jAw
variant_included: false
relationships:
wished_items:
@@@ -13540,9 -13266,9 +13809,9 @@@
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-11-10T08:38:56.031Z'
- updated_at: '2021-11-10T08:38:56.046Z'
- token: k6AGd3bLZmBCHNTHoAMDgQu5
- created_at: '2021-11-09T11:28:08.999Z'
- updated_at: '2021-11-09T11:28:09.011Z'
- token: 2VhZsBysB8EoVbTowdTcRZyi
++ created_at: '2021-11-10T10:24:24.409Z'
++ updated_at: '2021-11-10T10:24:24.421Z'
++ token: tSxpUCVVUzQk1fjhThrj5oDP
variant_included: false
relationships:
wished_items:
@@@ -13669,13 -13395,12 +13938,13 @@@
- id: '96'
type: zone
attributes:
- name: Itaque in neque hic culpa.
- description: Assumenda deserunt culpa suscipit alias dolorum
- ullam.
- name: Praesentium odio autem iure sequi.
- description: At sunt itaque voluptatibus magni suscipit.
++ name: Suscipit deleniti tempora alias quae nihil sunt placeat.
++ description: Adipisci optio deleniti consequuntur doloremque
++ totam voluptate eos.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-10T08:38:56.359Z'
- updated_at: '2021-11-10T08:38:56.359Z'
- created_at: '2021-11-09T11:28:09.246Z'
- updated_at: '2021-11-09T11:28:09.246Z'
++ created_at: '2021-11-10T10:24:24.680Z'
++ updated_at: '2021-11-10T10:24:24.680Z'
kind: state
relationships:
zone_members:
@@@ -13683,13 -13408,13 +13952,12 @@@
- id: '97'
type: zone
attributes:
- name: Ipsum officia alias at fugiat reiciendis in quas est.
- description: Voluptate reiciendis impedit modi saepe nihil
- error asperiores.
- name: Inventore blanditiis autem rem quo odio officia consectetur.
- description: Delectus maiores ea iusto nisi sequi repellat
- quo similique.
++ name: Voluptatem aliquam quos quaerat autem itaque tenetur.
++ description: Placeat natus adipisci vel vero voluptates unde.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-10T08:38:56.361Z'
- updated_at: '2021-11-10T08:38:56.361Z'
- created_at: '2021-11-09T11:28:09.248Z'
- updated_at: '2021-11-09T11:28:09.248Z'
++ created_at: '2021-11-10T10:24:24.682Z'
++ updated_at: '2021-11-10T10:24:24.682Z'
kind: state
relationships:
zone_members:
@@@ -13744,12 -13469,12 +14012,12 @@@
id: '100'
type: zone
attributes:
- name: Animi hic mollitia amet expedita.
- description: Vel deleniti quasi reprehenderit excepturi nihil.
- name: Ratione doloribus error beatae ducimus nemo sequi.
- description: Optio quidem blanditiis nisi minima.
++ name: Atque dolorum ipsa sed pariatur temporibus.
++ description: Iure ex excepturi laudantium itaque nostrum.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-10T08:38:56.463Z'
- updated_at: '2021-11-10T08:38:56.463Z'
- created_at: '2021-11-09T11:28:09.341Z'
- updated_at: '2021-11-09T11:28:09.341Z'
++ created_at: '2021-11-10T10:24:24.780Z'
++ updated_at: '2021-11-10T10:24:24.780Z'
kind: state
relationships:
zone_members:
@@@ -13808,13 -13533,12 +14076,12 @@@
id: '101'
type: zone
attributes:
- name: Architecto impedit odit beatae dignissimos rerum consequatur
- officia.
- description: Magni natus animi reiciendis nisi unde.
- name: Assumenda asperiores cumque possimus enim.
- description: Nobis quod voluptas optio laborum fuga cupiditate.
++ name: Iste dolores incidunt laboriosam aliquid unde ut facilis.
++ description: Nihil fugiat impedit delectus quisquam.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-10T08:38:56.539Z'
- updated_at: '2021-11-10T08:38:56.539Z'
- created_at: '2021-11-09T11:28:09.402Z'
- updated_at: '2021-11-09T11:28:09.402Z'
++ created_at: '2021-11-10T10:24:24.858Z'
++ updated_at: '2021-11-10T10:24:24.858Z'
kind: state
relationships:
zone_members:
@@@ -13878,8 -13602,8 +14145,8 @@@
description: The zone containing all EU countries
default_tax: false
zone_members_count: 0
- created_at: '2021-11-10T08:38:56.641Z'
- updated_at: '2021-11-10T08:38:56.652Z'
- created_at: '2021-11-09T11:28:09.496Z'
- updated_at: '2021-11-09T11:28:09.506Z'
++ created_at: '2021-11-10T10:24:24.973Z'
++ updated_at: '2021-11-10T10:24:24.985Z'
kind: state
relationships:
zone_members:
@@@ -13988,7 -13712,6 +14255,8 @@@ tags
- name: Shipments
- name: Shipping Categories
- name: Shipping Methods
+- name: Store Credit Categories
++- name: Store Credit Types
- name: Store Credits
- name: Tax Categories
- name: Tax Rates
@@@ -15884,7 -15607,7 +16152,7 @@@ components
completed_at:
type: string
format: date_time
- example: 2021-11-10 08:37:52 UTC
- example: 2021-11-09 11:27:12 UTC
++ example: 2021-11-10 10:23:15 UTC
bill_address_id:
type: string
example: '1'
@@@ -15952,7 -15675,7 +16220,7 @@@
approved_at:
type: string
format: date_time
- example: 2021-11-10 08:37:52 UTC
- example: 2021-11-09 11:27:12 UTC
++ example: 2021-11-10 10:23:15 UTC
confirmation_delivered:
type: boolean
example: true
@@@ -16023,7 -15746,7 +16291,7 @@@
completed_at:
type: string
format: date_time
- example: 2021-11-10 08:37:52 UTC
- example: 2021-11-09 11:27:12 UTC
++ example: 2021-11-10 10:23:15 UTC
bill_address_id:
type: string
example: '1'
@@@ -16091,7 -15814,7 +16359,7 @@@
approved_at:
type: string
format: date_time
- example: 2021-11-10 08:37:52 UTC
- example: 2021-11-09 11:27:12 UTC
++ example: 2021-11-10 10:23:15 UTC
confirmation_delivered:
type: boolean
example: true
@@@ -16551,34 -16274,6 +16819,51 @@@
required:
- type
x-internal: true
+ create_store_credit_category_params:
+ type: object
+ properties:
+ store_credit_category:
+ type: object
+ required:
+ - name
+ properties:
+ name:
+ type: string
+ example: refunded
+ required:
+ - store_credit_category
+ x-internal: true
+ update_store_credit_category_params:
+ type: object
+ properties:
+ store_credit_category:
+ type: object
+ required:
+ - name
+ properties:
+ name:
+ type: string
+ example: refunded
+ required:
+ - store_credit_category
+ x-internal: true
++ create_store_credit_type_params:
++ type: object
++ properties:
++ store_credit_type:
++ type: object
++ required:
++ - name
++ properties:
++ name:
++ type: string
++ example: refunded
++ priority:
++ type: integer
++ example: 1
++ required:
++ - store_credit_type
++ x-internal: true
create_store_credit_params:
type: object
properties:
diff --cc api/spec/swagger_helper.rb
index 496ad7796c,5c31797910..660abfd4c9
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@@ -61,7 -61,6 +61,8 @@@ RSpec.configure do |config
{ name: 'Shipments' },
{ name: 'Shipping Categories' },
{ name: 'Shipping Methods' },
+ { name: 'Store Credit Categories' },
++ { name: 'Store Credit Types' },
{ name: 'Store Credits' },
{ name: 'Tax Categories' },
{ name: 'Tax Rates' },
@@@ -1317,36 -1316,7 +1318,68 @@@
'x-internal': true
},
+ # Store Credit Category
+ create_store_credit_category_params: {
+ type: :object,
+ properties: {
+ store_credit_category: {
+ type: :object,
+ required: %w[name],
+ properties: {
+ name: { type: :string, example: 'refunded' },
+ }
+ }
+ },
+ required: %w[store_credit_category],
+ 'x-internal': true
+ },
+ update_store_credit_category_params: {
+ type: :object,
+ properties: {
+ store_credit_category: {
+ type: :object,
+ required: %w[name],
+ properties: {
+ name: { type: :string, example: 'refunded' },
+ }
+ }
+ },
+ required: %w[store_credit_category],
+ 'x-internal': true
+ },
+
++ # Store Credit Type
++ create_store_credit_type_params: {
++ type: :object,
++ properties: {
++ store_credit_type: {
++ type: :object,
++ required: %w[name],
++ properties: {
++ name: { type: :string, example: 'refunded' },
++ priority: { type: :integer, example: 1 }
++ }
++ }
++ },
++ required: %w[store_credit_type],
++ 'x-internal': true
++ },
++ create_store_credit_type_params: {
++ type: :object,
++ properties: {
++ store_credit_type: {
++ type: :object,
++ required: %w[name],
++ properties: {
++ name: { type: :string, example: 'refunded' },
++ priority: { type: :integer, example: 1 }
++ }
++ }
++ },
++ required: %w[store_credit_type],
++ 'x-internal': true
++ },
+
# Store Credit
create_store_credit_params: {
type: :object,