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.

Add Products to Platform API Docs

Matthew Kennedy94016c546a1e
diff --git a/api/app/controllers/spree/api/v2/platform/products_controller.rb b/api/app/controllers/spree/api/v2/platform/products_controller.rb
index 4f77285994..b7a99fa77e 100644
--- a/api/app/controllers/spree/api/v2/platform/products_controller.rb
+++ b/api/app/controllers/spree/api/v2/platform/products_controller.rb
@@ -15,6 +15,10 @@ module Spree
product_list_includes
end
+ def spree_permitted_attributes
+ super.push(:price)
+ end
+
def allowed_sort_attributes
super.push(:available_on, :make_active_at)
end
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index 069fc8082a..534ab36c20 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -70,8 +70,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2022-02-22T08:45:31.342Z'
- updated_at: '2022-02-22T08:45:31.342Z'
+ created_at: '2022-11-08T17:51:50.432Z'
+ updated_at: '2022-11-08T17:51:50.432Z'
deleted_at:
label:
public_metadata: {}
@@ -100,8 +100,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2022-02-22T08:45:31.345Z'
- updated_at: '2022-02-22T08:45:31.345Z'
+ created_at: '2022-11-08T17:51:50.436Z'
+ updated_at: '2022-11-08T17:51:50.436Z'
deleted_at:
label:
public_metadata: {}
@@ -177,8 +177,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2022-02-22T08:45:32.028Z'
- updated_at: '2022-02-22T08:45:32.028Z'
+ created_at: '2022-11-08T17:51:51.073Z'
+ updated_at: '2022-11-08T17:51:51.073Z'
deleted_at:
label:
public_metadata: {}
@@ -274,8 +274,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2022-02-22T08:45:32.315Z'
- updated_at: '2022-02-22T08:45:32.315Z'
+ created_at: '2022-11-08T17:51:51.341Z'
+ updated_at: '2022-11-08T17:51:51.341Z'
deleted_at:
label:
public_metadata: {}
@@ -356,8 +356,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2022-02-22T08:45:32.924Z'
- updated_at: '2022-02-22T08:45:33.181Z'
+ created_at: '2022-11-08T17:51:51.865Z'
+ updated_at: '2022-11-08T17:51:52.097Z'
deleted_at:
label:
public_metadata: {}
@@ -503,8 +503,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2022-02-22T08:45:34.445Z'
- updated_at: '2022-02-22T08:45:34.445Z'
+ created_at: '2022-11-08T17:51:53.316Z'
+ updated_at: '2022-11-08T17:51:53.316Z'
state: open
included: false
display_amount: "$100.00"
@@ -530,8 +530,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2022-02-22T08:45:34.473Z'
- updated_at: '2022-02-22T08:45:34.473Z'
+ created_at: '2022-11-08T17:51:53.343Z'
+ updated_at: '2022-11-08T17:51:53.343Z'
state: open
included: false
display_amount: "$100.00"
@@ -604,8 +604,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2022-02-22T08:45:35.484Z'
- updated_at: '2022-02-22T08:45:35.484Z'
+ created_at: '2022-11-08T17:51:54.151Z'
+ updated_at: '2022-11-08T17:51:54.151Z'
state: open
included: false
display_amount: "$100.00"
@@ -687,8 +687,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2022-02-22T08:45:35.930Z'
- updated_at: '2022-02-22T08:45:35.934Z'
+ created_at: '2022-11-08T17:51:54.513Z'
+ updated_at: '2022-11-08T17:51:54.517Z'
state: open
included: false
display_amount: "$1.00"
@@ -766,8 +766,8 @@ paths:
label: New label
mandatory:
eligible: true
- created_at: '2022-02-22T08:45:36.655Z'
- updated_at: '2022-02-22T08:45:36.916Z'
+ created_at: '2022-11-08T17:51:55.176Z'
+ updated_at: '2022-11-08T17:51:55.411Z'
state: open
included: false
display_amount: "$15.00"
@@ -907,8 +907,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2022-02-22T08:45:38.523Z'
- updated_at: '2022-02-22T08:45:38.523Z'
+ created_at: '2022-11-08T17:51:56.868Z'
+ updated_at: '2022-11-08T17:51:56.868Z'
relationships:
product:
data:
@@ -922,8 +922,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2022-02-22T08:45:38.633Z'
- updated_at: '2022-02-22T08:45:38.633Z'
+ created_at: '2022-11-08T17:51:56.945Z'
+ updated_at: '2022-11-08T17:51:56.945Z'
relationships:
product:
data:
@@ -984,8 +984,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2022-02-22T08:45:39.506Z'
- updated_at: '2022-02-22T08:45:39.506Z'
+ created_at: '2022-11-08T17:51:57.729Z'
+ updated_at: '2022-11-08T17:51:57.729Z'
relationships:
product:
data:
@@ -1052,8 +1052,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2022-02-22T08:45:39.929Z'
- updated_at: '2022-02-22T08:45:39.929Z'
+ created_at: '2022-11-08T17:51:58.088Z'
+ updated_at: '2022-11-08T17:51:58.088Z'
relationships:
product:
data:
@@ -1119,8 +1119,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2022-02-22T08:45:40.725Z'
- updated_at: '2022-02-22T08:45:40.725Z'
+ created_at: '2022-11-08T17:51:58.777Z'
+ updated_at: '2022-11-08T17:51:58.777Z'
relationships:
product:
data:
@@ -1264,35 +1264,34 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Doloremque cumque alias expedita a officia laborum
- iusto beatae.
+ title: Maiores dolor dignissimos modi numquam.
meta_title:
content:
meta_description:
visible: true
- slug: doloremque-cumque-alias-expedita-a-officia-laborum-iusto-beatae
+ slug: maiores-dolor-dignissimos-modi-numquam
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2022-02-22T08:45:42.522Z'
- updated_at: '2022-02-22T08:45:42.522Z'
+ created_at: '2022-11-08T17:52:00.422Z'
+ updated_at: '2022-11-08T17:52:00.422Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Incidunt at debitis laborum dolorem.
+ title: Sapiente eius soluta a nesciunt voluptatum.
meta_title:
content:
meta_description:
visible: true
- slug: incidunt-at-debitis-laborum-dolorem
+ slug: sapiente-eius-soluta-a-nesciunt-voluptatum
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2022-02-22T08:45:42.526Z'
- updated_at: '2022-02-22T08:45:42.526Z'
+ created_at: '2022-11-08T17:52:00.427Z'
+ updated_at: '2022-11-08T17:52:00.427Z'
relationships:
cms_sections:
data: []
@@ -1346,17 +1345,18 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Quam nesciunt fuga reiciendis illo minima voluptatibus.
+ title: Accusamus quae corrupti consequatur eaque distinctio
+ repudiandae facere.
meta_title:
content:
meta_description:
visible: true
- slug: quam-nesciunt-fuga-reiciendis-illo-minima-voluptatibus
+ slug: accusamus-quae-corrupti-consequatur-eaque-distinctio-repudiandae-facere
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2022-02-22T08:45:43.087Z'
- updated_at: '2022-02-22T08:45:43.087Z'
+ created_at: '2022-11-08T17:52:00.965Z'
+ updated_at: '2022-11-08T17:52:00.965Z'
relationships:
cms_sections:
data: []
@@ -1422,17 +1422,17 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Accusantium ducimus repellat ad maxime vel magnam rem.
+ title: Beatae officia eius quo debitis explicabo ipsum harum.
meta_title:
content:
meta_description:
visible: true
- slug: accusantium-ducimus-repellat-ad-maxime-vel-magnam-rem
+ slug: beatae-officia-eius-quo-debitis-explicabo-ipsum-harum
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2022-02-22T08:45:43.374Z'
- updated_at: '2022-02-22T08:45:43.374Z'
+ created_at: '2022-11-08T17:52:01.236Z'
+ updated_at: '2022-11-08T17:52:01.236Z'
relationships:
cms_sections:
data: []
@@ -1496,12 +1496,12 @@ paths:
content:
meta_description:
visible: true
- slug: omnis-quasi-eaque-provident-ipsa
+ slug: provident-voluptatem-atque-accusamus-eius-consequuntur-asperiores-nam
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2022-02-22T08:45:43.936Z'
- updated_at: '2022-02-22T08:45:44.185Z'
+ created_at: '2022-11-08T17:52:01.759Z'
+ updated_at: '2022-11-08T17:52:01.992Z'
relationships:
cms_sections:
data: []
@@ -1630,8 +1630,8 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Illo assumenda velit laborum sit rem rerum provident
- in.
+ name: Nisi deleniti nesciunt nostrum quaerat consequatur sunt
+ impedit natus.
content: {}
settings:
gutters: No Gutters
@@ -1640,8 +1640,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2022-02-22T08:45:45.343Z'
- updated_at: '2022-02-22T08:45:45.343Z'
+ created_at: '2022-11-08T17:52:03.093Z'
+ updated_at: '2022-11-08T17:52:03.093Z'
relationships:
cms_page:
data:
@@ -1652,7 +1652,8 @@ paths:
- id: '2'
type: cms_section
attributes:
- name: Aspernatur deserunt labore dolores illo eum.
+ name: Et praesentium temporibus dignissimos vitae voluptatem
+ non quam perspiciatis.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1664,8 +1665,8 @@ paths:
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2022-02-22T08:45:45.347Z'
- updated_at: '2022-02-22T08:45:45.347Z'
+ created_at: '2022-11-08T17:52:03.097Z'
+ updated_at: '2022-11-08T17:52:03.097Z'
relationships:
cms_page:
data:
@@ -1676,8 +1677,8 @@ paths:
- id: '3'
type: cms_section
attributes:
- name: Doloribus ipsam repellendus provident dolor commodi
- maiores a.
+ name: Necessitatibus quaerat corrupti aliquam optio iste officia
+ blanditiis ab.
content: {}
settings:
gutters: No Gutters
@@ -1686,8 +1687,8 @@ paths:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2022-02-22T08:45:45.352Z'
- updated_at: '2022-02-22T08:45:45.352Z'
+ created_at: '2022-11-08T17:52:03.103Z'
+ updated_at: '2022-11-08T17:52:03.103Z'
relationships:
cms_page:
data:
@@ -1698,7 +1699,7 @@ paths:
- id: '4'
type: cms_section
attributes:
- name: At cupiditate eum nam omnis earum dolore quod.
+ name: Quasi minima similique ea harum.
content: {}
settings:
gutters: No Gutters
@@ -1707,8 +1708,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2022-02-22T08:45:45.357Z'
- updated_at: '2022-02-22T08:45:45.357Z'
+ created_at: '2022-11-08T17:52:03.109Z'
+ updated_at: '2022-11-08T17:52:03.109Z'
relationships:
cms_page:
data:
@@ -1721,8 +1722,8 @@ paths:
- id: '5'
type: cms_section
attributes:
- name: Commodi possimus distinctio perferendis architecto suscipit
- sunt.
+ name: Praesentium laboriosam possimus quam ea inventore est
+ nam distinctio.
content: {}
settings:
gutters: No Gutters
@@ -1731,8 +1732,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2022-02-22T08:45:45.363Z'
- updated_at: '2022-02-22T08:45:45.363Z'
+ created_at: '2022-11-08T17:52:03.115Z'
+ updated_at: '2022-11-08T17:52:03.115Z'
relationships:
cms_page:
data:
@@ -1792,8 +1793,7 @@ paths:
id: '13'
type: cms_section
attributes:
- name: Mollitia nihil eum eaque doloremque nesciunt inventore
- voluptates unde.
+ name: Adipisci sit praesentium sint odio.
content: {}
settings:
gutters: No Gutters
@@ -1802,8 +1802,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2022-02-22T08:45:46.013Z'
- updated_at: '2022-02-22T08:45:46.013Z'
+ created_at: '2022-11-08T17:52:03.751Z'
+ updated_at: '2022-11-08T17:52:03.751Z'
relationships:
cms_page:
data:
@@ -1878,7 +1878,7 @@ paths:
id: '19'
type: cms_section
attributes:
- name: Fugiat consequuntur error voluptatum delectus fuga.
+ name: Nostrum recusandae architecto deleniti voluptatem ipsum.
content: {}
settings:
gutters: No Gutters
@@ -1887,8 +1887,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2022-02-22T08:45:46.393Z'
- updated_at: '2022-02-22T08:45:46.393Z'
+ created_at: '2022-11-08T17:52:04.140Z'
+ updated_at: '2022-11-08T17:52:04.140Z'
relationships:
cms_page:
data:
@@ -1962,8 +1962,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Product
- created_at: '2022-02-22T08:45:47.090Z'
- updated_at: '2022-02-22T08:45:47.343Z'
+ created_at: '2022-11-08T17:52:04.827Z'
+ updated_at: '2022-11-08T17:52:05.063Z'
relationships:
cms_page:
data:
@@ -2083,9 +2083,9 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2022-02-22T08:45:48.833Z'
+ updated_at: '2022-11-08T17:52:06.483Z'
zipcode_required: true
- created_at: '2022-02-22T08:45:48.833Z'
+ created_at: '2022-11-08T17:52:06.483Z'
relationships:
states:
data: []
@@ -2098,9 +2098,9 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2022-02-22T08:45:48.839Z'
+ updated_at: '2022-11-08T17:52:06.488Z'
zipcode_required: true
- created_at: '2022-02-22T08:45:48.839Z'
+ created_at: '2022-11-08T17:52:06.488Z'
relationships:
states:
data: []
@@ -2113,9 +2113,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2022-02-22T08:45:48.841Z'
+ updated_at: '2022-11-08T17:52:06.490Z'
zipcode_required: true
- created_at: '2022-02-22T08:45:48.841Z'
+ created_at: '2022-11-08T17:52:06.490Z'
relationships:
states:
data: []
@@ -2174,9 +2174,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2022-02-22T08:45:49.145Z'
+ updated_at: '2022-11-08T17:52:06.780Z'
zipcode_required: true
- created_at: '2022-02-22T08:45:49.145Z'
+ created_at: '2022-11-08T17:52:06.780Z'
relationships:
states:
data: []
@@ -2234,7 +2234,7 @@ paths:
- id: '1'
type: digital_link
attributes:
- token: TouNquUyE8BhxRkeV3psrQHY
+ token: 7g1K5CmnsDcX7gv7JcG6os7K
access_counter: 0
relationships:
digital:
@@ -2248,7 +2248,7 @@ paths:
- id: '2'
type: digital_link
attributes:
- token: GMQ7Kwqut4VbGwNsAxsewFdk
+ token: RrPsN4FEWxp7DqMVKXAtxJy9
access_counter: 0
relationships:
digital:
@@ -2302,7 +2302,7 @@ paths:
id: '5'
type: digital_link
attributes:
- token: L5gN3rTF3iRfEoTir4vsGiko
+ token: aWZpfT8UG61i3e1AXzWjv3ED
access_counter: 0
relationships:
digital:
@@ -2365,7 +2365,7 @@ paths:
id: '6'
type: digital_link
attributes:
- token: gEDeqg1wv87rr4tpLthPsWia
+ token: v4MEn3dibaCJD7gfUMT3EUwC
access_counter: 0
relationships:
digital:
@@ -2424,7 +2424,7 @@ paths:
id: '8'
type: digital_link
attributes:
- token: xDUZDDfG9BkMNc9LYTLkwKg8
+ token: 6xWmAGPZSWj5yL12Qv2RxDrt
access_counter: 0
relationships:
digital:
@@ -2539,7 +2539,7 @@ paths:
id: '13'
type: digital_link
attributes:
- token: XnKwDr68MbEqBQWEv631ab4Q
+ token: kmqNiRW7NcGHkE3D7NxvWCUG
access_counter: 0
relationships:
digital:
@@ -2611,7 +2611,7 @@ paths:
- id: '15'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f32446c68abdb9555b36aa1cdfb2061661a7e559/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--fd5f8cec8849d4ccb3d1b3142c05292c54a61183/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2623,7 +2623,7 @@ paths:
- id: '16'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--23286fd2b4bbcea9f1b5c4b6885e0ca554cc1573/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5cdd34bda2b6ab554834bbebc5eabfe55065258/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2635,7 +2635,7 @@ paths:
- id: '17'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c719e117e13673d1f2e56a6f935ccd5c917c3184/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--86cfdf96a18ded007d9ec0ae05dd122cee26fef5/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2694,7 +2694,7 @@ paths:
id: '24'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b1dc4f12f5ea79e33a65ecae0c2bd149b7bd6a6b/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6cac9cd14eb0139474e42d68585bead023589c85/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2759,7 +2759,7 @@ paths:
id: '28'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0686a91dd63e3d8d2d5af9589cbbfd02e003875b/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0b80fde2e739c30ef5390b1ca35d677810a2d02c/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2823,7 +2823,7 @@ paths:
id: '36'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--6fd5e40cb39165c5e95187ff57184e9b056e6f03/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f87d494de28c18444adcd95623dbd33fd728c466/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2956,8 +2956,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2022-02-22T08:46:02.143Z'
- updated_at: '2022-02-22T08:46:02.151Z'
+ created_at: '2022-11-08T17:52:18.703Z'
+ updated_at: '2022-11-08T17:52:18.712Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2969,17 +2969,17 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_included_tax_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_adjustment_total: "$0.00"
- display_promo_total: "$0.00"
- display_total: "$10.00"
- display_amount: "$10.00"
display_discounted_amount: "$10.00"
- display_subtotal: "$10.00"
+ display_amount: "$10.00"
display_final_amount: "$10.00"
+ display_subtotal: "$10.00"
display_pre_tax_amount: "$10.00"
display_price: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_total: "$10.00"
+ display_included_tax_total: "$0.00"
relationships:
order:
data:
@@ -3004,8 +3004,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2022-02-22T08:46:02.195Z'
- updated_at: '2022-02-22T08:46:02.201Z'
+ created_at: '2022-11-08T17:52:18.749Z'
+ updated_at: '2022-11-08T17:52:18.756Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3017,17 +3017,17 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_included_tax_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_adjustment_total: "$0.00"
- display_promo_total: "$0.00"
- display_total: "$10.00"
- display_amount: "$10.00"
display_discounted_amount: "$10.00"
- display_subtotal: "$10.00"
+ display_amount: "$10.00"
display_final_amount: "$10.00"
+ display_subtotal: "$10.00"
display_pre_tax_amount: "$10.00"
display_price: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_total: "$10.00"
+ display_included_tax_total: "$0.00"
relationships:
order:
data:
@@ -3099,8 +3099,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2022-02-22T08:46:02.963Z'
- updated_at: '2022-02-22T08:46:02.993Z'
+ created_at: '2022-11-08T17:52:19.551Z'
+ updated_at: '2022-11-08T17:52:19.591Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3112,17 +3112,17 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_included_tax_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_adjustment_total: "$0.00"
- display_promo_total: "$0.00"
- display_total: "$10.00"
- display_amount: "$10.00"
display_discounted_amount: "$10.00"
- display_subtotal: "$10.00"
+ display_amount: "$10.00"
display_final_amount: "$10.00"
+ display_subtotal: "$10.00"
display_pre_tax_amount: "$10.00"
display_price: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_total: "$10.00"
+ display_included_tax_total: "$0.00"
relationships:
order:
data:
@@ -3203,8 +3203,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2022-02-22T08:46:03.420Z'
- updated_at: '2022-02-22T08:46:03.427Z'
+ created_at: '2022-11-08T17:52:19.999Z'
+ updated_at: '2022-11-08T17:52:20.007Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3216,17 +3216,17 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_included_tax_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_adjustment_total: "$0.00"
- display_promo_total: "$0.00"
- display_total: "$10.00"
- display_amount: "$10.00"
display_discounted_amount: "$10.00"
- display_subtotal: "$10.00"
+ display_amount: "$10.00"
display_final_amount: "$10.00"
+ display_subtotal: "$10.00"
display_pre_tax_amount: "$10.00"
display_price: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_total: "$10.00"
+ display_included_tax_total: "$0.00"
relationships:
order:
data:
@@ -3303,8 +3303,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2022-02-22T08:46:04.287Z'
- updated_at: '2022-02-22T08:46:04.574Z'
+ created_at: '2022-11-08T17:52:20.753Z'
+ updated_at: '2022-11-08T17:52:21.020Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3316,17 +3316,17 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_included_tax_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_adjustment_total: "$0.00"
- display_promo_total: "$0.00"
- display_total: "$40.00"
- display_amount: "$40.00"
display_discounted_amount: "$40.00"
- display_subtotal: "$40.00"
+ display_amount: "$40.00"
display_final_amount: "$40.00"
+ display_subtotal: "$40.00"
display_pre_tax_amount: "$40.00"
display_price: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_total: "$40.00"
+ display_included_tax_total: "$0.00"
relationships:
order:
data:
@@ -3355,10 +3355,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #127 - 3787" is not available.'
+ error: Quantity selected of "Product 1279456" is not available.
errors:
quantity:
- - 'selected of "Product #127 - 3787" is not available.'
+ - selected of "Product 1279456" is not available.
schema:
"$ref": "#/components/schemas/validation_errors"
'404':
@@ -3478,8 +3478,8 @@ paths:
lft: 2
rgt: 3
depth: 1
- created_at: '2022-02-22T08:46:06.385Z'
- updated_at: '2022-02-22T08:46:06.391Z'
+ created_at: '2022-11-08T17:52:22.568Z'
+ updated_at: '2022-11-08T17:52:22.571Z'
link:
is_container: false
is_root: false
@@ -3515,8 +3515,8 @@ paths:
lft: 4
rgt: 5
depth: 1
- created_at: '2022-02-22T08:46:06.428Z'
- updated_at: '2022-02-22T08:46:06.434Z'
+ created_at: '2022-11-08T17:52:22.590Z'
+ updated_at: '2022-11-08T17:52:22.593Z'
link:
is_container: false
is_root: false
@@ -3552,8 +3552,8 @@ paths:
lft: 6
rgt: 7
depth: 1
- created_at: '2022-02-22T08:46:06.469Z'
- updated_at: '2022-02-22T08:46:06.473Z'
+ created_at: '2022-11-08T17:52:22.612Z'
+ updated_at: '2022-11-08T17:52:22.614Z'
link:
is_container: false
is_root: false
@@ -3589,8 +3589,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2022-02-22T08:46:06.511Z'
- updated_at: '2022-02-22T08:46:06.520Z'
+ created_at: '2022-11-08T17:52:22.635Z'
+ updated_at: '2022-11-08T17:52:22.638Z'
link:
is_container: false
is_root: false
@@ -3626,8 +3626,8 @@ paths:
lft: 10
rgt: 11
depth: 1
- created_at: '2022-02-22T08:46:06.583Z'
- updated_at: '2022-02-22T08:46:06.588Z'
+ created_at: '2022-11-08T17:52:22.656Z'
+ updated_at: '2022-11-08T17:52:22.658Z'
link:
is_container: false
is_root: false
@@ -3663,8 +3663,8 @@ paths:
lft: 12
rgt: 13
depth: 1
- created_at: '2022-02-22T08:46:06.626Z'
- updated_at: '2022-02-22T08:46:06.630Z'
+ created_at: '2022-11-08T17:52:22.676Z'
+ updated_at: '2022-11-08T17:52:22.679Z'
link:
is_container: false
is_root: false
@@ -3700,8 +3700,8 @@ paths:
lft: 14
rgt: 15
depth: 1
- created_at: '2022-02-22T08:46:06.659Z'
- updated_at: '2022-02-22T08:46:06.664Z'
+ created_at: '2022-11-08T17:52:22.696Z'
+ updated_at: '2022-11-08T17:52:22.700Z'
link:
is_container: false
is_root: false
@@ -3727,7 +3727,7 @@ paths:
- id: '1'
type: menu_item
attributes:
- name: Assumenda cumque earum quasi cum.
+ name: Totam veritatis molestiae accusantium animi porro quasi.
subtitle:
destination:
new_window: false
@@ -3737,8 +3737,8 @@ paths:
lft: 1
rgt: 16
depth: 0
- created_at: '2022-02-22T08:46:06.358Z'
- updated_at: '2022-02-22T08:46:06.673Z'
+ created_at: '2022-11-08T17:52:22.546Z'
+ updated_at: '2022-11-08T17:52:22.706Z'
link:
is_container: true
is_root: true
@@ -3831,8 +3831,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2022-02-22T08:46:07.626Z'
- updated_at: '2022-02-22T08:46:07.630Z'
+ created_at: '2022-11-08T17:52:23.487Z'
+ updated_at: '2022-11-08T17:52:23.491Z'
link:
is_container: false
is_root: false
@@ -3922,8 +3922,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2022-02-22T08:46:08.176Z'
- updated_at: '2022-02-22T08:46:08.180Z'
+ created_at: '2022-11-08T17:52:23.940Z'
+ updated_at: '2022-11-08T17:52:23.943Z'
link:
is_container: false
is_root: false
@@ -4011,8 +4011,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2022-02-22T08:46:09.119Z'
- updated_at: '2022-02-22T08:46:09.385Z'
+ created_at: '2022-11-08T17:52:24.753Z'
+ updated_at: '2022-11-08T17:52:24.998Z'
link:
is_container: false
is_root: false
@@ -4149,8 +4149,8 @@ paths:
lft: 5
rgt: 6
depth: 2
- created_at: '2022-02-22T08:46:11.285Z'
- updated_at: '2022-02-22T08:46:11.552Z'
+ created_at: '2022-11-08T17:52:26.719Z'
+ updated_at: '2022-11-08T17:52:26.971Z'
link:
is_container: false
is_root: false
@@ -4254,8 +4254,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2022-02-22T08:46:12.066Z'
- updated_at: '2022-02-22T08:46:12.131Z'
+ created_at: '2022-11-08T17:52:27.435Z'
+ updated_at: '2022-11-08T17:52:27.488Z'
relationships:
menu_items:
data:
@@ -4271,8 +4271,8 @@ paths:
name: Footer Menu
location: footer
locale: en
- created_at: '2022-02-22T08:46:12.076Z'
- updated_at: '2022-02-22T08:46:12.186Z'
+ created_at: '2022-11-08T17:52:27.443Z'
+ updated_at: '2022-11-08T17:52:27.531Z'
relationships:
menu_items:
data:
@@ -4335,8 +4335,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2022-02-22T08:46:12.872Z'
- updated_at: '2022-02-22T08:46:12.880Z'
+ created_at: '2022-11-08T17:52:28.176Z'
+ updated_at: '2022-11-08T17:52:28.182Z'
relationships:
menu_items:
data:
@@ -4404,8 +4404,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2022-02-22T08:46:13.185Z'
- updated_at: '2022-02-22T08:46:13.193Z'
+ created_at: '2022-11-08T17:52:28.464Z'
+ updated_at: '2022-11-08T17:52:28.471Z'
relationships:
menu_items:
data:
@@ -4469,8 +4469,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2022-02-22T08:46:13.770Z'
- updated_at: '2022-02-22T08:46:13.776Z'
+ created_at: '2022-11-08T17:52:29.021Z'
+ updated_at: '2022-11-08T17:52:29.027Z'
relationships:
menu_items:
data:
@@ -4605,8 +4605,8 @@ paths:
name: foo-size-68
presentation: Size
position: 1
- created_at: '2022-02-22T08:46:15.250Z'
- updated_at: '2022-02-22T08:46:15.250Z'
+ created_at: '2022-11-08T17:52:30.360Z'
+ updated_at: '2022-11-08T17:52:30.360Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4619,8 +4619,8 @@ paths:
name: foo-size-69
presentation: Size
position: 2
- created_at: '2022-02-22T08:46:15.252Z'
- updated_at: '2022-02-22T08:46:15.252Z'
+ created_at: '2022-11-08T17:52:30.361Z'
+ updated_at: '2022-11-08T17:52:30.361Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4673,8 +4673,8 @@ paths:
name: foo-size-72
presentation: Size
position: 1
- created_at: '2022-02-22T08:46:15.817Z'
- updated_at: '2022-02-22T08:46:15.817Z'
+ created_at: '2022-11-08T17:52:30.882Z'
+ updated_at: '2022-11-08T17:52:30.882Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4733,8 +4733,8 @@ paths:
name: foo-size-73
presentation: Size
position: 1
- created_at: '2022-02-22T08:46:16.211Z'
- updated_at: '2022-02-22T08:46:16.211Z'
+ created_at: '2022-11-08T17:52:31.149Z'
+ updated_at: '2022-11-08T17:52:31.149Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4792,8 +4792,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2022-02-22T08:46:16.835Z'
- updated_at: '2022-02-22T08:46:17.085Z'
+ created_at: '2022-11-08T17:52:31.667Z'
+ updated_at: '2022-11-08T17:52:31.897Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4931,8 +4931,8 @@ paths:
position: 1
name: Size-68
presentation: S
- created_at: '2022-02-22T08:46:18.229Z'
- updated_at: '2022-02-22T08:46:18.229Z'
+ created_at: '2022-11-08T17:52:32.958Z'
+ updated_at: '2022-11-08T17:52:32.958Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -4946,8 +4946,8 @@ paths:
position: 1
name: Size-69
presentation: S
- created_at: '2022-02-22T08:46:18.234Z'
- updated_at: '2022-02-22T08:46:18.234Z'
+ created_at: '2022-11-08T17:52:32.964Z'
+ updated_at: '2022-11-08T17:52:32.964Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5008,8 +5008,8 @@ paths:
position: 1
name: Size-72
presentation: S
- created_at: '2022-02-22T08:46:18.798Z'
- updated_at: '2022-02-22T08:46:18.798Z'
+ created_at: '2022-11-08T17:52:33.481Z'
+ updated_at: '2022-11-08T17:52:33.481Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5074,8 +5074,8 @@ paths:
position: 1
name: Size-73
presentation: S
- created_at: '2022-02-22T08:46:19.136Z'
- updated_at: '2022-02-22T08:46:19.136Z'
+ created_at: '2022-11-08T17:52:33.756Z'
+ updated_at: '2022-11-08T17:52:33.756Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5141,8 +5141,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2022-02-22T08:46:19.730Z'
- updated_at: '2022-02-22T08:46:19.990Z'
+ created_at: '2022-11-08T17:52:34.275Z'
+ updated_at: '2022-11-08T17:52:34.510Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5272,7 +5272,7 @@ paths:
- id: '40'
type: order
attributes:
- number: R936344204
+ number: R484402135
item_total: '0.0'
total: '0.0'
state: cart
@@ -5281,10 +5281,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:21.200Z'
- updated_at: '2022-02-22T08:46:21.200Z'
+ created_at: '2022-11-08T17:52:35.577Z'
+ updated_at: '2022-11-08T17:52:35.577Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5359,7 +5359,7 @@ paths:
- id: '41'
type: order
attributes:
- number: R018060851
+ number: R573744354
item_total: '0.0'
total: '0.0'
state: cart
@@ -5368,10 +5368,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:21.209Z'
- updated_at: '2022-02-22T08:46:21.209Z'
+ created_at: '2022-11-08T17:52:35.588Z'
+ updated_at: '2022-11-08T17:52:35.588Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5493,7 +5493,7 @@ paths:
id: '44'
type: order
attributes:
- number: R683595635
+ number: R963064339
item_total: '0.0'
total: '0.0'
state: cart
@@ -5504,8 +5504,8 @@ paths:
payment_state:
email:
special_instructions:
- created_at: '2022-02-22T08:46:22.013Z'
- updated_at: '2022-02-22T08:46:22.033Z'
+ created_at: '2022-11-08T17:52:36.478Z'
+ updated_at: '2022-11-08T17:52:36.495Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5622,7 +5622,7 @@ paths:
id: '45'
type: order
attributes:
- number: R023598254
+ number: R415367610
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5631,10 +5631,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:22.080Z'
- updated_at: '2022-02-22T08:46:22.234Z'
+ created_at: '2022-11-08T17:52:36.573Z'
+ updated_at: '2022-11-08T17:52:36.705Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5767,7 +5767,7 @@ paths:
id: '47'
type: order
attributes:
- number: R166547456
+ number: R075143379
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5778,8 +5778,8 @@ paths:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:22.934Z'
- updated_at: '2022-02-22T08:46:23.273Z'
+ created_at: '2022-11-08T17:52:37.386Z'
+ updated_at: '2022-11-08T17:52:37.701Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5968,7 +5968,7 @@ paths:
id: '52'
type: order
attributes:
- number: R239986102
+ number: R793279444
item_total: '10.0'
total: '110.0'
state: payment
@@ -5977,10 +5977,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:24.973Z'
- updated_at: '2022-02-22T08:46:25.357Z'
+ created_at: '2022-11-08T17:52:39.286Z'
+ updated_at: '2022-11-08T17:52:39.646Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6116,7 +6116,7 @@ paths:
id: '54'
type: order
attributes:
- number: R434374374
+ number: R609030263
item_total: '10.0'
total: '110.0'
state: payment
@@ -6125,10 +6125,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:25.814Z'
- updated_at: '2022-02-22T08:46:26.192Z'
+ created_at: '2022-11-08T17:52:40.105Z'
+ updated_at: '2022-11-08T17:52:40.447Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6264,19 +6264,19 @@ paths:
id: '56'
type: order
attributes:
- number: R963048158
+ number: R300286397
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2022-02-22T08:46:27.123Z'
+ completed_at: '2022-11-08T17:52:41.322Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2022-02-22T08:46:26.655Z'
- updated_at: '2022-02-22T08:46:27.123Z'
+ created_at: '2022-11-08T17:52:40.884Z'
+ updated_at: '2022-11-08T17:52:41.322Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6423,7 +6423,7 @@ paths:
id: '59'
type: order
attributes:
- number: R270474055
+ number: R798596389
item_total: '0.0'
total: '0.0'
state: cart
@@ -6432,10 +6432,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:27.683Z'
- updated_at: '2022-02-22T08:46:28.032Z'
+ created_at: '2022-11-08T17:52:41.903Z'
+ updated_at: '2022-11-08T17:52:42.249Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -6566,7 +6566,7 @@ paths:
id: '61'
type: order
attributes:
- number: R996121837
+ number: R275679076
item_total: '10.0'
total: '110.0'
state: delivery
@@ -6575,10 +6575,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2022-02-22T08:46:28.477Z'
- updated_at: '2022-02-22T08:46:28.555Z'
+ created_at: '2022-11-08T17:52:42.688Z'
+ updated_at: '2022-11-08T17:52:42.765Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6882,8 +6882,8 @@ paths:
display_on: both
auto_capture:
position: 1
- created_at: '2022-02-22T08:46:33.035Z'
- updated_at: '2022-02-22T08:46:33.038Z'
+ created_at: '2022-11-08T17:52:47.070Z'
+ updated_at: '2022-11-08T17:52:47.072Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6903,8 +6903,8 @@ paths:
display_on: both
auto_capture:
position: 2
- created_at: '2022-02-22T08:46:33.043Z'
- updated_at: '2022-02-22T08:46:33.045Z'
+ created_at: '2022-11-08T17:52:47.078Z'
+ updated_at: '2022-11-08T17:52:47.080Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6924,8 +6924,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2022-02-22T08:46:33.049Z'
- updated_at: '2022-02-22T08:46:33.051Z'
+ created_at: '2022-11-08T17:52:47.084Z'
+ updated_at: '2022-11-08T17:52:47.086Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6945,8 +6945,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2022-02-22T08:46:33.055Z'
- updated_at: '2022-02-22T08:46:33.058Z'
+ created_at: '2022-11-08T17:52:47.090Z'
+ updated_at: '2022-11-08T17:52:47.092Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6969,8 +6969,8 @@ paths:
display_on: both
auto_capture:
position: 5
- created_at: '2022-02-22T08:46:33.061Z'
- updated_at: '2022-02-22T08:46:33.064Z'
+ created_at: '2022-11-08T17:52:47.096Z'
+ updated_at: '2022-11-08T17:52:47.098Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7040,8 +7040,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2022-02-22T08:46:33.711Z'
- updated_at: '2022-02-22T08:46:33.714Z'
+ created_at: '2022-11-08T17:52:47.700Z'
+ updated_at: '2022-11-08T17:52:47.703Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7117,8 +7117,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2022-02-22T08:46:34.066Z'
- updated_at: '2022-02-22T08:46:34.069Z'
+ created_at: '2022-11-08T17:52:48.032Z'
+ updated_at: '2022-11-08T17:52:48.034Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7193,8 +7193,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2022-02-22T08:46:34.739Z'
- updated_at: '2022-02-22T08:46:34.998Z'
+ created_at: '2022-11-08T17:52:48.639Z'
+ updated_at: '2022-11-08T17:52:48.875Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7342,9 +7342,9 @@ paths:
state: invalid
response_code: '12345'
avs_response:
- created_at: '2022-02-22T08:46:36.450Z'
- updated_at: '2022-02-22T08:46:36.469Z'
- number: PVHDQF7N
+ created_at: '2022-11-08T17:52:50.119Z'
+ updated_at: '2022-11-08T17:52:50.139Z'
+ number: PAJOBSS2
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7376,52 +7376,558 @@ paths:
- id: '7'
type: payment
attributes:
- amount: '45.75'
- source_type: Spree::CreditCard
- state: checkout
- response_code: '12345'
- avs_response:
- created_at: '2022-02-22T08:46:36.466Z'
- updated_at: '2022-02-22T08:46:36.466Z'
- number: PAG2RBRG
- cvv_response_code:
- cvv_response_message:
+ amount: '45.75'
+ source_type: Spree::CreditCard
+ state: checkout
+ response_code: '12345'
+ avs_response:
+ created_at: '2022-11-08T17:52:50.136Z'
+ updated_at: '2022-11-08T17:52:50.136Z'
+ number: PRYVT53X
+ cvv_response_code:
+ cvv_response_message:
+ public_metadata: {}
+ private_metadata: {}
+ display_amount: "$45.75"
+ relationships:
+ order:
+ data:
+ id: '72'
+ type: order
+ payment_method:
+ data:
+ id: '60'
+ type: payment_method
+ source:
+ data:
+ id: '6'
+ type: credit_card
+ log_entries:
+ data: []
+ state_changes:
+ data: []
+ payment_capture_events:
+ data: []
+ refunds:
+ data: []
+ meta:
+ count: 2
+ total_count: 2
+ total_pages: 1
+ links:
+ self: http://www.example.com/api/v2/platform/payments?page=1&per_page=&include=&filter[payment_method_id_eq]=&filter[amount_gteq]=
+ next: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
+ prev: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
+ last: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
+ first: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%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"
+ "/api/v2/platform/payments/{id}":
+ get:
+ summary: Return a Payment
+ tags:
+ - Payments
+ security:
+ - bearer_auth: []
+ description: Returns a Payment
+ operationId: show-payment
+ 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: payment_method,order,source
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '10'
+ type: payment
+ attributes:
+ amount: '45.75'
+ source_type: Spree::CreditCard
+ state: checkout
+ response_code: '12345'
+ avs_response:
+ created_at: '2022-11-08T17:52:50.550Z'
+ updated_at: '2022-11-08T17:52:50.550Z'
+ number: P3RT3ZEN
+ cvv_response_code:
+ cvv_response_message:
+ public_metadata: {}
+ private_metadata: {}
+ display_amount: "$45.75"
+ relationships:
+ order:
+ data:
+ id: '74'
+ type: order
+ payment_method:
+ data:
+ id: '66'
+ type: payment_method
+ source:
+ data:
+ id: '9'
+ type: credit_card
+ log_entries:
+ data: []
+ state_changes:
+ data: []
+ payment_capture_events:
+ data: []
+ refunds:
+ data: []
+ 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"
+ delete:
+ summary: Delete a Payment
+ tags:
+ - Payments
+ security:
+ - bearer_auth: []
+ description: Deletes a Payment
+ operationId: delete-payment
+ 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/products":
+ get:
+ summary: Return a list of Products
+ tags:
+ - Products
+ security:
+ - bearer_auth: []
+ description: Returns a list of Products
+ operationId: products-list
+ parameters:
+ - name: page
+ in: query
+ example: 1
+ schema:
+ type: integer
+ - name: per_page
+ in: query
+ example: 50
+ schema:
+ type: integer
+ - 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: prices
+ schema:
+ type: string
+ - name: filter[name_eq]
+ in: query
+ description: ''
+ example: Green Toy Boat
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Records returned
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ - id: '164'
+ type: product
+ attributes:
+ name: Product 1644522
+ description: |-
+ Explicabo debitis accusamus pariatur error consectetur non enim rem. Ratione et ex modi optio earum incidunt. Numquam ipsam nisi saepe assumenda. Unde eaque commodi doloremque illo est. Beatae illo molestiae vel quam maiores.
+ Doloremque dolorum nihil occaecati officiis doloribus. Voluptates quo aliquam molestiae distinctio voluptatem. Porro animi quas id et ut odio officiis atque. Eaque tenetur veritatis architecto sequi quidem perferendis dolores natus. Illum possimus nobis libero velit.
+ Exercitationem iure asperiores dolorem autem distinctio dignissimos odio ad. Magnam iste repellat blanditiis nemo mollitia quis est. Hic perferendis dicta unde nisi cumque odit. Vel minus odio perferendis hic soluta occaecati quisquam.
+ Impedit dolores quis accusamus totam sint quam ipsam rerum. Harum magni consectetur eligendi a. Aliquid ex sint a dignissimos libero quas consectetur. Non explicabo impedit consequuntur doloribus facere quia beatae adipisci.
+ available_on: '2021-11-08T17:52:51.774Z'
+ deleted_at:
+ slug: product-1644522
+ meta_description:
+ meta_keywords:
+ created_at: '2022-11-08T17:52:51.794Z'
+ updated_at: '2022-11-08T17:52:51.800Z'
+ promotionable: true
+ meta_title:
+ discontinue_on:
+ public_metadata: {}
+ private_metadata: {}
+ status: active
+ make_active_at: '2021-11-08T17:52:51.774Z'
+ display_compare_at_price:
+ display_price: "$19.99"
+ purchasable: true
+ in_stock: false
+ backorderable: true
+ available: true
+ currency: USD
+ price: '19.99'
+ compare_at_price:
+ relationships:
+ tax_category:
+ data:
+ id: '108'
+ type: tax_category
+ primary_variant:
+ data:
+ id: '231'
+ type: variant
+ default_variant:
+ data:
+ id: '231'
+ type: variant
+ variants:
+ data: []
+ option_types:
+ data: []
+ product_properties:
+ data: []
+ taxons:
+ data: []
+ images:
+ data: []
+ - id: '165'
+ type: product
+ attributes:
+ name: Product 1657037
+ description: |-
+ Eum quisquam delectus natus inventore cum. Vitae perspiciatis vel ratione officiis. Itaque voluptatibus consequatur nobis nulla.
+ Error temporibus provident quae eaque similique fugiat. Debitis corporis accusantium et id assumenda. Nemo reprehenderit occaecati in ipsa fuga at praesentium. Adipisci deserunt doloremque deleniti tenetur dolorem eius quia.
+ available_on: '2021-11-08T17:52:51.819Z'
+ deleted_at:
+ slug: product-1657037
+ meta_description:
+ meta_keywords:
+ created_at: '2022-11-08T17:52:51.831Z'
+ updated_at: '2022-11-08T17:52:51.836Z'
+ promotionable: true
+ meta_title:
+ discontinue_on:
+ public_metadata: {}
+ private_metadata: {}
+ status: active
+ make_active_at: '2021-11-08T17:52:51.819Z'
+ display_compare_at_price:
+ display_price: "$19.99"
+ purchasable: true
+ in_stock: false
+ backorderable: true
+ available: true
+ currency: USD
+ price: '19.99'
+ compare_at_price:
+ relationships:
+ tax_category:
+ data:
+ id: '108'
+ type: tax_category
+ primary_variant:
+ data:
+ id: '232'
+ type: variant
+ default_variant:
+ data:
+ id: '232'
+ type: variant
+ variants:
+ data: []
+ option_types:
+ data: []
+ product_properties:
+ data: []
+ taxons:
+ data: []
+ images:
+ data: []
+ meta:
+ count: 2
+ total_count: 2
+ total_pages: 1
+ links:
+ self: http://www.example.com/api/v2/platform/products?page=1&per_page=&include=&filter[name_eq]=
+ next: http://www.example.com/api/v2/platform/products?filter%5Bname_eq%5D=&include=&page=1&per_page=
+ prev: http://www.example.com/api/v2/platform/products?filter%5Bname_eq%5D=&include=&page=1&per_page=
+ last: http://www.example.com/api/v2/platform/products?filter%5Bname_eq%5D=&include=&page=1&per_page=
+ first: http://www.example.com/api/v2/platform/products?filter%5Bname_eq%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 Product
+ tags:
+ - Products
+ security:
+ - bearer_auth: []
+ description: Creates a Product
+ operationId: create-product
+ 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: prices
+ schema:
+ type: string
+ responses:
+ '201':
+ description: Record created
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '168'
+ type: product
+ attributes:
+ name: Spinning Top
+ description:
+ available_on:
+ deleted_at:
+ slug: spinning-top
+ meta_description:
+ meta_keywords:
+ created_at: '2022-11-08T17:52:52.547Z'
+ updated_at: '2022-11-08T17:52:52.552Z'
+ promotionable: true
+ meta_title:
+ discontinue_on:
+ public_metadata: {}
+ private_metadata: {}
+ status: draft
+ make_active_at:
+ display_compare_at_price:
+ display_price: "$87.43"
+ purchasable: false
+ in_stock: false
+ backorderable: false
+ available: false
+ currency: USD
+ price: '87.43'
+ compare_at_price:
+ relationships:
+ tax_category:
+ data:
+ primary_variant:
+ data:
+ id: '235'
+ type: variant
+ default_variant:
+ data:
+ id: '235'
+ type: variant
+ variants:
+ data: []
+ option_types:
+ data: []
+ product_properties:
+ data: []
+ taxons:
+ data: []
+ images:
+ data: []
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Name can't be blank, Shipping Category can't be blank,
+ and Price can't be blank
+ errors:
+ name:
+ - can't be blank
+ shipping_category:
+ - can't be blank
+ price:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/create_product_params"
+ "/api/v2/platform/products/{id}":
+ get:
+ summary: Return a Product
+ tags:
+ - Products
+ security:
+ - bearer_auth: []
+ description: Returns a Product
+ operationId: show-product
+ 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: prices
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '169'
+ type: product
+ attributes:
+ name: Product 1686099
+ description: Optio suscipit laboriosam rem iusto minima officia
+ perferendis tempora. Corrupti animi rem voluptate mollitia.
+ Culpa earum voluptates cupiditate quam nesciunt. Assumenda
+ illum magni quo excepturi possimus. Dignissimos beatae quaerat
+ perferendis repellendus iusto mollitia laborum.
+ available_on: '2021-11-08T17:52:52.879Z'
+ deleted_at:
+ slug: product-1686099
+ meta_description:
+ meta_keywords:
+ created_at: '2022-11-08T17:52:52.897Z'
+ updated_at: '2022-11-08T17:52:52.903Z'
+ promotionable: true
+ meta_title:
+ discontinue_on:
public_metadata: {}
private_metadata: {}
- display_amount: "$45.75"
+ status: active
+ make_active_at: '2021-11-08T17:52:52.879Z'
+ display_compare_at_price:
+ display_price: "$19.99"
+ purchasable: true
+ in_stock: false
+ backorderable: true
+ available: true
+ currency: USD
+ price: '19.99'
+ compare_at_price:
relationships:
- order:
+ tax_category:
data:
- id: '72'
- type: order
- payment_method:
+ id: '110'
+ type: tax_category
+ primary_variant:
data:
- id: '60'
- type: payment_method
- source:
+ id: '236'
+ type: variant
+ default_variant:
data:
- id: '6'
- type: credit_card
- log_entries:
+ id: '236'
+ type: variant
+ variants:
data: []
- state_changes:
+ option_types:
data: []
- payment_capture_events:
+ product_properties:
data: []
- refunds:
+ taxons:
+ data: []
+ images:
data: []
- meta:
- count: 2
- total_count: 2
- total_pages: 1
- links:
- self: http://www.example.com/api/v2/platform/payments?page=1&per_page=&include=&filter[payment_method_id_eq]=&filter[amount_gteq]=
- next: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
- prev: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
- last: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
- first: http://www.example.com/api/v2/platform/payments?filter%5Bamount_gteq%5D=&filter%5Bpayment_method_id_eq%5D=&include=&page=1&per_page=
schema:
- "$ref": "#/components/schemas/resources_list"
+ "$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:
@@ -7432,15 +7938,14 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
- "/api/v2/platform/payments/{id}":
- get:
- summary: Return a Payment
+ patch:
+ summary: Update a Product
tags:
- - Payments
+ - Products
security:
- bearer_auth: []
- description: Returns a Payment
- operationId: show-payment
+ description: Updates a Product
+ operationId: update-product
parameters:
- name: id
in: path
@@ -7451,57 +7956,88 @@ paths:
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: payment_method,order,source
+ example: prices
schema:
type: string
responses:
'200':
- description: Record found
+ description: Record updated
content:
application/vnd.api+json:
examples:
Example:
value:
data:
- id: '10'
- type: payment
+ id: '171'
+ type: product
attributes:
- amount: '45.75'
- source_type: Spree::CreditCard
- state: checkout
- response_code: '12345'
- avs_response:
- created_at: '2022-02-22T08:46:36.888Z'
- updated_at: '2022-02-22T08:46:36.888Z'
- number: PRBV4FR0
- cvv_response_code:
- cvv_response_message:
+ name: Twirling Bottom
+ description: |-
+ Itaque cupiditate neque rem porro dolore corrupti alias. Expedita excepturi porro non quos earum. Nisi iste blanditiis ea natus. Autem tempora repellendus tenetur nemo.
+ Sit suscipit iste aliquid assumenda deleniti illum. Laborum magni natus molestias nam assumenda modi voluptatibus iure. Cumque ex veritatis libero odio rerum corrupti sequi architecto.
+ Natus nesciunt incidunt fuga deleniti deserunt eveniet. Assumenda porro ab eum aperiam totam consequuntur quaerat. Dolore error voluptatibus nam velit est voluptate deleniti.
+ Sint velit hic eum pariatur quod. Voluptate ipsa consequatur ullam recusandae. Excepturi consequatur assumenda fugiat aliquam ea officia eum similique. Facilis recusandae officiis asperiores assumenda.
+ available_on: '2021-11-08T17:52:53.517Z'
+ deleted_at:
+ slug: product-1704060
+ meta_description:
+ meta_keywords:
+ created_at: '2022-11-08T17:52:53.535Z'
+ updated_at: '2022-11-08T17:52:53.800Z'
+ promotionable: true
+ meta_title:
+ discontinue_on:
public_metadata: {}
private_metadata: {}
- display_amount: "$45.75"
+ status: active
+ make_active_at: '2021-11-08T17:52:53.517Z'
+ display_compare_at_price:
+ display_price: "$33.21"
+ purchasable: true
+ in_stock: false
+ backorderable: true
+ available: true
+ currency: USD
+ price: '33.21'
+ compare_at_price:
relationships:
- order:
+ tax_category:
data:
- id: '74'
- type: order
- payment_method:
+ id: '112'
+ type: tax_category
+ primary_variant:
data:
- id: '66'
- type: payment_method
- source:
+ id: '238'
+ type: variant
+ default_variant:
data:
- id: '9'
- type: credit_card
- log_entries:
+ id: '238'
+ type: variant
+ variants:
data: []
- state_changes:
+ option_types:
data: []
- payment_capture_events:
+ product_properties:
data: []
- refunds:
+ taxons:
+ data: []
+ images:
data: []
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:
@@ -7522,14 +8058,19 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/update_product_params"
delete:
- summary: Delete a Payment
+ summary: Delete a Product
tags:
- - Payments
+ - Products
security:
- bearer_auth: []
- description: Deletes a Payment
- operationId: delete-payment
+ description: Deletes a Product
+ operationId: delete-product
parameters:
- name: id
in: path
@@ -7607,8 +8148,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2022-02-22T08:46:38.137Z'
- updated_at: '2022-02-22T08:46:38.137Z'
+ created_at: '2022-11-08T17:52:55.085Z'
+ updated_at: '2022-11-08T17:52:55.085Z'
relationships:
promotion:
data:
@@ -7620,8 +8161,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2022-02-22T08:46:38.138Z'
- updated_at: '2022-02-22T08:46:38.138Z'
+ created_at: '2022-11-08T17:52:55.086Z'
+ updated_at: '2022-11-08T17:52:55.086Z'
relationships:
promotion:
data:
@@ -7680,8 +8221,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2022-02-22T08:46:38.725Z'
- updated_at: '2022-02-22T08:46:38.725Z'
+ created_at: '2022-11-08T17:52:55.620Z'
+ updated_at: '2022-11-08T17:52:55.620Z'
relationships:
promotion:
data:
@@ -7731,8 +8272,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2022-02-22T08:46:38.774Z'
- updated_at: '2022-02-22T08:46:38.774Z'
+ created_at: '2022-11-08T17:52:55.657Z'
+ updated_at: '2022-11-08T17:52:55.657Z'
relationships:
promotion:
data:
@@ -7796,8 +8337,8 @@ paths:
position:
type: Spree::Promotion::Actions::CreateAdjustment
deleted_at:
- created_at: '2022-02-22T08:46:39.375Z'
- updated_at: '2022-02-22T08:46:39.630Z'
+ created_at: '2022-11-08T17:52:56.191Z'
+ updated_at: '2022-11-08T17:52:56.420Z'
relationships:
promotion:
data:
@@ -7919,8 +8460,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2022-02-22T08:46:40.526Z'
- updated_at: '2022-02-22T08:46:40.526Z'
+ created_at: '2022-11-08T17:52:57.251Z'
+ updated_at: '2022-11-08T17:52:57.251Z'
code: POP123
relationships:
promotions:
@@ -7929,8 +8470,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2022-02-22T08:46:40.527Z'
- updated_at: '2022-02-22T08:46:40.527Z'
+ created_at: '2022-11-08T17:52:57.253Z'
+ updated_at: '2022-11-08T17:52:57.253Z'
code: POP123
relationships:
promotions:
@@ -7986,8 +8527,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2022-02-22T08:46:41.075Z'
- updated_at: '2022-02-22T08:46:41.075Z'
+ created_at: '2022-11-08T17:52:57.758Z'
+ updated_at: '2022-11-08T17:52:57.758Z'
code: 2021-BFM
relationships:
promotions:
@@ -8047,8 +8588,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2022-02-22T08:46:41.364Z'
- updated_at: '2022-02-22T08:46:41.364Z'
+ created_at: '2022-11-08T17:52:58.027Z'
+ updated_at: '2022-11-08T17:52:58.027Z'
code: MJO
relationships:
promotions:
@@ -8109,8 +8650,8 @@ paths:
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2022-02-22T08:46:41.915Z'
- updated_at: '2022-02-22T08:46:42.165Z'
+ created_at: '2022-11-08T17:52:58.542Z'
+ updated_at: '2022-11-08T17:52:58.772Z'
code: 2021-Promos
relationships:
promotions:
@@ -8238,8 +8779,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2022-02-22T08:46:43.301Z'
- updated_at: '2022-02-22T08:46:43.301Z'
+ created_at: '2022-11-08T17:52:59.829Z'
+ updated_at: '2022-11-08T17:52:59.829Z'
code:
preferences: {}
relationships:
@@ -8251,8 +8792,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2022-02-22T08:46:43.303Z'
- updated_at: '2022-02-22T08:46:43.303Z'
+ created_at: '2022-11-08T17:52:59.831Z'
+ updated_at: '2022-11-08T17:52:59.831Z'
code:
preferences: {}
relationships:
@@ -8311,8 +8852,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2022-02-22T08:46:43.862Z'
- updated_at: '2022-02-22T08:46:43.862Z'
+ created_at: '2022-11-08T17:53:00.376Z'
+ updated_at: '2022-11-08T17:53:00.376Z'
code:
preferences: {}
relationships:
@@ -8362,8 +8903,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2022-02-22T08:46:43.889Z'
- updated_at: '2022-02-22T08:46:43.889Z'
+ created_at: '2022-11-08T17:53:00.409Z'
+ updated_at: '2022-11-08T17:53:00.409Z'
code:
preferences: {}
relationships:
@@ -8427,8 +8968,8 @@ paths:
type: promotion_rule
attributes:
type: Spree::Promotion::Rules::Country
- created_at: '2022-02-22T08:46:44.467Z'
- updated_at: '2022-02-22T08:46:44.716Z'
+ created_at: '2022-11-08T17:53:00.946Z'
+ updated_at: '2022-11-08T17:53:01.176Z'
code:
preferences: {}
relationships:
@@ -8561,8 +9102,8 @@ paths:
code:
advertise: false
path:
- created_at: '2022-02-22T08:46:45.598Z'
- updated_at: '2022-02-22T08:46:45.599Z'
+ created_at: '2022-11-08T17:53:02.011Z'
+ updated_at: '2022-11-08T17:53:02.012Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8574,7 +9115,7 @@ paths:
data: []
stores:
data:
- - id: '361'
+ - id: '375'
type: store
- id: '24'
type: promotion
@@ -8589,8 +9130,8 @@ paths:
code:
advertise: false
path:
- created_at: '2022-02-22T08:46:45.607Z'
- updated_at: '2022-02-22T08:46:45.609Z'
+ created_at: '2022-11-08T17:53:02.023Z'
+ updated_at: '2022-11-08T17:53:02.025Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8606,7 +9147,7 @@ paths:
type: promotion_action
stores:
data:
- - id: '361'
+ - id: '375'
type: store
- id: '25'
type: promotion
@@ -8621,8 +9162,8 @@ paths:
code:
advertise: false
path:
- created_at: '2022-02-22T08:46:45.620Z'
- updated_at: '2022-02-22T08:46:45.621Z'
+ created_at: '2022-11-08T17:53:02.039Z'
+ updated_at: '2022-11-08T17:53:02.041Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8638,7 +9179,7 @@ paths:
type: promotion_action
stores:
data:
- - id: '361'
+ - id: '375'
type: store
- id: '26'
type: promotion
@@ -8653,8 +9194,8 @@ paths:
code:
advertise: false
path:
- created_at: '2022-02-22T08:46:45.631Z'
- updated_at: '2022-02-22T08:46:45.632Z'
+ created_at: '2022-11-08T17:53:02.053Z'
+ updated_at: '2022-11-08T17:53:02.055Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8672,7 +9213,7 @@ paths:
type: promotion_action
stores:
data:
- - id: '361'
+ - id: '375'
type: store
meta:
count: 4
@@ -8725,8 +9266,8 @@ paths:
type: promotion
attributes:
description: First 1000 Customers Save 20%
- expires_at: '2022-02-26T08:46:46.047Z'
- starts_at: '2022-02-22T08:46:46.047Z'
+ expires_at: '2022-11-12T17:53:02.483Z'
+ starts_at: '2022-11-08T17:53:02.483Z'
name: Black Friday 20% Off
type: Spree::Promotion
usage_limit: 1000
@@ -8734,8 +9275,8 @@ paths:
code: BLK-20
advertise: true
path: "/black-fri/today"
- created_at: '2022-02-22T08:46:46.301Z'
- updated_at: '2022-02-22T08:46:46.304Z'
+ created_at: '2022-11-08T17:53:02.717Z'
+ updated_at: '2022-11-08T17:53:02.720Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8749,11 +9290,11 @@ paths:
data: []
stores:
data:
- - id: '368'
+ - id: '382'
type: store
- - id: '369'
+ - id: '383'
type: store
- - id: '367'
+ - id: '381'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -8819,8 +9360,8 @@ paths:
code:
advertise: false
path:
- created_at: '2022-02-22T08:46:46.723Z'
- updated_at: '2022-02-22T08:46:46.728Z'
+ created_at: '2022-11-08T17:53:03.210Z'
+ updated_at: '2022-11-08T17:53:03.212Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8838,7 +9379,7 @@ paths:
type: promotion_action
stores:
data:
- - id: '373'
+ - id: '387'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -8905,8 +9446,8 @@ paths:
code: RAND-10
advertise: false
path:
- created_at: '2022-02-22T08:46:47.666Z'
- updated_at: '2022-02-22T08:46:47.939Z'
+ created_at: '2022-11-08T17:53:03.959Z'
+ updated_at: '2022-11-08T17:53:04.202Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8924,7 +9465,7 @@ paths:
type: promotion_action
stores:
data:
- - id: '382'
+ - id: '396'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -9048,15 +9589,15 @@ paths:
- id: '1'
type: role
attributes:
- name: 'Role #1'
- created_at: '2022-02-22T08:46:49.525Z'
- updated_at: '2022-02-22T08:46:49.525Z'
+ name: Role 1
+ created_at: '2022-11-08T17:53:05.718Z'
+ updated_at: '2022-11-08T17:53:05.718Z'
- id: '2'
type: role
attributes:
- name: 'Role #2'
- created_at: '2022-02-22T08:46:49.527Z'
- updated_at: '2022-02-22T08:46:49.527Z'
+ name: Role 2
+ created_at: '2022-11-08T17:53:05.719Z'
+ updated_at: '2022-11-08T17:53:05.719Z'
meta:
count: 2
total_count: 2
@@ -9100,9 +9641,9 @@ paths:
id: '5'
type: role
attributes:
- name: 'Role #5'
- created_at: '2022-02-22T08:46:50.092Z'
- updated_at: '2022-02-22T08:46:50.092Z'
+ name: Role 5
+ created_at: '2022-11-08T17:53:06.224Z'
+ updated_at: '2022-11-08T17:53:06.224Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9150,9 +9691,9 @@ paths:
id: '6'
type: role
attributes:
- name: 'Role #6'
- created_at: '2022-02-22T08:46:50.391Z'
- updated_at: '2022-02-22T08:46:50.391Z'
+ name: Role 6
+ created_at: '2022-11-08T17:53:06.493Z'
+ updated_at: '2022-11-08T17:53:06.493Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -9202,8 +9743,8 @@ paths:
type: role
attributes:
name: administrator
- created_at: '2022-02-22T08:46:50.945Z'
- updated_at: '2022-02-22T08:46:51.195Z'
+ created_at: '2022-11-08T17:53:07.003Z'
+ updated_at: '2022-11-08T17:53:07.231Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9327,12 +9868,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H25343799970
+ number: H95147911350
cost: '100.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:52.468Z'
- updated_at: '2022-02-22T08:46:52.471Z'
+ created_at: '2022-11-08T17:53:08.289Z'
+ updated_at: '2022-11-08T17:53:08.292Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9342,11 +9883,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$0.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -9357,7 +9898,7 @@ paths:
data:
stock_location:
data:
- id: '97'
+ id: '106'
type: stock_location
adjustments:
data: []
@@ -9377,12 +9918,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H19501068678
+ number: H03123151976
cost: '100.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:52.498Z'
- updated_at: '2022-02-22T08:46:52.501Z'
+ created_at: '2022-11-08T17:53:08.321Z'
+ updated_at: '2022-11-08T17:53:08.324Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9392,11 +9933,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$0.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -9407,7 +9948,7 @@ paths:
data:
stock_location:
data:
- id: '98'
+ id: '107'
type: stock_location
adjustments:
data: []
@@ -9474,12 +10015,12 @@ paths:
type: shipment
attributes:
tracking:
- number: H19857529841
+ number: H19051743751
cost: '0.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:53.279Z'
- updated_at: '2022-02-22T08:46:53.293Z'
+ created_at: '2022-11-08T17:53:09.135Z'
+ updated_at: '2022-11-08T17:53:09.151Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9489,11 +10030,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$0.00"
- display_cost: "$0.00"
display_discounted_cost: "$0.00"
display_item_cost: "$19.99"
display_amount: "$0.00"
+ display_final_price: "$0.00"
+ display_cost: "$0.00"
tracking_url:
relationships:
order:
@@ -9504,7 +10045,7 @@ paths:
data:
stock_location:
data:
- id: '101'
+ id: '110'
type: stock_location
adjustments:
data: []
@@ -9571,12 +10112,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H33408038268
+ number: H87879741641
cost: '100.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:53.800Z'
- updated_at: '2022-02-22T08:46:53.816Z'
+ created_at: '2022-11-08T17:53:09.649Z'
+ updated_at: '2022-11-08T17:53:09.667Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9586,11 +10127,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -9601,7 +10142,7 @@ paths:
data:
stock_location:
data:
- id: '103'
+ id: '112'
type: stock_location
adjustments:
data: []
@@ -9675,12 +10216,12 @@ paths:
type: shipment
attributes:
tracking: MY-TRACKING-NUMBER-1234
- number: H53757759051
+ number: H11653923176
cost: '100.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:54.862Z'
- updated_at: '2022-02-22T08:46:55.131Z'
+ created_at: '2022-11-08T17:53:10.551Z'
+ updated_at: '2022-11-08T17:53:10.798Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9690,11 +10231,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -9705,7 +10246,7 @@ paths:
data:
stock_location:
data:
- id: '107'
+ id: '116'
type: stock_location
adjustments:
data: []
@@ -9836,12 +10377,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H51443293060
+ number: H10373984645
cost: '0.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:57.173Z'
- updated_at: '2022-02-22T08:46:57.512Z'
+ created_at: '2022-11-08T17:53:12.857Z'
+ updated_at: '2022-11-08T17:53:13.175Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9851,11 +10392,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$0.00"
- display_cost: "$0.00"
display_discounted_cost: "$0.00"
display_item_cost: "$29.99"
display_amount: "$0.00"
+ display_final_price: "$0.00"
+ display_cost: "$0.00"
tracking_url:
relationships:
order:
@@ -9866,7 +10407,7 @@ paths:
data:
stock_location:
data:
- id: '117'
+ id: '126'
type: stock_location
adjustments:
data: []
@@ -9953,12 +10494,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H29658685795
+ number: H89704927528
cost: '0.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:46:59.303Z'
- updated_at: '2022-02-22T08:46:59.701Z'
+ created_at: '2022-11-08T17:53:14.676Z'
+ updated_at: '2022-11-08T17:53:15.049Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9968,11 +10509,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$0.00"
- display_cost: "$0.00"
display_discounted_cost: "$0.00"
display_item_cost: "$10.00"
display_amount: "$0.00"
+ display_final_price: "$0.00"
+ display_cost: "$0.00"
tracking_url:
relationships:
order:
@@ -9983,7 +10524,7 @@ paths:
data:
stock_location:
data:
- id: '124'
+ id: '133'
type: stock_location
adjustments:
data: []
@@ -10065,12 +10606,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H42052670969
+ number: H75688356486
cost: '100.0'
shipped_at:
state: ready
- created_at: '2022-02-22T08:47:00.545Z'
- updated_at: '2022-02-22T08:47:00.819Z'
+ created_at: '2022-11-08T17:53:15.864Z'
+ updated_at: '2022-11-08T17:53:16.117Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10080,11 +10621,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -10095,7 +10636,7 @@ paths:
data:
stock_location:
data:
- id: '128'
+ id: '137'
type: stock_location
adjustments:
data: []
@@ -10172,12 +10713,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H73735917923
+ number: H37297249912
cost: '100.0'
- shipped_at: '2022-02-22T08:47:01.808Z'
+ shipped_at: '2022-11-08T17:53:17.042Z'
state: shipped
- created_at: '2022-02-22T08:47:01.521Z'
- updated_at: '2022-02-22T08:47:01.808Z'
+ created_at: '2022-11-08T17:53:16.784Z'
+ updated_at: '2022-11-08T17:53:17.042Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10187,11 +10728,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -10202,7 +10743,7 @@ paths:
data:
stock_location:
data:
- id: '132'
+ id: '141'
type: stock_location
adjustments:
data: []
@@ -10279,12 +10820,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H77547479620
+ number: H07675571589
cost: '100.0'
shipped_at:
state: canceled
- created_at: '2022-02-22T08:47:02.500Z'
- updated_at: '2022-02-22T08:47:02.772Z'
+ created_at: '2022-11-08T17:53:17.708Z'
+ updated_at: '2022-11-08T17:53:17.958Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10294,11 +10835,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -10309,7 +10850,7 @@ paths:
data:
stock_location:
data:
- id: '136'
+ id: '145'
type: stock_location
adjustments:
data: []
@@ -10386,12 +10927,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H55412970770
+ number: H58212922736
cost: '100.0'
shipped_at:
state: ready
- created_at: '2022-02-22T08:47:03.439Z'
- updated_at: '2022-02-22T08:47:03.713Z'
+ created_at: '2022-11-08T17:53:18.711Z'
+ updated_at: '2022-11-08T17:53:18.962Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10401,11 +10942,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -10416,7 +10957,7 @@ paths:
data:
stock_location:
data:
- id: '140'
+ id: '149'
type: stock_location
adjustments:
data: []
@@ -10493,12 +11034,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H00195592318
+ number: H89733119481
cost: '100.0'
shipped_at:
state: pending
- created_at: '2022-02-22T08:47:04.577Z'
- updated_at: '2022-02-22T08:47:04.853Z'
+ created_at: '2022-11-08T17:53:19.823Z'
+ updated_at: '2022-11-08T17:53:20.073Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10508,11 +11049,11 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_cost: "$100.00"
display_discounted_cost: "$100.00"
display_item_cost: "$10.00"
display_amount: "$100.00"
+ display_final_price: "$100.00"
+ display_cost: "$100.00"
tracking_url:
relationships:
order:
@@ -10523,7 +11064,7 @@ paths:
data:
stock_location:
data:
- id: '145'
+ id: '154'
type: stock_location
adjustments:
data: []
@@ -10600,18 +11141,18 @@ paths:
Example:
value:
data:
- - id: '124'
+ - id: '134'
type: shipping_category
attributes:
- name: 'ShippingCategory #124'
- created_at: '2022-02-22T08:47:05.401Z'
- updated_at: '2022-02-22T08:47:05.401Z'
- - id: '125'
+ name: ShippingCategory 134
+ created_at: '2022-11-08T17:53:20.586Z'
+ updated_at: '2022-11-08T17:53:20.586Z'
+ - id: '135'
type: shipping_category
attributes:
- name: 'ShippingCategory #125'
- created_at: '2022-02-22T08:47:05.402Z'
- updated_at: '2022-02-22T08:47:05.402Z'
+ name: ShippingCategory 135
+ created_at: '2022-11-08T17:53:20.587Z'
+ updated_at: '2022-11-08T17:53:20.587Z'
meta:
count: 2
total_count: 2
@@ -10652,12 +11193,12 @@ paths:
Example:
value:
data:
- id: '128'
+ id: '138'
type: shipping_category
attributes:
- name: 'ShippingCategory #128'
- created_at: '2022-02-22T08:47:05.966Z'
- updated_at: '2022-02-22T08:47:05.966Z'
+ name: ShippingCategory 138
+ created_at: '2022-11-08T17:53:21.109Z'
+ updated_at: '2022-11-08T17:53:21.109Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -10702,12 +11243,12 @@ paths:
Example:
value:
data:
- id: '129'
+ id: '139'
type: shipping_category
attributes:
- name: 'ShippingCategory #129'
- created_at: '2022-02-22T08:47:06.358Z'
- updated_at: '2022-02-22T08:47:06.358Z'
+ name: ShippingCategory 139
+ created_at: '2022-11-08T17:53:21.381Z'
+ updated_at: '2022-11-08T17:53:21.381Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -10753,12 +11294,12 @@ paths:
Example:
value:
data:
- id: '131'
+ id: '141'
type: shipping_category
attributes:
name: Default
- created_at: '2022-02-22T08:47:06.980Z'
- updated_at: '2022-02-22T08:47:07.242Z'
+ created_at: '2022-11-08T17:53:21.911Z'
+ updated_at: '2022-11-08T17:53:22.139Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -10892,15 +11433,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2022-02-22T08:47:08.453Z'
- updated_at: '2022-02-22T08:47:08.453Z'
+ created_at: '2022-11-08T17:53:23.187Z'
+ updated_at: '2022-11-08T17:53:23.187Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '136'
+ - id: '146'
type: shipping_category
shipping_rates:
data: []
@@ -10918,15 +11459,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2022-02-22T08:47:08.463Z'
- updated_at: '2022-02-22T08:47:08.463Z'
+ created_at: '2022-11-08T17:53:23.196Z'
+ updated_at: '2022-11-08T17:53:23.196Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '136'
+ - id: '146'
type: shipping_category
shipping_rates:
data: []
@@ -10991,21 +11532,21 @@ paths:
admin_name: DHL Express- Zone A
display_on: both
tracking_url:
- created_at: '2022-02-22T08:47:09.084Z'
- updated_at: '2022-02-22T08:47:09.084Z'
+ created_at: '2022-11-08T17:53:23.739Z'
+ updated_at: '2022-11-08T17:53:23.739Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '138'
+ - id: '148'
type: shipping_category
shipping_rates:
data: []
tax_category:
data:
- id: '133'
+ id: '142'
type: tax_category
calculator:
data:
@@ -11078,15 +11619,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2022-02-22T08:47:09.395Z'
- updated_at: '2022-02-22T08:47:09.395Z'
+ created_at: '2022-11-08T17:53:24.020Z'
+ updated_at: '2022-11-08T17:53:24.020Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '139'
+ - id: '149'
type: shipping_category
shipping_rates:
data: []
@@ -11156,15 +11697,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2022-02-22T08:47:10.017Z'
- updated_at: '2022-02-22T08:47:10.281Z'
+ created_at: '2022-11-08T17:53:24.650Z'
+ updated_at: '2022-11-08T17:53:24.893Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '141'
+ - id: '151'
type: shipping_category
shipping_rates:
data: []
@@ -11293,29 +11834,29 @@ paths:
Example:
value:
data:
- - id: '221'
+ - id: '230'
type: state
attributes:
- name: STATE_NAME_221
- abbr: STATE_ABBR_221
- updated_at: '2022-02-22T08:47:11.497Z'
- created_at: '2022-02-22T08:47:11.497Z'
+ name: STATE_NAME_230
+ abbr: STATE_ABBR_230
+ updated_at: '2022-11-08T17:53:26.010Z'
+ created_at: '2022-11-08T17:53:26.010Z'
relationships:
country:
data:
- id: '380'
+ id: '394'
type: country
- - id: '222'
+ - id: '231'
type: state
attributes:
- name: STATE_NAME_222
- abbr: STATE_ABBR_222
- updated_at: '2022-02-22T08:47:11.499Z'
- created_at: '2022-02-22T08:47:11.499Z'
+ name: STATE_NAME_231
+ abbr: STATE_ABBR_231
+ updated_at: '2022-11-08T17:53:26.011Z'
+ created_at: '2022-11-08T17:53:26.011Z'
relationships:
country:
data:
- id: '380'
+ id: '394'
type: country
meta:
count: 2
@@ -11363,17 +11904,17 @@ paths:
Example:
value:
data:
- id: '225'
+ id: '234'
type: state
attributes:
- name: STATE_NAME_225
- abbr: STATE_ABBR_225
- updated_at: '2022-02-22T08:47:11.821Z'
- created_at: '2022-02-22T08:47:11.821Z'
+ name: STATE_NAME_234
+ abbr: STATE_ABBR_234
+ updated_at: '2022-11-08T17:53:26.300Z'
+ created_at: '2022-11-08T17:53:26.300Z'
relationships:
country:
data:
- id: '382'
+ id: '396'
type: country
schema:
"$ref": "#/components/schemas/resource"
@@ -11433,41 +11974,45 @@ paths:
Example:
value:
data:
- - id: '265'
+ - id: '276'
type: stock_item
attributes:
count_on_hand: 0
- created_at: '2022-02-22T08:47:12.462Z'
- updated_at: '2022-02-22T08:47:12.568Z'
+ created_at: '2022-11-08T17:53:26.880Z'
+ updated_at: '2022-11-08T17:53:26.927Z'
backorderable: false
deleted_at:
+ public_metadata: {}
+ private_metadata: {}
is_available: false
relationships:
stock_location:
data:
- id: '148'
+ id: '157'
type: stock_location
variant:
data:
- id: '259'
+ id: '271'
type: variant
- - id: '267'
+ - id: '278'
type: stock_item
attributes:
count_on_hand: 10
- created_at: '2022-02-22T08:47:12.605Z'
- updated_at: '2022-02-22T08:47:12.621Z'
+ created_at: '2022-11-08T17:53:26.949Z'
+ updated_at: '2022-11-08T17:53:26.961Z'
backorderable: true
deleted_at:
+ public_metadata: {}
+ private_metadata: {}
is_available: true
relationships:
stock_location:
data:
- id: '148'
+ id: '157'
type: stock_location
variant:
data:
- id: '260'
+ id: '272'
type: variant
meta:
count: 2
@@ -11516,23 +12061,25 @@ paths:
Example:
value:
data:
- id: '274'
+ id: '285'
type: stock_item
attributes:
count_on_hand: 0
- created_at: '2022-02-22T08:47:13.542Z'
- updated_at: '2022-02-22T08:47:13.542Z'
+ created_at: '2022-11-08T17:53:27.686Z'
+ updated_at: '2022-11-08T17:53:27.686Z'
backorderable: false
deleted_at:
+ public_metadata: {}
+ private_metadata: {}
is_available: false
relationships:
stock_location:
data:
- id: '151'
+ id: '160'
type: stock_location
variant:
data:
- id: '264'
+ id: '276'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -11587,23 +12134,25 @@ paths:
Example:
value:
data:
- id: '276'
+ id: '287'
type: stock_item
attributes:
count_on_hand: 10
- created_at: '2022-02-22T08:47:13.904Z'
- updated_at: '2022-02-22T08:47:13.919Z'
+ created_at: '2022-11-08T17:53:28.006Z'
+ updated_at: '2022-11-08T17:53:28.018Z'
backorderable: true
deleted_at:
+ public_metadata: {}
+ private_metadata: {}
is_available: true
relationships:
stock_location:
data:
- id: '153'
+ id: '162'
type: stock_location
variant:
data:
- id: '265'
+ id: '277'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -11657,23 +12206,25 @@ paths:
Example:
value:
data:
- id: '280'
+ id: '291'
type: stock_item
attributes:
count_on_hand: 200
- created_at: '2022-02-22T08:47:14.643Z'
- updated_at: '2022-02-22T08:47:14.933Z'
+ created_at: '2022-11-08T17:53:28.667Z'
+ updated_at: '2022-11-08T17:53:28.924Z'
backorderable: true
deleted_at:
+ public_metadata: {}
+ private_metadata: {}
is_available: true
relationships:
stock_location:
data:
- id: '157'
+ id: '166'
type: stock_location
variant:
data:
- id: '267'
+ id: '279'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -11788,12 +12339,12 @@ paths:
Example:
value:
data:
- - id: '166'
+ - id: '175'
type: stock_location
attributes:
- name: Masako Vandervort
- created_at: '2022-02-22T08:47:16.471Z'
- updated_at: '2022-02-22T08:47:16.471Z'
+ name: Maricruz Brown
+ created_at: '2022-11-08T17:53:30.322Z'
+ updated_at: '2022-11-08T17:53:30.322Z'
default: false
address1: 1600 Pennsylvania Ave NW
address2:
@@ -11808,14 +12359,14 @@ paths:
relationships:
country:
data:
- id: '399'
+ id: '413'
type: country
- - id: '167'
+ - id: '176'
type: stock_location
attributes:
- name: Tracey Muller
- created_at: '2022-02-22T08:47:16.473Z'
- updated_at: '2022-02-22T08:47:16.473Z'
+ name: Wilbur Jacobs
+ created_at: '2022-11-08T17:53:30.324Z'
+ updated_at: '2022-11-08T17:53:30.324Z'
default: false
address1: 1600 Pennsylvania Ave NW
address2:
@@ -11830,7 +12381,7 @@ paths:
relationships:
country:
data:
- id: '399'
+ id: '413'
type: country
meta:
count: 2
@@ -11879,12 +12430,12 @@ paths:
Example:
value:
data:
- id: '170'
+ id: '179'
type: stock_location
attributes:
- name: Magdalena Kling
- created_at: '2022-02-22T08:47:17.037Z'
- updated_at: '2022-02-22T08:47:17.037Z'
+ name: Jerrod Homenick
+ created_at: '2022-11-08T17:53:30.854Z'
+ updated_at: '2022-11-08T17:53:30.854Z'
default: false
address1: 1600 Pennsylvania Ave NW
address2:
@@ -11899,7 +12450,7 @@ paths:
relationships:
country:
data:
- id: '401'
+ id: '415'
type: country
schema:
"$ref": "#/components/schemas/resource"
@@ -11952,12 +12503,12 @@ paths:
Example:
value:
data:
- id: '171'
+ id: '180'
type: stock_location
attributes:
- name: Elois Grant
- created_at: '2022-02-22T08:47:17.336Z'
- updated_at: '2022-02-22T08:47:17.336Z'
+ name: Luetta Rippin
+ created_at: '2022-11-08T17:53:31.127Z'
+ updated_at: '2022-11-08T17:53:31.127Z'
default: false
address1: 1600 Pennsylvania Ave NW
address2:
@@ -11972,7 +12523,7 @@ paths:
relationships:
country:
data:
- id: '403'
+ id: '417'
type: country
schema:
"$ref": "#/components/schemas/resource"
@@ -12026,12 +12577,12 @@ paths:
Example:
value:
data:
- id: '173'
+ id: '182'
type: stock_location
attributes:
name: Warehouse 3
- created_at: '2022-02-22T08:47:17.905Z'
- updated_at: '2022-02-22T08:47:18.155Z'
+ created_at: '2022-11-08T17:53:31.651Z'
+ updated_at: '2022-11-08T17:53:31.881Z'
default: true
address1: South Street 8/2
address2:
@@ -12046,7 +12597,7 @@ paths:
relationships:
country:
data:
- id: '406'
+ id: '420'
type: country
schema:
"$ref": "#/components/schemas/resource"
@@ -12164,14 +12715,14 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2022-02-22T08:47:19.379Z'
- updated_at: '2022-02-22T08:47:19.379Z'
+ created_at: '2022-11-08T17:53:32.931Z'
+ updated_at: '2022-11-08T17:53:32.931Z'
- id: '3'
type: store_credit_category
attributes:
name: Exchange
- created_at: '2022-02-22T08:47:19.380Z'
- updated_at: '2022-02-22T08:47:19.380Z'
+ created_at: '2022-11-08T17:53:32.932Z'
+ updated_at: '2022-11-08T17:53:32.932Z'
meta:
count: 2
total_count: 2
@@ -12216,8 +12767,8 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2022-02-22T08:47:19.943Z'
- updated_at: '2022-02-22T08:47:19.943Z'
+ created_at: '2022-11-08T17:53:33.440Z'
+ updated_at: '2022-11-08T17:53:33.440Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12266,8 +12817,8 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2022-02-22T08:47:20.244Z'
- updated_at: '2022-02-22T08:47:20.244Z'
+ created_at: '2022-11-08T17:53:33.704Z'
+ updated_at: '2022-11-08T17:53:33.704Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -12317,8 +12868,8 @@ paths:
type: store_credit_category
attributes:
name: refunded
- created_at: '2022-02-22T08:47:20.803Z'
- updated_at: '2022-02-22T08:47:21.057Z'
+ created_at: '2022-11-08T17:53:34.216Z'
+ updated_at: '2022-11-08T17:53:34.450Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12430,15 +12981,15 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2022-02-22T08:47:22.233Z'
- updated_at: '2022-02-22T08:47:22.233Z'
+ created_at: '2022-11-08T17:53:35.492Z'
+ updated_at: '2022-11-08T17:53:35.492Z'
- id: '3'
type: store_credit_type
attributes:
name: Expiring
priority: 1
- created_at: '2022-02-22T08:47:22.233Z'
- updated_at: '2022-02-22T08:47:22.233Z'
+ created_at: '2022-11-08T17:53:35.492Z'
+ updated_at: '2022-11-08T17:53:35.492Z'
meta:
count: 2
total_count: 2
@@ -12484,8 +13035,8 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2022-02-22T08:47:22.790Z'
- updated_at: '2022-02-22T08:47:22.790Z'
+ created_at: '2022-11-08T17:53:35.993Z'
+ updated_at: '2022-11-08T17:53:35.993Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12535,8 +13086,8 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2022-02-22T08:47:23.085Z'
- updated_at: '2022-02-22T08:47:23.085Z'
+ created_at: '2022-11-08T17:53:36.261Z'
+ updated_at: '2022-11-08T17:53:36.261Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -12587,8 +13138,8 @@ paths:
attributes:
name: default
priority: 1
- created_at: '2022-02-22T08:47:23.665Z'
- updated_at: '2022-02-22T08:47:23.914Z'
+ created_at: '2022-11-08T17:53:36.771Z'
+ updated_at: '2022-11-08T17:53:36.999Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12736,12 +13287,12 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2022-02-22T08:47:25.079Z'
- updated_at: '2022-02-22T08:47:25.079Z'
+ created_at: '2022-11-08T17:53:38.036Z'
+ updated_at: '2022-11-08T17:53:38.036Z'
public_metadata: {}
private_metadata: {}
- display_amount_used: "$0.00"
display_amount: "$150.00"
+ display_amount_used: "$0.00"
relationships:
user:
data:
@@ -12773,12 +13324,12 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2022-02-22T08:47:25.089Z'
- updated_at: '2022-02-22T08:47:25.089Z'
+ created_at: '2022-11-08T17:53:38.046Z'
+ updated_at: '2022-11-08T17:53:38.046Z'
public_metadata: {}
private_metadata: {}
- display_amount_used: "$0.00"
display_amount: "$150.00"
+ display_amount_used: "$0.00"
relationships:
user:
data:
@@ -12857,12 +13408,12 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2022-02-22T08:47:25.676Z'
- updated_at: '2022-02-22T08:47:25.676Z'
+ created_at: '2022-11-08T17:53:38.601Z'
+ updated_at: '2022-11-08T17:53:38.601Z'
public_metadata: {}
private_metadata: {}
- display_amount_used: "$0.00"
display_amount: "$150.00"
+ display_amount_used: "$0.00"
relationships:
user:
data:
@@ -12960,12 +13511,12 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2022-02-22T08:47:25.975Z'
- updated_at: '2022-02-22T08:47:25.975Z'
+ created_at: '2022-11-08T17:53:38.888Z'
+ updated_at: '2022-11-08T17:53:38.888Z'
public_metadata: {}
private_metadata: {}
- display_amount_used: "$0.00"
display_amount: "$150.00"
+ display_amount_used: "$0.00"
relationships:
user:
data:
@@ -13049,13 +13600,13 @@ paths:
currency: CAD
amount_authorized: '0.0'
originator_type:
- created_at: '2022-02-22T08:47:26.560Z'
- updated_at: '2022-02-22T08:47:26.824Z'
+ created_at: '2022-11-08T17:53:39.503Z'
+ updated_at: '2022-11-08T17:53:39.738Z'
public_metadata:
loyalty_reward: true
private_metadata: {}
- display_amount_used: "$0.00"
display_amount: "$500.00"
+ display_amount_used: "$0.00"
relationships:
user:
data:
@@ -13213,29 +13764,29 @@ paths:
Example:
value:
data:
- - id: '144'
+ - id: '153'
type: tax_category
attributes:
- name: TaxCategory - 666887
- description: Iste ipsam necessitatibus nesciunt quas deserunt
- aperiam.
+ name: TaxCategory - 172
+ description: Alias repellat maxime at tempore.
is_default: false
deleted_at:
- created_at: '2022-02-22T08:47:28.014Z'
- updated_at: '2022-02-22T08:47:28.014Z'
+ created_at: '2022-11-08T17:53:40.831Z'
+ updated_at: '2022-11-08T17:53:40.831Z'
tax_code:
relationships:
tax_rates:
data: []
- - id: '145'
+ - id: '154'
type: tax_category
attributes:
- name: TaxCategory - 880949
- description: Totam atque sapiente in distinctio.
+ name: TaxCategory - 511301
+ description: Placeat illo quibusdam ratione voluptatum mollitia
+ amet.
is_default: false
deleted_at:
- created_at: '2022-02-22T08:47:28.015Z'
- updated_at: '2022-02-22T08:47:28.015Z'
+ created_at: '2022-11-08T17:53:40.833Z'
+ updated_at: '2022-11-08T17:53:40.833Z'
tax_code:
relationships:
tax_rates:
@@ -13287,16 +13838,16 @@ paths:
Example:
value:
data:
- id: '148'
+ id: '157'
type: tax_category
attributes:
- name: TaxCategory - 703168
- description: Quisquam quis harum blanditiis omnis officia
- odio quidem officiis.
+ name: TaxCategory - 141618
+ description: Aperiam ex nulla ratione ab nihil reprehenderit
+ optio voluptates.
is_default: false
deleted_at:
- created_at: '2022-02-22T08:47:28.569Z'
- updated_at: '2022-02-22T08:47:28.569Z'
+ created_at: '2022-11-08T17:53:41.343Z'
+ updated_at: '2022-11-08T17:53:41.343Z'
tax_code:
relationships:
tax_rates:
@@ -13352,15 +13903,15 @@ paths:
Example:
value:
data:
- id: '149'
+ id: '158'
type: tax_category
attributes:
- name: TaxCategory - 300701
- description: Corporis omnis occaecati accusamus labore.
+ name: TaxCategory - 955023
+ description: Illo voluptates omnis repellendus aliquam.
is_default: false
deleted_at:
- created_at: '2022-02-22T08:47:28.862Z'
- updated_at: '2022-02-22T08:47:28.862Z'
+ created_at: '2022-11-08T17:53:41.616Z'
+ updated_at: '2022-11-08T17:53:41.616Z'
tax_code:
relationships:
tax_rates:
@@ -13417,15 +13968,15 @@ paths:
Example:
value:
data:
- id: '151'
+ id: '160'
type: tax_category
attributes:
name: Clothing
description: Men's, women's and children's clothing
is_default: true
deleted_at:
- created_at: '2022-02-22T08:47:29.414Z'
- updated_at: '2022-02-22T08:47:29.663Z'
+ created_at: '2022-11-08T17:53:42.133Z'
+ updated_at: '2022-11-08T17:53:42.365Z'
tax_code: 1233K
relationships:
tax_rates:
@@ -13566,9 +14117,9 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2022-02-22T08:47:30.808Z'
- updated_at: '2022-02-22T08:47:30.808Z'
- name: TaxRate - 862937
+ created_at: '2022-11-08T17:53:43.412Z'
+ updated_at: '2022-11-08T17:53:43.412Z'
+ name: TaxRate - 383494
show_rate_in_label: true
deleted_at:
public_metadata: {}
@@ -13580,16 +14131,16 @@ paths:
type: zone
tax_category:
data:
- id: '156'
+ id: '165'
type: tax_category
- id: '13'
type: tax_rate
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2022-02-22T08:47:30.812Z'
- updated_at: '2022-02-22T08:47:30.812Z'
- name: TaxRate - 315943
+ created_at: '2022-11-08T17:53:43.415Z'
+ updated_at: '2022-11-08T17:53:43.415Z'
+ name: TaxRate - 480166
show_rate_in_label: true
deleted_at:
public_metadata: {}
@@ -13601,7 +14152,7 @@ paths:
type: zone
tax_category:
data:
- id: '156'
+ id: '165'
type: tax_category
meta:
count: 2
@@ -13655,9 +14206,9 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2022-02-22T08:47:31.385Z'
- updated_at: '2022-02-22T08:47:31.385Z'
- name: TaxRate - 948225
+ created_at: '2022-11-08T17:53:43.939Z'
+ updated_at: '2022-11-08T17:53:43.939Z'
+ name: TaxRate - 454057
show_rate_in_label: true
deleted_at:
public_metadata: {}
@@ -13667,7 +14218,7 @@ paths:
data:
tax_category:
data:
- id: '158'
+ id: '167'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -13732,9 +14283,9 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2022-02-22T08:47:31.691Z'
- updated_at: '2022-02-22T08:47:31.691Z'
- name: TaxRate - 476436
+ created_at: '2022-11-08T17:53:44.208Z'
+ updated_at: '2022-11-08T17:53:44.208Z'
+ name: TaxRate - 240365
show_rate_in_label: true
deleted_at:
public_metadata: {}
@@ -13746,7 +14297,7 @@ paths:
type: zone
tax_category:
data:
- id: '159'
+ id: '168'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -13805,9 +14356,9 @@ paths:
attributes:
amount: '25.9'
included_in_price: true
- created_at: '2022-02-22T08:47:32.282Z'
- updated_at: '2022-02-22T08:47:32.538Z'
- name: TaxRate - 803309
+ created_at: '2022-11-08T17:53:44.732Z'
+ updated_at: '2022-11-08T17:53:44.964Z'
+ name: TaxRate - 645629
show_rate_in_label: true
deleted_at:
public_metadata: {}
@@ -13819,7 +14370,7 @@ paths:
type: zone
tax_category:
data:
- id: '161'
+ id: '170'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -13944,8 +14495,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_13
- created_at: '2022-02-22T08:47:33.741Z'
- updated_at: '2022-02-22T08:47:33.754Z'
+ created_at: '2022-11-08T17:53:46.100Z'
+ updated_at: '2022-11-08T17:53:46.112Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -13962,8 +14513,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_14
- created_at: '2022-02-22T08:47:33.756Z'
- updated_at: '2022-02-22T08:47:33.768Z'
+ created_at: '2022-11-08T17:53:46.115Z'
+ updated_at: '2022-11-08T17:53:46.126Z'
position: 2
public_metadata: {}
private_metadata: {}
@@ -14027,8 +14578,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_17
- created_at: '2022-02-22T08:47:34.372Z'
- updated_at: '2022-02-22T08:47:34.384Z'
+ created_at: '2022-11-08T17:53:46.661Z'
+ updated_at: '2022-11-08T17:53:46.670Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -14096,8 +14647,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_18
- created_at: '2022-02-22T08:47:34.686Z'
- updated_at: '2022-02-22T08:47:34.698Z'
+ created_at: '2022-11-08T17:53:46.944Z'
+ updated_at: '2022-11-08T17:53:46.954Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -14166,8 +14717,8 @@ paths:
type: taxonomy
attributes:
name: Categories
- created_at: '2022-02-22T08:47:35.276Z'
- updated_at: '2022-02-22T08:47:35.547Z'
+ created_at: '2022-11-08T17:53:47.485Z'
+ updated_at: '2022-11-08T17:53:47.731Z'
position: 1
public_metadata:
balanced: true
@@ -14315,8 +14866,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2022-02-22T08:47:36.879Z'
- updated_at: '2022-02-22T08:47:36.884Z'
+ created_at: '2022-11-08T17:53:48.869Z'
+ updated_at: '2022-11-08T17:53:48.872Z'
meta_title:
meta_description:
meta_keywords:
@@ -14352,8 +14903,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2022-02-22T08:47:36.909Z'
- updated_at: '2022-02-22T08:47:36.913Z'
+ created_at: '2022-11-08T17:53:48.892Z'
+ updated_at: '2022-11-08T17:53:48.895Z'
meta_title:
meta_description:
meta_keywords:
@@ -14389,8 +14940,8 @@ paths:
lft: 6
rgt: 7
description:
- created_at: '2022-02-22T08:47:36.937Z'
- updated_at: '2022-02-22T08:47:36.940Z'
+ created_at: '2022-11-08T17:53:48.914Z'
+ updated_at: '2022-11-08T17:53:48.916Z'
meta_title:
meta_description:
meta_keywords:
@@ -14426,8 +14977,8 @@ paths:
lft: 1
rgt: 8
description:
- created_at: '2022-02-22T08:47:36.855Z'
- updated_at: '2022-02-22T08:47:36.950Z'
+ created_at: '2022-11-08T17:53:48.844Z'
+ updated_at: '2022-11-08T17:53:48.925Z'
meta_title:
meta_description:
meta_keywords:
@@ -14512,8 +15063,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2022-02-22T08:47:37.661Z'
- updated_at: '2022-02-22T08:47:37.665Z'
+ created_at: '2022-11-08T17:53:49.569Z'
+ updated_at: '2022-11-08T17:53:49.573Z'
meta_title:
meta_description:
meta_keywords:
@@ -14600,8 +15151,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2022-02-22T08:47:38.086Z'
- updated_at: '2022-02-22T08:47:38.089Z'
+ created_at: '2022-11-08T17:53:49.927Z'
+ updated_at: '2022-11-08T17:53:49.930Z'
meta_title:
meta_description:
meta_keywords:
@@ -14691,8 +15242,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2022-02-22T08:47:38.847Z'
- updated_at: '2022-02-22T08:47:39.125Z'
+ created_at: '2022-11-08T17:53:50.684Z'
+ updated_at: '2022-11-08T17:53:50.929Z'
meta_title:
meta_description:
meta_keywords:
@@ -14830,8 +15381,8 @@ paths:
lft: 3
rgt: 4
description:
- created_at: '2022-02-22T08:47:40.733Z'
- updated_at: '2022-02-22T08:47:41.016Z'
+ created_at: '2022-11-08T17:53:52.346Z'
+ updated_at: '2022-11-08T17:53:52.598Z'
meta_title:
meta_description:
meta_keywords:
@@ -14936,11 +15487,11 @@ paths:
- id: '129'
type: user
attributes:
- first_name: Mandie
- last_name: Kerluke
- created_at: '2022-02-22T08:47:41.503Z'
- updated_at: '2022-02-22T08:47:41.503Z'
+ first_name: Synthia
+ last_name: Olson
+ created_at: '2022-11-08T17:53:52.995Z'
+ updated_at: '2022-11-08T17:53:52.995Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -14954,11 +15505,11 @@ paths:
- id: '130'
type: user
attributes:
- first_name: Olivia
- last_name: Daniel
- created_at: '2022-02-22T08:47:41.511Z'
- updated_at: '2022-02-22T08:47:41.511Z'
+ first_name: Yuki
+ last_name: Boehm
+ created_at: '2022-11-08T17:53:53.001Z'
+ updated_at: '2022-11-08T17:53:53.001Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -14972,11 +15523,11 @@ paths:
- id: '131'
type: user
attributes:
- first_name: Angila
- last_name: Carroll
- created_at: '2022-02-22T08:47:41.513Z'
- updated_at: '2022-02-22T08:47:41.513Z'
+ first_name: Larae
+ last_name: Crist
+ created_at: '2022-11-08T17:53:53.002Z'
+ updated_at: '2022-11-08T17:53:53.002Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -15037,11 +15588,11 @@ paths:
id: '136'
type: user
attributes:
- first_name: Codi
- last_name: O'Hara
- created_at: '2022-02-22T08:47:42.111Z'
- updated_at: '2022-02-22T08:47:42.111Z'
+ first_name: Cathrine
+ last_name: Heaney
+ created_at: '2022-11-08T17:53:53.610Z'
+ updated_at: '2022-11-08T17:53:53.610Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -15106,11 +15657,11 @@ paths:
id: '139'
type: user
attributes:
- first_name: Major
- last_name: Jacobs
- created_at: '2022-02-22T08:47:42.431Z'
- updated_at: '2022-02-22T08:47:42.431Z'
+ first_name: Margaret
+ last_name: Hodkiewicz
+ created_at: '2022-11-08T17:53:53.892Z'
+ updated_at: '2022-11-08T17:53:53.892Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -15177,10 +15728,10 @@ paths:
type: user
attributes:
- first_name: Dominic
- last_name: Rogahn
- created_at: '2022-02-22T08:47:43.184Z'
- updated_at: '2022-02-22T08:47:43.445Z'
+ first_name: Xuan
+ last_name: Parisian
+ created_at: '2022-11-08T17:53:54.421Z'
+ updated_at: '2022-11-08T17:53:54.653Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -15316,10 +15867,10 @@ paths:
Example:
value:
data:
- - id: '272'
+ - id: '284'
type: variant
attributes:
- sku: SKU-272
+ sku: SKU-283
weight: '0.0'
height:
depth:
@@ -15329,15 +15880,15 @@ paths:
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2022-02-22T08:47:44.694Z'
+ updated_at: '2022-11-08T17:53:55.770Z'
discontinue_on:
- created_at: '2022-02-22T08:47:44.694Z'
+ created_at: '2022-11-08T17:53:55.770Z'
public_metadata: {}
private_metadata: {}
barcode:
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #202 - 2487'
+ name: Product 2136764
options_text: ''
total_on_hand: 0
purchasable: true
@@ -15350,7 +15901,7 @@ paths:
relationships:
product:
data:
- id: '202'
+ id: '214'
type: product
tax_category:
data:
@@ -15362,34 +15913,34 @@ paths:
data: []
stock_items:
data:
- - id: '289'
+ - id: '300'
type: stock_item
stock_locations:
data:
- - id: '178'
+ - id: '187'
type: stock_location
- - id: '273'
+ - id: '285'
type: variant
attributes:
- sku: SKU-273
- weight: '134.83'
- height: '51.58'
- depth: '111.25'
+ sku: SKU-284
+ weight: '195.12'
+ height: '77.77'
+ depth: '84.53'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2022-02-22T08:47:44.747Z'
+ updated_at: '2022-11-08T17:53:55.806Z'
discontinue_on:
- created_at: '2022-02-22T08:47:44.742Z'
+ created_at: '2022-11-08T17:53:55.802Z'
public_metadata: {}
private_metadata: {}
barcode:
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #202 - 2487'
+ name: Product 2136764
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -15402,7 +15953,7 @@ paths:
relationships:
product:
data:
- id: '202'
+ id: '214'
type: product
tax_category:
data:
@@ -15416,34 +15967,34 @@ paths:
type: option_value
stock_items:
data:
- - id: '290'
+ - id: '301'
type: stock_item
stock_locations:
data:
- - id: '178'
+ - id: '187'
type: stock_location
- - id: '274'
+ - id: '286'
type: variant
attributes:
- sku: SKU-274
- weight: '43.32'
- height: '156.94'
- depth: '5.5'
+ sku: SKU-285
+ weight: '192.38'
+ height: '158.61'
+ depth: '20.1'
deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2022-02-22T08:47:44.771Z'
+ updated_at: '2022-11-08T17:53:55.830Z'
discontinue_on:
- created_at: '2022-02-22T08:47:44.767Z'
+ created_at: '2022-11-08T17:53:55.827Z'
public_metadata: {}
private_metadata: {}
barcode:
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #202 - 2487'
+ name: Product 2136764
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -15456,7 +16007,7 @@ paths:
relationships:
product:
data:
- id: '202'
+ id: '214'
type: product
tax_category:
data:
@@ -15470,11 +16021,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '291'
+ - id: '302'
type: stock_item
stock_locations:
data:
- - id: '178'
+ - id: '187'
type: stock_location
meta:
count: 3
@@ -15529,28 +16080,28 @@ paths:
Example:
value:
data:
- id: '279'
+ id: '291'
type: variant
attributes:
- sku: SKU-279
- weight: '137.58'
- height: '93.39'
- depth: '15.79'
+ sku: SKU-290
+ weight: '2.12'
+ height: '29.29'
+ depth: '100.8'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2022-02-22T08:47:45.314Z'
+ updated_at: '2022-11-08T17:53:56.415Z'
discontinue_on:
- created_at: '2022-02-22T08:47:45.310Z'
+ created_at: '2022-11-08T17:53:56.411Z'
public_metadata: {}
private_metadata: {}
barcode:
display_price: "$19.99"
display_compare_at_price:
- name: 'Product #204 - 5586'
+ name: Product 2156941
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -15563,7 +16114,7 @@ paths:
relationships:
product:
data:
- id: '204'
+ id: '216'
type: product
tax_category:
data:
@@ -15577,11 +16128,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '296'
+ - id: '307'
type: stock_item
stock_locations:
data:
- - id: '180'
+ - id: '189'
type: stock_location
schema:
"$ref": "#/components/schemas/resource"
@@ -15711,14 +16262,14 @@ paths:
- id: '1'
type: event
attributes:
- execution_time: 79378
+ execution_time: 29133
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2022-02-22T08:47:46.728Z'
- updated_at: '2022-02-22T08:47:46.728Z'
+ created_at: '2022-11-08T17:53:57.716Z'
+ updated_at: '2022-11-08T17:53:57.716Z'
relationships:
subscriber:
data:
@@ -15727,14 +16278,14 @@ paths:
- id: '2'
type: event
attributes:
- execution_time: 89817
+ execution_time: 82746
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2022-02-22T08:47:46.731Z'
- updated_at: '2022-02-22T08:47:46.731Z'
+ created_at: '2022-11-08T17:53:57.719Z'
+ updated_at: '2022-11-08T17:53:57.719Z'
relationships:
subscriber:
data:
@@ -15810,8 +16361,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2022-02-22T08:47:47.044Z'
- updated_at: '2022-02-22T08:47:47.044Z'
+ created_at: '2022-11-08T17:53:57.999Z'
+ updated_at: '2022-11-08T17:53:57.999Z'
- id: '6'
type: subscriber
attributes:
@@ -15819,8 +16370,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2022-02-22T08:47:47.045Z'
- updated_at: '2022-02-22T08:47:47.045Z'
+ created_at: '2022-11-08T17:53:58.000Z'
+ updated_at: '2022-11-08T17:53:58.000Z'
meta:
count: 2
total_count: 2
@@ -15868,8 +16419,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2022-02-22T08:47:47.598Z'
- updated_at: '2022-02-22T08:47:47.598Z'
+ created_at: '2022-11-08T17:53:58.502Z'
+ updated_at: '2022-11-08T17:53:58.502Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -15924,8 +16475,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2022-02-22T08:47:47.886Z'
- updated_at: '2022-02-22T08:47:47.886Z'
+ created_at: '2022-11-08T17:53:58.766Z'
+ updated_at: '2022-11-08T17:53:58.766Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -15978,8 +16529,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2022-02-22T08:47:48.533Z'
- updated_at: '2022-02-22T08:47:48.533Z'
+ created_at: '2022-11-08T17:53:59.283Z'
+ updated_at: '2022-11-08T17:53:59.283Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -16100,8 +16651,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:50.065Z'
- updated_at: '2022-02-22T08:47:50.065Z'
+ created_at: '2022-11-08T17:54:00.687Z'
+ updated_at: '2022-11-08T17:54:00.687Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16109,14 +16660,14 @@ paths:
relationships:
variant:
data:
- id: '289'
+ id: '301'
type: variant
- id: '2'
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:50.128Z'
- updated_at: '2022-02-22T08:47:50.128Z'
+ created_at: '2022-11-08T17:54:00.752Z'
+ updated_at: '2022-11-08T17:54:00.752Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16124,14 +16675,14 @@ paths:
relationships:
variant:
data:
- id: '291'
+ id: '303'
type: variant
- id: '3'
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:50.183Z'
- updated_at: '2022-02-22T08:47:50.183Z'
+ created_at: '2022-11-08T17:54:00.811Z'
+ updated_at: '2022-11-08T17:54:00.811Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16139,14 +16690,14 @@ paths:
relationships:
variant:
data:
- id: '293'
+ id: '305'
type: variant
- id: '4'
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:50.237Z'
- updated_at: '2022-02-22T08:47:50.237Z'
+ created_at: '2022-11-08T17:54:00.870Z'
+ updated_at: '2022-11-08T17:54:00.870Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16154,7 +16705,7 @@ paths:
relationships:
variant:
data:
- id: '295'
+ id: '307'
type: variant
meta:
count: 4
@@ -16207,8 +16758,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:51.153Z'
- updated_at: '2022-02-22T08:47:51.153Z'
+ created_at: '2022-11-08T17:54:01.813Z'
+ updated_at: '2022-11-08T17:54:01.813Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16216,7 +16767,7 @@ paths:
relationships:
variant:
data:
- id: '307'
+ id: '319'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -16278,8 +16829,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2022-02-22T08:47:51.722Z'
- updated_at: '2022-02-22T08:47:51.722Z'
+ created_at: '2022-11-08T17:54:02.293Z'
+ updated_at: '2022-11-08T17:54:02.293Z'
display_total: "$19.99"
display_price: "$19.99"
price: '19.99'
@@ -16287,7 +16838,7 @@ paths:
relationships:
variant:
data:
- id: '313'
+ id: '325'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -16345,8 +16896,8 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2022-02-22T08:47:52.622Z'
- updated_at: '2022-02-22T08:47:52.872Z'
+ created_at: '2022-11-08T17:54:03.248Z'
+ updated_at: '2022-11-08T17:54:03.477Z'
display_total: "$59.97"
display_price: "$19.99"
price: '19.99'
@@ -16354,7 +16905,7 @@ paths:
relationships:
variant:
data:
- id: '323'
+ id: '335'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -16481,9 +17032,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2022-02-22T08:47:54.912Z'
- updated_at: '2022-02-22T08:47:54.912Z'
- token: qofHbzrXRkHDQPftRPLiWfvb
+ created_at: '2022-11-08T17:54:05.298Z'
+ updated_at: '2022-11-08T17:54:05.298Z'
+ token: KA8qaQNr6EBpupoSqHWRc9GJ
variant_included: false
relationships:
wished_items:
@@ -16498,9 +17049,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2022-02-22T08:47:54.914Z'
- updated_at: '2022-02-22T08:47:54.914Z'
- token: VVhjsaQqVAMQyRjkxwCCgqfN
+ created_at: '2022-11-08T17:54:05.299Z'
+ updated_at: '2022-11-08T17:54:05.299Z'
+ token: dWMikRtYYEJ1BUPgNdXPQZ8T
variant_included: false
relationships:
wished_items:
@@ -16562,9 +17113,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2022-02-22T08:47:55.975Z'
- updated_at: '2022-02-22T08:47:55.975Z'
- token: SuJWZo79rWX1DAspiBGMSLbr
+ created_at: '2022-11-08T17:54:06.305Z'
+ updated_at: '2022-11-08T17:54:06.305Z'
+ token: WFAZgwoiMCtd8HYZEBPWq51Q
variant_included: false
relationships:
wished_items:
@@ -16628,9 +17179,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2022-02-22T08:47:56.274Z'
- updated_at: '2022-02-22T08:47:56.274Z'
- token: jxiFjoi9i3qFjP8MdupXD5JC
+ created_at: '2022-11-08T17:54:06.578Z'
+ updated_at: '2022-11-08T17:54:06.578Z'
+ token: ipZwKgpNAMaDoJVFzvcMHx4u
variant_included: false
relationships:
wished_items:
@@ -16693,9 +17244,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2022-02-22T08:47:56.960Z'
- updated_at: '2022-02-22T08:47:57.213Z'
- token: ZmpoSiHqYJPDPkEqrKbg2P7J
+ created_at: '2022-11-08T17:54:07.102Z'
+ updated_at: '2022-11-08T17:54:07.332Z'
+ token: y8ThmVae2qvLoHRGUEFpm3Y9
variant_included: false
relationships:
wished_items:
@@ -16822,13 +17373,12 @@ paths:
- id: '113'
type: zone
attributes:
- name: Reprehenderit temporibus odio magnam ducimus.
- description: Harum nulla doloribus vero corporis neque quae
- alias eius.
+ name: Laboriosam aliquam accusamus laborum non commodi.
+ description: Placeat nostrum ea necessitatibus provident quis.
default_tax: false
zone_members_count: 0
- created_at: '2022-02-22T08:47:58.402Z'
- updated_at: '2022-02-22T08:47:58.402Z'
+ created_at: '2022-11-08T17:54:08.396Z'
+ updated_at: '2022-11-08T17:54:08.396Z'
kind: state
relationships:
zone_members:
@@ -16836,14 +17386,14 @@ paths:
- id: '114'
type: zone
attributes:
- name: Perspiciatis officiis ab placeat expedita blanditiis
- at numquam.
- description: Ducimus optio non eveniet dolor quam molestias
- cupiditate.
+ name: Temporibus qui nulla blanditiis aliquam magnam hic fugit
+ sunt.
+ description: Ut facere aliquid odio voluptates assumenda aliquam
+ tempora dolore.
default_tax: false
zone_members_count: 0
- created_at: '2022-02-22T08:47:58.403Z'
- updated_at: '2022-02-22T08:47:58.403Z'
+ created_at: '2022-11-08T17:54:08.398Z'
+ updated_at: '2022-11-08T17:54:08.398Z'
kind: state
relationships:
zone_members:
@@ -16898,13 +17448,13 @@ paths:
id: '117'
type: zone
attributes:
- name: Ea debitis tempore sapiente vero molestiae explicabo
- molestias.
- description: Sint deleniti inventore molestias repellat ratione.
+ name: Voluptatem excepturi quis eligendi quo voluptate iusto
+ fugit.
+ description: Aut esse consequuntur enim recusandae at.
default_tax: false
zone_members_count: 0
- created_at: '2022-02-22T08:47:58.960Z'
- updated_at: '2022-02-22T08:47:58.960Z'
+ created_at: '2022-11-08T17:54:08.904Z'
+ updated_at: '2022-11-08T17:54:08.904Z'
kind: state
relationships:
zone_members:
@@ -16963,14 +17513,12 @@ paths:
id: '118'
type: zone
attributes:
- name: Laboriosam nulla nesciunt maxime ullam fugit pariatur
- repellendus.
- description: Sequi occaecati vitae nulla veritatis sed molestias
- illum.
+ name: Temporibus vitae corporis iusto aliquid debitis.
+ description: Quasi beatae consequatur ad ratione.
default_tax: false
zone_members_count: 0
- created_at: '2022-02-22T08:47:59.249Z'
- updated_at: '2022-02-22T08:47:59.249Z'
+ created_at: '2022-11-08T17:54:09.168Z'
+ updated_at: '2022-11-08T17:54:09.168Z'
kind: state
relationships:
zone_members:
@@ -17034,8 +17582,8 @@ paths:
description: The zone containing all EU countries
default_tax: false
zone_members_count: 0
- created_at: '2022-02-22T08:47:59.844Z'
- updated_at: '2022-02-22T08:48:00.099Z'
+ created_at: '2022-11-08T17:54:09.682Z'
+ updated_at: '2022-11-08T17:54:09.911Z'
kind: state
relationships:
zone_members:
@@ -17118,7 +17666,7 @@ paths:
schema:
"$ref": "#/components/schemas/error"
servers:
-- url: https://{defaultHost}
+- url: http://{defaultHost}
variables:
defaultHost:
default: localhost:3000
@@ -17139,6 +17687,7 @@ tags:
- name: Orders
- name: Payments
- name: Payment Methods
+- name: Products
- name: Promotions
- name: Promotion Actions
- name: Promotion Categories
@@ -17147,6 +17696,7 @@ tags:
- name: Shipments
- name: Shipping Categories
- name: Shipping Methods
+- name: States
- name: Stock Items
- name: Stock Locations
- name: Store Credit Categories
@@ -17234,7 +17784,7 @@ components:
close_to_shop: true
required:
- address
- x-internal: true
+ x-internal: false
update_address_params:
type: object
properties:
@@ -17292,7 +17842,7 @@ components:
close_to_shop: true
required:
- address
- x-internal: true
+ x-internal: false
create_adjustment_params:
type: object
properties:
@@ -17339,7 +17889,7 @@ components:
default: false
required:
- adjustment
- x-internal: true
+ x-internal: false
update_adjustment_params:
type: object
properties:
@@ -17381,7 +17931,7 @@ components:
default: false
required:
- adjustment
- x-internal: true
+ x-internal: false
create_classification_params:
type: object
properties:
@@ -17403,7 +17953,7 @@ components:
example: 1
required:
- classification
- x-internal: true
+ x-internal: false
update_classification_params:
type: object
properties:
@@ -17421,7 +17971,7 @@ components:
example: 1
required:
- classification
- x-internal: true
+ x-internal: false
create_standard_cms_page_params:
type: object
properties:
@@ -17477,7 +18027,7 @@ components:
required:
- cms_page
title: Create a Standard Page
- x-internal: true
+ x-internal: false
create_homepage_cms_page_params:
type: object
properties:
@@ -17522,7 +18072,7 @@ components:
required:
- cms_page
title: Create a Homepage
- x-internal: true
+ x-internal: false
create_feature_cms_page_params:
type: object
properties:
@@ -17573,7 +18123,7 @@ components:
required:
- cms_page
title: Create a Feature Page
- x-internal: true
+ x-internal: false
update_standard_cms_page_params:
type: object
properties:
@@ -17627,7 +18177,7 @@ components:
required:
- cms_page
title: Update a Standard Page
- x-internal: true
+ x-internal: false
update_homepage_cms_page_params:
type: object
properties:
@@ -17670,7 +18220,7 @@ components:
required:
- cms_page
title: Update a Homepage
- x-internal: true
+ x-internal: false
update_feature_cms_page_params:
type: object
properties:
@@ -17719,7 +18269,7 @@ components:
required:
- cms_page
title: Update a Feature Page
- x-internal: true
+ x-internal: false
create_hero_image_cms_section_params:
type: object
properties:
@@ -17795,7 +18345,7 @@ components:
required:
- cms_section
title: Create a Hero Image Section
- x-internal: true
+ x-internal: false
create_product_carousel_cms_section_params:
type: object
properties:
@@ -17833,7 +18383,7 @@ components:
required:
- cms_section
title: Create a Product Carousel Section
- x-internal: true
+ x-internal: false
create_side_by_side_images_cms_section_params:
type: object
properties:
@@ -17934,7 +18484,7 @@ components:
required:
- cms_section
title: Create a Side-by-Side Image Section
- x-internal: true
+ x-internal: false
create_image_gallery_cms_section_params:
type: object
properties:
@@ -18054,7 +18604,7 @@ components:
required:
- cms_section
title: Create an Image Gallery Section
- x-internal: true
+ x-internal: false
create_featured_article_cms_section_params:
type: object
properties:
@@ -18134,7 +18684,7 @@ components:
required:
- cms_section
title: Create a Featured Article Section
- x-internal: true
+ x-internal: false
create_rich_text_cms_section_params:
type: object
properties:
@@ -18179,7 +18729,7 @@ components:
required:
- cms_section
title: Create a Rich Text Section
- x-internal: true
+ x-internal: false
update_hero_image_cms_section_params:
type: object
properties:
@@ -18253,7 +18803,7 @@ components:
required:
- cms_section
title: Update a Hero Image Section
- x-internal: true
+ x-internal: false
update_product_carousel_cms_section_params:
type: object
properties:
@@ -18289,7 +18839,7 @@ components:
required:
- cms_section
title: Update a Product Carousel Section
- x-internal: true
+ x-internal: false
update_side_by_side_images_cms_section_params:
type: object
properties:
@@ -18388,7 +18938,7 @@ components:
required:
- cms_section
title: Update a Side-by-Side Image Section
- x-internal: true
+ x-internal: false
update_image_gallery_cms_section_params:
type: object
properties:
@@ -18506,7 +19056,7 @@ components:
required:
- cms_section
title: Update an Image Gallery Section
- x-internal: true
+ x-internal: false
update_featured_article_cms_section_params:
type: object
properties:
@@ -18584,7 +19134,7 @@ components:
required:
- cms_section
title: Update a Featured Article Section
- x-internal: true
+ x-internal: false
update_rich_text_cms_section_params:
type: object
properties:
@@ -18628,7 +19178,7 @@ components:
required:
- cms_section
title: Update a Rich Text Section
- x-internal: true
+ x-internal: false
create_digital_params:
type: object
properties:
@@ -18641,7 +19191,7 @@ components:
required:
- digital[attachment]
- digital[variant_id]
- x-internal: true
+ x-internal: false
update_digital_params:
type: object
properties:
@@ -18654,7 +19204,7 @@ components:
required:
- digital[attachment]
- digital[variant_id]
- x-internal: true
+ x-internal: false
create_digital_link_params:
type: object
properties:
@@ -18675,7 +19225,7 @@ components:
example: '1'
required:
- digital_link
- x-internal: true
+ x-internal: false
update_digital_link_params:
type: object
properties:
@@ -18693,7 +19243,7 @@ components:
example: '1'
required:
- digital_link
- x-internal: true
+ x-internal: false
create_line_item_params:
type: object
properties:
@@ -18719,7 +19269,7 @@ components:
type: object
required:
- line_item
- x-internal: true
+ x-internal: false
update_line_item_params:
type: object
properties:
@@ -18734,7 +19284,7 @@ components:
example: 2
required:
- line_item
- x-internal: true
+ x-internal: false
create_menu_params:
type: object
properties:
@@ -18761,7 +19311,7 @@ components:
description: Set the language of this menu.
required:
- menu
- x-internal: true
+ x-internal: false
update_menu_params:
type: object
properties:
@@ -18784,7 +19334,7 @@ components:
description: Change the language of this menu.
required:
- menu
- x-internal: true
+ x-internal: false
create_menu_item_params:
type: object
properties:
@@ -18849,7 +19399,7 @@ components:
required:
- menu_item
title: Create a Menu Item
- x-internal: true
+ x-internal: false
update_menu_item_params:
type: object
properties:
@@ -18911,7 +19461,7 @@ components:
required:
- menu_item
title: Update a Menu Item
- x-internal: true
+ x-internal: false
menu_item_reposition:
type: object
properties:
@@ -18932,7 +19482,7 @@ components:
required:
- menu_item
title: Reposition a Menu Item
- x-internal: true
+ x-internal: false
create_option_type_params:
type: object
properties:
@@ -18954,7 +19504,7 @@ components:
type: object
required:
- option_type
- x-internal: true
+ x-internal: false
update_option_type_params:
type: object
properties:
@@ -18973,7 +19523,7 @@ components:
type: object
required:
- option_type
- x-internal: true
+ x-internal: false
create_option_value_params:
type: object
properties:
@@ -18995,7 +19545,7 @@ components:
type: object
required:
- option_value
- x-internal: true
+ x-internal: false
update_option_value_params:
type: object
properties:
@@ -19014,7 +19564,7 @@ components:
type: object
required:
- option_value
- x-internal: true
+ x-internal: false
create_order_params:
type: object
properties:
@@ -19047,7 +19597,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2022-02-22 08:45:30 UTC
+ example: 2022-11-08 17:51:49 UTC
bill_address_id:
type: string
example: '1'
@@ -19115,7 +19665,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2022-02-22 08:45:30 UTC
+ example: 2022-11-08 17:51:49 UTC
confirmation_delivered:
type: boolean
example: true
@@ -19153,7 +19703,7 @@ components:
type: object
required:
- order
- x-internal: true
+ x-internal: false
update_order_params:
type: object
properties:
@@ -19186,7 +19736,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2022-02-22 08:45:30 UTC
+ example: 2022-11-08 17:51:49 UTC
bill_address_id:
type: string
example: '1'
@@ -19254,7 +19804,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2022-02-22 08:45:30 UTC
+ example: 2022-11-08 17:51:49 UTC
confirmation_delivered:
type: boolean
example: true
@@ -19292,7 +19842,7 @@ components:
type: object
required:
- order
- x-internal: true
+ x-internal: false
create_payment_method_params:
type: object
properties:
@@ -19336,7 +19886,7 @@ components:
type: object
required:
- payment_method
- x-internal: true
+ x-internal: false
update_payment_method_params:
type: object
properties:
@@ -19378,7 +19928,7 @@ components:
type: object
required:
- payment_method
- x-internal: true
+ x-internal: false
title: Update Payment Method
update_payment_method_params_bogus_gateway:
type: object
@@ -19396,7 +19946,7 @@ components:
type: boolean
required:
- payment_method
- x-internal: true
+ x-internal: false
title: Update Bogus Gateway
create_product_params:
type: object
@@ -19460,7 +20010,7 @@ components:
type: object
required:
- product
- x-internal: true
+ x-internal: false
update_product_params:
type: object
properties:
@@ -19519,7 +20069,7 @@ components:
type: object
required:
- product
- x-internal: true
+ x-internal: false
create_promotion_params:
type: object
properties:
@@ -19569,7 +20119,7 @@ components:
required:
- promotion
title: Create a Promotion
- x-internal: true
+ x-internal: false
update_promotion_params:
type: object
properties:
@@ -19618,7 +20168,7 @@ components:
required:
- promotion
title: Update a Promotion
- x-internal: true
+ x-internal: false
update_promotion_add_rule_params:
type: object
properties:
@@ -19654,7 +20204,7 @@ components:
required:
- promotion
title: Add a Rule to a Promotion
- x-internal: true
+ x-internal: false
update_promotion_update_rule_params:
type: object
properties:
@@ -19695,7 +20245,7 @@ components:
required:
- promotion
title: Update an existing Rule
- x-internal: true
+ x-internal: false
update_promotion_add_action_params:
type: object
properties:
@@ -19719,7 +20269,7 @@ components:
required:
- promotion
title: Add an Action to a Promotion
- x-internal: true
+ x-internal: false
update_promotion_action_calculator_params:
type: object
properties:
@@ -19761,7 +20311,7 @@ components:
required:
- promotion
title: Update an Action Calculator
- x-internal: true
+ x-internal: false
update_promotion_change_calculator_params:
type: object
properties:
@@ -19796,7 +20346,7 @@ components:
required:
- promotion
title: Change an Action Calculator
- x-internal: true
+ x-internal: false
update_promotion_change_action_params:
type: object
properties:
@@ -19825,7 +20375,7 @@ components:
required:
- promotion
title: Change an Action Type
- x-internal: true
+ x-internal: false
create_promotion_action_params:
type: object
properties:
@@ -19851,7 +20401,7 @@ components:
required:
- promotion_action
title: Create a Promotion Action
- x-internal: true
+ x-internal: false
update_promotion_action_params:
type: object
properties:
@@ -19870,7 +20420,7 @@ components:
required:
- promotion_action
title: Create a Promotion Action
- x-internal: true
+ x-internal: false
create_promotion_category_params:
type: object
properties:
@@ -19890,7 +20440,7 @@ components:
description: Give this promotion category a code.
required:
- promotion_category
- x-internal: true
+ x-internal: false
update_promotion_category_params:
type: object
properties:
@@ -19910,7 +20460,7 @@ components:
description: Change or remove the code for this Promotion Category.
required:
- promotion_category
- x-internal: true
+ x-internal: false
create_promotion_rule_params:
type: object
properties:
@@ -19942,7 +20492,7 @@ components:
required:
- promotion_rule
title: Create a Promotion Rule
- x-internal: true
+ x-internal: false
update_promotion_rule_params:
type: object
properties:
@@ -19966,7 +20516,7 @@ components:
required:
- promotion_rule
title: Create a Promotion Rule
- x-internal: true
+ x-internal: false
create_role_params:
type: object
properties:
@@ -19980,7 +20530,7 @@ components:
example: vendor
required:
- zone
- x-internal: true
+ x-internal: false
update_role_params:
type: object
properties:
@@ -19992,7 +20542,7 @@ components:
example: vendor
required:
- zone
- x-internal: true
+ x-internal: false
create_shipment_params:
type: object
properties:
@@ -20017,7 +20567,7 @@ components:
example: 2
required:
- shipping_category
- x-internal: true
+ x-internal: false
update_shipment_params:
type: object
properties:
@@ -20029,7 +20579,7 @@ components:
example: MY-TRACKING-REF-12324
required:
- shipping_category
- x-internal: true
+ x-internal: false
add_item_shipment_params:
type: object
properties:
@@ -20046,7 +20596,7 @@ components:
example: 2
required:
- shipping_category
- x-internal: true
+ x-internal: false
remove_item_shipment_params:
type: object
properties:
@@ -20063,7 +20613,7 @@ components:
example: 2
required:
- shipping_category
- x-internal: true
+ x-internal: false
create_shipping_category_params:
type: object
properties:
@@ -20077,7 +20627,7 @@ components:
example: Another Category
required:
- shipping_category
- x-internal: true
+ x-internal: false
update_shipping_category_params:
type: object
properties:
@@ -20091,7 +20641,7 @@ components:
example: Another Category
required:
- shipping_category
- x-internal: true
+ x-internal: false
create_shipping_method_params:
type: object
properties:
@@ -20138,7 +20688,7 @@ components:
type: object
required:
- shipping_method
- x-internal: true
+ x-internal: false
update_shipping_method_params:
type: object
properties:
@@ -20181,7 +20731,7 @@ components:
type: object
required:
- shipping_method
- x-internal: true
+ x-internal: false
shipping_calculator_params:
type: object
properties:
@@ -20197,7 +20747,7 @@ components:
- Spree::Calculator::Shipping::PriceSack
required:
- type
- x-internal: true
+ x-internal: false
create_stock_item_params:
type: object
properties:
@@ -20223,7 +20773,7 @@ components:
default: false
required:
- stock_item
- x-internal: true
+ x-internal: false
update_stock_item_params:
type: object
properties:
@@ -20249,7 +20799,7 @@ components:
default: false
required:
- stock_item
- x-internal: true
+ x-internal: false
create_stock_location_params:
type: object
properties:
@@ -20297,7 +20847,7 @@ components:
type: string
required:
- stock_location
- x-internal: true
+ x-internal: false
update_stock_location_params:
type: object
properties:
@@ -20345,7 +20895,7 @@ components:
type: string
required:
- stock_location
- x-internal: true
+ x-internal: false
create_store_credit_category_params:
type: object
properties:
@@ -20359,7 +20909,7 @@ components:
example: refunded
required:
- store_credit_category
- x-internal: true
+ x-internal: false
update_store_credit_category_params:
type: object
properties:
@@ -20373,7 +20923,7 @@ components:
example: refunded
required:
- store_credit_category
- x-internal: true
+ x-internal: false
create_store_credit_type_params:
type: object
properties:
@@ -20390,7 +20940,7 @@ components:
example: 1
required:
- store_credit_type
- x-internal: true
+ x-internal: false
update_store_credit_type_params:
type: object
properties:
@@ -20405,7 +20955,7 @@ components:
example: 1
required:
- store_credit_type
- x-internal: true
+ x-internal: false
create_store_credit_params:
type: object
properties:
@@ -20462,7 +21012,7 @@ components:
type: object
required:
- store_credit
- x-internal: true
+ x-internal: false
update_store_credit_params:
type: object
properties:
@@ -20519,7 +21069,7 @@ components:
type: object
required:
- store_credit
- x-internal: true
+ x-internal: false
create_tax_category_params:
type: object
properties:
@@ -20542,7 +21092,7 @@ components:
example: Men's, women's and children's branded clothing
required:
- tax_category
- x-internal: true
+ x-internal: false
update_tax_category_params:
type: object
properties:
@@ -20565,7 +21115,7 @@ components:
example: Men's, women's and children's branded clothing
required:
- tax_category
- x-internal: true
+ x-internal: false
create_tax_rate_params:
type: object
properties:
@@ -20607,7 +21157,7 @@ components:
currency: USD
required:
- tax_rate
- x-internal: true
+ x-internal: false
update_tax_rate_params:
type: object
properties:
@@ -20649,7 +21199,7 @@ components:
currency: USD
required:
- tax_rate
- x-internal: true
+ x-internal: false
create_taxon_params:
type: object
properties:
@@ -20675,7 +21225,7 @@ components:
profitability: 2
required:
- taxon
- x-internal: true
+ x-internal: false
update_taxon_params:
type: object
properties:
@@ -20694,7 +21244,7 @@ components:
type: object
required:
- taxon
- x-internal: true
+ x-internal: false
taxon_reposition:
type: object
properties:
@@ -20715,7 +21265,7 @@ components:
required:
- taxon
title: Reposition a Taxon
- x-internal: true
+ x-internal: false
create_taxonomy_params:
type: object
properties:
@@ -20742,7 +21292,7 @@ components:
profitability: 2
required:
- taxonomy
- x-internal: true
+ x-internal: false
update_taxonomy_params:
type: object
properties:
@@ -20767,7 +21317,7 @@ components:
profitability: 2
required:
- taxonomy
- x-internal: true
+ x-internal: false
create_user_params:
type: object
properties:
@@ -20798,7 +21348,7 @@ components:
type: object
required:
- user
- x-internal: true
+ x-internal: false
update_user_params:
type: object
properties:
@@ -20825,7 +21375,7 @@ components:
type: object
required:
- user
- x-internal: true
+ x-internal: false
create_webhook_subscriber_params:
type: object
properties:
@@ -20854,7 +21404,7 @@ components:
example: https://www.url.com/
required:
- subscriber
- x-internal: true
+ x-internal: false
update_webhook_subscriber_params:
type: object
properties:
@@ -20883,7 +21433,7 @@ components:
example: https://www.url.com/
required:
- subscriber
- x-internal: true
+ x-internal: false
create_wishlist_params:
type: object
properties:
@@ -20903,7 +21453,7 @@ components:
type: boolean
required:
- wishlist
- x-internal: true
+ x-internal: false
update_wishlist_params:
type: object
properties:
@@ -20920,7 +21470,7 @@ components:
type: boolean
required:
- wishlist
- x-internal: true
+ x-internal: false
create_wished_item_params:
type: object
properties:
@@ -20940,7 +21490,7 @@ components:
description: Must be an integer greater than 0
required:
- wished_item
- x-internal: true
+ x-internal: false
update_wished_item_params:
type: object
properties:
@@ -20960,7 +21510,7 @@ components:
description: Must be an integer greater than 0
required:
- wished_item
- x-internal: true
+ x-internal: false
create_zone_params:
type: object
properties:
@@ -20985,7 +21535,7 @@ components:
- country
required:
- zone
- x-internal: true
+ x-internal: false
update_zone_params:
type: object
properties:
@@ -21008,19 +21558,19 @@ components:
- country
required:
- zone
- x-internal: true
+ x-internal: false
amount_param:
type: object
properties:
amount:
type: number
- x-internal: true
+ x-internal: false
coupon_code_param:
type: object
properties:
coupon_code:
type: string
- x-internal: true
+ x-internal: false
resources_list:
type: object
properties:
@@ -21065,7 +21615,7 @@ components:
- data
- meta
- links
- x-internal: true
+ x-internal: false
resource_properties:
type: object
properties:
@@ -21081,7 +21631,7 @@ components:
- id
- type
- attributes
- x-internal: true
+ x-internal: false
resource:
type: object
properties:
@@ -21089,7 +21639,7 @@ components:
"$ref": "#/components/schemas/resource_properties"
required:
- data
- x-internal: true
+ x-internal: false
error:
type: object
properties:
@@ -21097,7 +21647,7 @@ components:
type: string
required:
- error
- x-internal: true
+ x-internal: false
validation_errors:
type: object
properties:
@@ -21108,4 +21658,4 @@ components:
required:
- error
- errors
- x-internal: true
+ x-internal: false
diff --git a/api/lib/spree/api/testing_support/v2/platform_contexts.rb b/api/lib/spree/api/testing_support/v2/platform_contexts.rb
index d5893fad39..d97960d28d 100644
--- a/api/lib/spree/api/testing_support/v2/platform_contexts.rb
+++ b/api/lib/spree/api/testing_support/v2/platform_contexts.rb
@@ -38,7 +38,6 @@ shared_context 'Platform API v2' do
)
end
-
let(:valid_authorization) { "Bearer #{oauth_token.token}" }
let(:valid_read_authorization) { "Bearer #{read_oauth_token.token}" }
let(:valid_user_authorization) { "Bearer #{user_oauth_token.token}" }
diff --git a/api/spec/integration/api/v2/platform/products_spec.rb b/api/spec/integration/api/v2/platform/products_spec.rb
new file mode 100644
index 0000000000..44adcea6d5
--- /dev/null
+++ b/api/spec/integration/api/v2/platform/products_spec.rb
@@ -0,0 +1,44 @@
+require 'swagger_helper'
+
+describe 'Products API', swagger: true do
+ include_context 'Platform API v2'
+
+ resource_name = 'Product'
+ options = {
+ include_example: 'prices',
+ filter_examples: [{ name: 'filter[name_eq]', example: 'Green Toy Boat' }]
+ }
+
+ let(:shipping_category) { create(:shipping_category) }
+ let(:id) { create(:product).id }
+ let(:records_list) { create_list(:product, 2) }
+
+ let(:valid_create_param_value) do
+ {
+ product: {
+ name: 'Spinning Top',
+ price: 87.43,
+ shipping_category_id: shipping_category.id
+ }
+ }
+ end
+
+ let(:valid_update_param_value) do
+ {
+ product: {
+ name: 'Twirling Bottom',
+ price: 33.21
+ }
+ }
+ end
+
+ let(:invalid_param_value) do
+ {
+ product: {
+ name: ''
+ }
+ }
+ end
+
+ include_examples 'CRUD examples', resource_name, options
+end
diff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rb
index 307e6a8ef4..bee86a8f42 100644
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@ -31,7 +31,7 @@ RSpec.configure do |config|
paths: {},
servers: [
{
- url: 'https://{defaultHost}',
+ url: 'http://{defaultHost}',
variables: {
defaultHost: {
default: 'localhost:3000'
@@ -56,6 +56,7 @@ RSpec.configure do |config|
{ name: 'Orders' },
{ name: 'Payments' },
{ name: 'Payment Methods' },
+ { name: 'Products' },
{ name: 'Promotions' },
{ name: 'Promotion Actions' },
{ name: 'Promotion Categories' },
@@ -64,6 +65,7 @@ RSpec.configure do |config|
{ name: 'Shipments' },
{ name: 'Shipping Categories' },
{ name: 'Shipping Methods' },
+ { name: 'States' },
{ name: 'Stock Items' },
{ name: 'Stock Locations' },
{ name: 'Store Credit Categories' },
@@ -118,7 +120,7 @@ RSpec.configure do |config|
}
},
required: %w[address],
- 'x-internal': true
+ 'x-internal': false
},
update_address_params: {
type: :object,
@@ -146,7 +148,7 @@ RSpec.configure do |config|
}
},
required: %w[address],
- 'x-internal': true
+ 'x-internal': false
},
# Adjustment
@@ -172,7 +174,7 @@ RSpec.configure do |config|
}
},
required: %w[adjustment],
- 'x-internal': true
+ 'x-internal': false
},
update_adjustment_params: {
type: :object,
@@ -195,7 +197,7 @@ RSpec.configure do |config|
}
},
required: %w[adjustment],
- 'x-internal': true
+ 'x-internal': false
},
# Classification
@@ -213,7 +215,7 @@ RSpec.configure do |config|
}
},
required: %w[classification],
- 'x-internal': true
+ 'x-internal': false
},
update_classification_params: {
type: :object,
@@ -228,7 +230,7 @@ RSpec.configure do |config|
}
},
required: %w[classification],
- 'x-internal': true
+ 'x-internal': false
},
# CMS Page
@@ -252,7 +254,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Create a Standard Page',
- 'x-internal': true
+ 'x-internal': false
},
create_homepage_cms_page_params: {
type: :object,
@@ -272,7 +274,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Create a Homepage',
- 'x-internal': true
+ 'x-internal': false
},
create_feature_cms_page_params: {
type: :object,
@@ -293,7 +295,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Create a Feature Page',
- 'x-internal': true
+ 'x-internal': false
},
update_standard_cms_page_params: {
type: :object,
@@ -314,7 +316,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Update a Standard Page',
- 'x-internal': true
+ 'x-internal': false
},
update_homepage_cms_page_params: {
type: :object,
@@ -333,7 +335,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Update a Homepage',
- 'x-internal': true
+ 'x-internal': false
},
update_feature_cms_page_params: {
type: :object,
@@ -353,7 +355,7 @@ RSpec.configure do |config|
},
required: %w[cms_page],
title: 'Update a Feature Page',
- 'x-internal': true
+ 'x-internal': false
},
# CMS Section
@@ -380,7 +382,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create a Hero Image Section',
- 'x-internal': true
+ 'x-internal': false
},
create_product_carousel_cms_section_params: {
type: :object,
@@ -399,7 +401,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create a Product Carousel Section',
- 'x-internal': true
+ 'x-internal': false
},
create_side_by_side_images_cms_section_params: {
type: :object,
@@ -429,7 +431,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create a Side-by-Side Image Section',
- 'x-internal': true
+ 'x-internal': false
},
create_image_gallery_cms_section_params: {
type: :object,
@@ -462,7 +464,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create an Image Gallery Section',
- 'x-internal': true
+ 'x-internal': false
},
create_featured_article_cms_section_params: {
type: :object,
@@ -488,7 +490,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create a Featured Article Section',
- 'x-internal': true
+ 'x-internal': false
},
create_rich_text_cms_section_params: {
type: :object,
@@ -508,7 +510,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Create a Rich Text Section',
- 'x-internal': true
+ 'x-internal': false
},
update_hero_image_cms_section_params: {
type: :object,
@@ -532,7 +534,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update a Hero Image Section',
- 'x-internal': true
+ 'x-internal': false
},
update_product_carousel_cms_section_params: {
type: :object,
@@ -549,7 +551,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update a Product Carousel Section',
- 'x-internal': true
+ 'x-internal': false
},
update_side_by_side_images_cms_section_params: {
type: :object,
@@ -577,7 +579,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update a Side-by-Side Image Section',
- 'x-internal': true
+ 'x-internal': false
},
update_image_gallery_cms_section_params: {
type: :object,
@@ -608,7 +610,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update an Image Gallery Section',
- 'x-internal': true
+ 'x-internal': false
},
update_featured_article_cms_section_params: {
type: :object,
@@ -632,7 +634,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update a Featured Article Section',
- 'x-internal': true
+ 'x-internal': false
},
update_rich_text_cms_section_params: {
type: :object,
@@ -650,7 +652,7 @@ RSpec.configure do |config|
},
required: %w[cms_section],
title: 'Update a Rich Text Section',
- 'x-internal': true
+ 'x-internal': false
},
# Digital
@@ -661,7 +663,7 @@ RSpec.configure do |config|
"digital[variant_id]": { type: :string, example: '123' }
},
required: ['digital[attachment]', 'digital[variant_id]'],
- 'x-internal': true
+ 'x-internal': false
},
update_digital_params: {
type: :object,
@@ -670,7 +672,7 @@ RSpec.configure do |config|
"digital[variant_id]": { type: :string, example: '123' }
},
required: ['digital[attachment]', 'digital[variant_id]'],
- 'x-internal': true
+ 'x-internal': false
},
# Digital Link
@@ -688,7 +690,7 @@ RSpec.configure do |config|
}
},
required: %w[digital_link],
- 'x-internal': true
+ 'x-internal': false
},
update_digital_link_params: {
type: :object,
@@ -703,7 +705,7 @@ RSpec.configure do |config|
}
},
required: %w[digital_link],
- 'x-internal': true
+ 'x-internal': false
},
# Line Item
@@ -723,7 +725,7 @@ RSpec.configure do |config|
}
},
required: %w[line_item],
- 'x-internal': true
+ 'x-internal': false
},
# TODO: Check these are correct.
update_line_item_params: {
@@ -738,7 +740,7 @@ RSpec.configure do |config|
}
},
required: %w[line_item],
- 'x-internal': true
+ 'x-internal': false
},
# Menu
@@ -756,7 +758,7 @@ RSpec.configure do |config|
}
},
required: %w[menu],
- 'x-internal': true
+ 'x-internal': false
},
update_menu_params: {
type: :object,
@@ -771,7 +773,7 @@ RSpec.configure do |config|
}
},
required: %w[menu],
- 'x-internal': true
+ 'x-internal': false
},
# Menu Item
@@ -796,7 +798,7 @@ RSpec.configure do |config|
},
required: %w[menu_item],
title: 'Create a Menu Item',
- 'x-internal': true
+ 'x-internal': false
},
update_menu_item_params: {
type: :object,
@@ -818,7 +820,7 @@ RSpec.configure do |config|
},
required: %w[menu_item],
title: 'Update a Menu Item',
- 'x-internal': true
+ 'x-internal': false
},
menu_item_reposition: {
type: :object,
@@ -834,7 +836,7 @@ RSpec.configure do |config|
},
required: %w[menu_item],
title: 'Reposition a Menu Item',
- 'x-internal': true
+ 'x-internal': false
},
# Option Type
@@ -853,7 +855,7 @@ RSpec.configure do |config|
}
},
required: %w[option_type],
- 'x-internal': true
+ 'x-internal': false
},
update_option_type_params: {
type: :object,
@@ -869,7 +871,7 @@ RSpec.configure do |config|
}
},
required: %w[option_type],
- 'x-internal': true
+ 'x-internal': false
},
# Option Value
@@ -888,7 +890,7 @@ RSpec.configure do |config|
}
},
required: %w[option_value],
- 'x-internal': true
+ 'x-internal': false
},
update_option_value_params: {
type: :object,
@@ -904,7 +906,7 @@ RSpec.configure do |config|
}
},
required: %w[option_value],
- 'x-internal': true
+ 'x-internal': false
},
# Order
@@ -957,7 +959,7 @@ RSpec.configure do |config|
}
},
required: %w[order],
- 'x-internal': true
+ 'x-internal': false
},
update_order_params: {
type: :object,
@@ -1008,7 +1010,7 @@ RSpec.configure do |config|
}
},
required: %w[order],
- 'x-internal': true
+ 'x-internal': false
},
# Payment Method
@@ -1039,7 +1041,7 @@ RSpec.configure do |config|
}
},
required: %w[payment_method],
- 'x-internal': true
+ 'x-internal': false
},
update_payment_method_params: {
type: :object,
@@ -1067,7 +1069,7 @@ RSpec.configure do |config|
}
},
required: %w[payment_method],
- 'x-internal': true,
+ 'x-internal': false,
title: 'Update Payment Method'
},
update_payment_method_params_bogus_gateway: {
@@ -1083,7 +1085,7 @@ RSpec.configure do |config|
}
},
required: %w[payment_method],
- 'x-internal': true,
+ 'x-internal': false,
title: 'Update Bogus Gateway'
},
@@ -1124,7 +1126,7 @@ RSpec.configure do |config|
}
},
required: %w[product],
- 'x-internal': true
+ 'x-internal': false
},
update_product_params: {
type: :object,
@@ -1161,7 +1163,7 @@ RSpec.configure do |config|
}
},
required: %w[product],
- 'x-internal': true
+ 'x-internal': false
},
# Promotion
@@ -1192,7 +1194,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Create a Promotion',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_params: {
type: :object,
@@ -1220,7 +1222,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Update a Promotion',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_add_rule_params: {
type: :object,
@@ -1244,7 +1246,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Add a Rule to a Promotion',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_update_rule_params: {
type: :object,
@@ -1269,7 +1271,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Update an existing Rule',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_add_action_params: {
type: :object,
@@ -1292,7 +1294,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Add an Action to a Promotion',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_action_calculator_params: {
type: :object,
@@ -1322,7 +1324,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Update an Action Calculator',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_change_calculator_params: {
type: :object,
@@ -1350,7 +1352,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Change an Action Calculator',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_change_action_params: {
type: :object,
@@ -1374,7 +1376,7 @@ RSpec.configure do |config|
},
required: %w[promotion],
title: 'Change an Action Type',
- 'x-internal': true
+ 'x-internal': false
},
# Promotion Action
@@ -1392,7 +1394,7 @@ RSpec.configure do |config|
},
required: %w[promotion_action],
title: 'Create a Promotion Action',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_action_params: {
type: :object,
@@ -1406,7 +1408,7 @@ RSpec.configure do |config|
},
required: %w[promotion_action],
title: 'Create a Promotion Action',
- 'x-internal': true
+ 'x-internal': false
},
# Promotion Category
@@ -1423,7 +1425,7 @@ RSpec.configure do |config|
}
},
required: %w[promotion_category],
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_category_params: {
type: :object,
@@ -1438,7 +1440,7 @@ RSpec.configure do |config|
}
},
required: %w[promotion_category],
- 'x-internal': true
+ 'x-internal': false
},
# Promotion Rule
@@ -1456,7 +1458,7 @@ RSpec.configure do |config|
},
required: %w[promotion_rule],
title: 'Create a Promotion Rule',
- 'x-internal': true
+ 'x-internal': false
},
update_promotion_rule_params: {
type: :object,
@@ -1470,7 +1472,7 @@ RSpec.configure do |config|
},
required: %w[promotion_rule],
title: 'Create a Promotion Rule',
- 'x-internal': true
+ 'x-internal': false
},
# Role
@@ -1486,7 +1488,7 @@ RSpec.configure do |config|
}
},
required: %w[zone],
- 'x-internal': true
+ 'x-internal': false
},
update_role_params: {
type: :object,
@@ -1499,7 +1501,7 @@ RSpec.configure do |config|
}
},
required: %w[zone],
- 'x-internal': true
+ 'x-internal': false
},
# Shopment
@@ -1518,7 +1520,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
update_shipment_params: {
type: :object,
@@ -1531,7 +1533,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
add_item_shipment_params: {
type: :object,
@@ -1546,7 +1548,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
remove_item_shipment_params: {
type: :object,
@@ -1561,7 +1563,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
# Shipping Category
create_shipping_category_params: {
@@ -1576,7 +1578,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
update_shipping_category_params: {
type: :object,
@@ -1590,7 +1592,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_category],
- 'x-internal': true
+ 'x-internal': false
},
# Shipping Method
@@ -1622,7 +1624,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_method],
- 'x-internal': true
+ 'x-internal': false
},
update_shipping_method_params: {
type: :object,
@@ -1651,7 +1653,7 @@ RSpec.configure do |config|
}
},
required: %w[shipping_method],
- 'x-internal': true
+ 'x-internal': false
},
shipping_calculator_params: {
type: :object,
@@ -1659,7 +1661,7 @@ RSpec.configure do |config|
type: { type: :string, example: 'Spree::Calculator::Shipping::FlatPercentItemTotal', enum: ['Spree::Calculator::Shipping::DigitalDelivery', 'Spree::Calculator::Shipping::FlatPercentItemTotal', 'Spree::Calculator::Shipping::FlatRate', 'Spree::Calculator::Shipping::FlexiRate', 'Spree::Calculator::Shipping::PerItem', 'Spree::Calculator::Shipping::PriceSack'] }
},
required: %w[type],
- 'x-internal': true
+ 'x-internal': false
},
# Stock Item
@@ -1678,7 +1680,7 @@ RSpec.configure do |config|
}
},
required: %w[stock_item],
- 'x-internal': true
+ 'x-internal': false
},
update_stock_item_params: {
type: :object,
@@ -1695,7 +1697,7 @@ RSpec.configure do |config|
}
},
required: %w[stock_item],
- 'x-internal': true
+ 'x-internal': false
},
# Stock Location
@@ -1724,7 +1726,7 @@ RSpec.configure do |config|
}
},
required: %w[stock_location],
- 'x-internal': true
+ 'x-internal': false
},
update_stock_location_params: {
type: :object,
@@ -1751,7 +1753,7 @@ RSpec.configure do |config|
}
},
required: %w[stock_location],
- 'x-internal': true
+ 'x-internal': false
},
# Store Credit Category
@@ -1767,7 +1769,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit_category],
- 'x-internal': true
+ 'x-internal': false
},
update_store_credit_category_params: {
type: :object,
@@ -1781,7 +1783,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit_category],
- 'x-internal': true
+ 'x-internal': false
},
# Store Credit Type
@@ -1798,7 +1800,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit_type],
- 'x-internal': true
+ 'x-internal': false
},
update_store_credit_type_params: {
type: :object,
@@ -1812,7 +1814,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit_type],
- 'x-internal': true
+ 'x-internal': false
},
# Store Credit
@@ -1841,7 +1843,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit],
- 'x-internal': true
+ 'x-internal': false
},
update_store_credit_params: {
type: :object,
@@ -1868,7 +1870,7 @@ RSpec.configure do |config|
}
},
required: %w[store_credit],
- 'x-internal': true
+ 'x-internal': false
},
# Tax Category
@@ -1887,7 +1889,7 @@ RSpec.configure do |config|
}
},
required: %w[tax_category],
- 'x-internal': true
+ 'x-internal': false
},
update_tax_category_params: {
type: :object,
@@ -1904,7 +1906,7 @@ RSpec.configure do |config|
}
},
required: %w[tax_category],
- 'x-internal': true
+ 'x-internal': false
},
# Tax Rate
@@ -1935,7 +1937,7 @@ RSpec.configure do |config|
}
},
required: %w[tax_rate],
- 'x-internal': true
+ 'x-internal': false
},
update_tax_rate_params: {
type: :object,
@@ -1964,7 +1966,7 @@ RSpec.configure do |config|
}
},
required: %w[tax_rate],
- 'x-internal': true
+ 'x-internal': false
},
# Taxon
@@ -1984,7 +1986,7 @@ RSpec.configure do |config|
}
},
required: %w[taxon],
- 'x-internal': true
+ 'x-internal': false
},
update_taxon_params: {
type: :object,
@@ -2001,7 +2003,7 @@ RSpec.configure do |config|
}
},
required: %w[taxon],
- 'x-internal': true
+ 'x-internal': false
},
taxon_reposition: {
type: :object,
@@ -2017,7 +2019,7 @@ RSpec.configure do |config|
},
required: %w[taxon],
title: 'Reposition a Taxon',
- 'x-internal': true
+ 'x-internal': false
},
# Taxonomies
@@ -2036,7 +2038,7 @@ RSpec.configure do |config|
}
},
required: %w[taxonomy],
- 'x-internal': true
+ 'x-internal': false
},
update_taxonomy_params: {
type: :object,
@@ -2052,7 +2054,7 @@ RSpec.configure do |config|
}
},
required: %w[taxonomy],
- 'x-internal': true
+ 'x-internal': false
},
# User
@@ -2076,7 +2078,7 @@ RSpec.configure do |config|
}
},
required: %w[user],
- 'x-internal': true
+ 'x-internal': false
},
update_user_params: {
type: :object,
@@ -2097,7 +2099,7 @@ RSpec.configure do |config|
}
},
required: %w[user],
- 'x-internal': true
+ 'x-internal': false
},
# Webhook
@@ -2124,7 +2126,7 @@ RSpec.configure do |config|
}
},
required: %w[subscriber],
- 'x-internal': true
+ 'x-internal': false
},
update_webhook_subscriber_params: {
type: :object,
@@ -2149,7 +2151,7 @@ RSpec.configure do |config|
}
},
required: %w[subscriber],
- 'x-internal': true
+ 'x-internal': false
},
# Wishlist
@@ -2168,7 +2170,7 @@ RSpec.configure do |config|
}
},
required: %w[wishlist],
- 'x-internal': true
+ 'x-internal': false
},
update_wishlist_params: {
type: :object,
@@ -2184,7 +2186,7 @@ RSpec.configure do |config|
}
},
required: %w[wishlist],
- 'x-internal': true
+ 'x-internal': false
},
# Wished Item
@@ -2205,7 +2207,7 @@ RSpec.configure do |config|
}
},
required: %w[wished_item],
- 'x-internal': true
+ 'x-internal': false
},
update_wished_item_params: {
type: :object,
@@ -2224,7 +2226,7 @@ RSpec.configure do |config|
}
},
required: %w[wished_item],
- 'x-internal': true
+ 'x-internal': false
},
# Zones
@@ -2243,7 +2245,7 @@ RSpec.configure do |config|
}
},
required: %w[zone],
- 'x-internal': true
+ 'x-internal': false
},
update_zone_params: {
type: :object,
@@ -2259,7 +2261,7 @@ RSpec.configure do |config|
}
},
required: %w[zone],
- 'x-internal': true
+ 'x-internal': false
},
# Nested Parameters
@@ -2268,7 +2270,7 @@ RSpec.configure do |config|
properties: {
amount: { type: :number }
},
- 'x-internal': true
+ 'x-internal': false
},
coupon_code_param: {
@@ -2276,7 +2278,7 @@ RSpec.configure do |config|
properties: {
coupon_code: { type: :string }
},
- 'x-internal': true
+ 'x-internal': false
},
resources_list: {
type: :object,
@@ -2311,7 +2313,7 @@ RSpec.configure do |config|
}
},
required: %w[data meta links],
- 'x-internal': true
+ 'x-internal': false
},
resource_properties: {
type: :object,
@@ -2322,7 +2324,7 @@ RSpec.configure do |config|
relationships: { type: :object }
},
required: %w[id type attributes],
- 'x-internal': true
+ 'x-internal': false
},
resource: {
type: :object,
@@ -2330,7 +2332,7 @@ RSpec.configure do |config|
data: { '$ref' => '#/components/schemas/resource_properties' },
},
required: %w[data],
- 'x-internal': true
+ 'x-internal': false
},
error: {
type: :object,
@@ -2338,7 +2340,7 @@ RSpec.configure do |config|
error: { type: :string },
},
required: %w[error],
- 'x-internal': true
+ 'x-internal': false
},
validation_errors: {
type: :object,
@@ -2347,7 +2349,7 @@ RSpec.configure do |config|
errors: { type: :object }
},
required: %w[error errors],
- 'x-internal': true
+ 'x-internal': false
}
}
}