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.

Remove unused routes and actions from Platform API (#11479)

Matthew Kennedy88082ee307d0
diff --git a/api/app/controllers/spree/api/v2/platform/classifications_controller.rb b/api/app/controllers/spree/api/v2/platform/classifications_controller.rb
index 61bf775b0d..2101859145 100644
--- a/api/app/controllers/spree/api/v2/platform/classifications_controller.rb
+++ b/api/app/controllers/spree/api/v2/platform/classifications_controller.rb
@@ -3,21 +3,6 @@ module Spree
module V2
module Platform
class ClassificationsController < ResourceController
- def reposition
- spree_authorize! :update, resource if spree_current_user.present?
-
- result = classification_reposition_service.call(
- classification: resource,
- position: permitted_resource_params[:position]
- )
-
- if result.success?
- render_serialized_payload { serialize_resource(result.value) }
- else
- render_error_payload(result.error)
- end
- end
-
private
def model_class
@@ -27,13 +12,9 @@ module Spree
def scope_includes
[
taxon: [],
- product: [:variants_including_master, :variant_images, :master, variants: [:prices]]
+ product: [:variants_including_master, :variant_images, :master, { variants: [:prices] }]
]
end
-
- def classification_reposition_service
- Spree::Dependencies.classification_reposition_service.constantize
- end
end
end
end
diff --git a/api/config/routes.rb b/api/config/routes.rb
index 7329094be9..277a66fc74 100644
--- a/api/config/routes.rb
+++ b/api/config/routes.rb
@@ -204,11 +204,7 @@ Spree::Core::Engine.add_routes do
resources :products
resources :taxonomies
resources :taxons
- resources :classifications do
- member do
- patch :reposition
- end
- end
+ resources :classifications
resources :images
resources :variants
resources :properties
@@ -289,11 +285,7 @@ Spree::Core::Engine.add_routes do
end
# CMS Pages API
- resources :cms_pages do
- member do
- patch :toggle_visibility
- end
- end
+ resources :cms_pages
# CMS Sections API
resources :cms_sections
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index 79a908d3a2..e0a2bce853 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: '2021-11-09T11:27:13.437Z'
- updated_at: '2021-11-09T11:27:13.437Z'
+ created_at: '2021-11-09T23:56:41.427Z'
+ updated_at: '2021-11-09T23:56:41.427Z'
deleted_at:
label:
public_metadata: {}
@@ -100,8 +100,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-09T11:27:13.443Z'
- updated_at: '2021-11-09T11:27:13.443Z'
+ created_at: '2021-11-09T23:56:41.431Z'
+ updated_at: '2021-11-09T23:56:41.431Z'
deleted_at:
label:
public_metadata: {}
@@ -177,8 +177,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-09T11:27:13.798Z'
- updated_at: '2021-11-09T11:27:13.798Z'
+ created_at: '2021-11-09T23:56:41.672Z'
+ updated_at: '2021-11-09T23:56:41.672Z'
deleted_at:
label:
public_metadata: {}
@@ -274,8 +274,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-09T11:27:13.878Z'
- updated_at: '2021-11-09T11:27:13.878Z'
+ created_at: '2021-11-09T23:56:41.719Z'
+ updated_at: '2021-11-09T23:56:41.719Z'
deleted_at:
label:
public_metadata: {}
@@ -356,8 +356,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-09T11:27:13.978Z'
- updated_at: '2021-11-09T11:27:13.994Z'
+ created_at: '2021-11-09T23:56:41.854Z'
+ updated_at: '2021-11-09T23:56:41.862Z'
deleted_at:
label:
public_metadata: {}
@@ -503,8 +503,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-09T11:27:14.324Z'
- updated_at: '2021-11-09T11:27:14.324Z'
+ created_at: '2021-11-09T23:56:42.123Z'
+ updated_at: '2021-11-09T23:56:42.123Z'
state: open
included: false
display_amount: "$100.00"
@@ -530,8 +530,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-09T11:27:14.351Z'
- updated_at: '2021-11-09T11:27:14.351Z'
+ created_at: '2021-11-09T23:56:42.146Z'
+ updated_at: '2021-11-09T23:56:42.146Z'
state: open
included: false
display_amount: "$100.00"
@@ -604,8 +604,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-09T11:27:14.740Z'
- updated_at: '2021-11-09T11:27:14.740Z'
+ created_at: '2021-11-09T23:56:42.495Z'
+ updated_at: '2021-11-09T23:56:42.495Z'
state: open
included: false
display_amount: "$100.00"
@@ -687,8 +687,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-09T11:27:14.955Z'
- updated_at: '2021-11-09T11:27:14.983Z'
+ created_at: '2021-11-09T23:56:42.613Z'
+ updated_at: '2021-11-09T23:56:42.617Z'
state: open
included: false
display_amount: "$1.00"
@@ -766,8 +766,8 @@ paths:
label: New label
mandatory:
eligible: true
- created_at: '2021-11-09T11:27:15.317Z'
- updated_at: '2021-11-09T11:27:15.335Z'
+ created_at: '2021-11-09T23:56:42.820Z'
+ updated_at: '2021-11-09T23:56:42.834Z'
state: open
included: false
display_amount: "$15.00"
@@ -907,8 +907,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-09T11:27:16.235Z'
- updated_at: '2021-11-09T11:27:16.235Z'
+ created_at: '2021-11-09T23:56:43.389Z'
+ updated_at: '2021-11-09T23:56:43.389Z'
relationships:
product:
data:
@@ -922,8 +922,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-09T11:27:16.339Z'
- updated_at: '2021-11-09T11:27:16.339Z'
+ created_at: '2021-11-09T23:56:43.471Z'
+ updated_at: '2021-11-09T23:56:43.471Z'
relationships:
product:
data:
@@ -984,8 +984,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-09T11:27:17.064Z'
- updated_at: '2021-11-09T11:27:17.064Z'
+ created_at: '2021-11-09T23:56:43.942Z'
+ updated_at: '2021-11-09T23:56:43.942Z'
relationships:
product:
data:
@@ -1052,8 +1052,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-09T11:27:17.303Z'
- updated_at: '2021-11-09T11:27:17.303Z'
+ created_at: '2021-11-09T23:56:44.119Z'
+ updated_at: '2021-11-09T23:56:44.119Z'
relationships:
product:
data:
@@ -1119,8 +1119,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-09T11:27:17.788Z'
- updated_at: '2021-11-09T11:27:17.788Z'
+ created_at: '2021-11-09T23:56:44.439Z'
+ updated_at: '2021-11-09T23:56:44.439Z'
relationships:
product:
data:
@@ -1207,90 +1207,6 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
- "/api/v2/platform/classifications/{id}/reposition":
- patch:
- summary: Reposition a Classification
- tags:
- - Classifications
- security:
- - bearer_auth: []
- operationId: reposition-classification
- description: Reposition a Classification
- 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: product,taxon
- schema:
- type: string
- responses:
- '200':
- description: Record updated
- content:
- application/vnd.api+json:
- examples:
- Example:
- value:
- data:
- id: '13'
- type: classification
- attributes:
- position: 2
- created_at: '2021-11-09T11:27:18.969Z'
- updated_at: '2021-11-09T11:27:18.998Z'
- relationships:
- product:
- data:
- id: '21'
- type: product
- taxon:
- data:
- id: '26'
- type: taxon
- schema:
- "$ref": "#/components/schemas/resource"
- '422':
- description: Invalid request
- content:
- application/vnd.api+json:
- examples:
- Example:
- value:
- error: is not a number
- errors: {}
- schema:
- "$ref": "#/components/schemas/validation_errors"
- '404':
- description: Record not found
- content:
- application/vnd.api+json:
- examples:
- Example:
- value:
- error: The resource you were looking for could not be found.
- schema:
- "$ref": "#/components/schemas/error"
- '401':
- description: Authentication Failed
- content:
- application/vnd.api+json:
- examples:
- Example:
- value:
- error: The access token is invalid
- schema:
- "$ref": "#/components/schemas/error"
- requestBody:
- content:
- application/json:
- schema:
- "$ref": "#/components/schemas/update_classification_params"
"/api/v2/platform/cms_pages":
get:
summary: Return a list of CMS Pages
@@ -1348,35 +1264,34 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Recusandae officia maiores suscipit quibusdam id.
+ title: Neque voluptate delectus dolore dignissimos cum.
meta_title:
content:
meta_description:
visible: true
- slug: recusandae-officia-maiores-suscipit-quibusdam-id
+ slug: neque-voluptate-delectus-dolore-dignissimos-cum
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-09T11:27:19.531Z'
- updated_at: '2021-11-09T11:27:19.531Z'
+ created_at: '2021-11-09T23:56:45.146Z'
+ updated_at: '2021-11-09T23:56:45.146Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Velit voluptatum a provident iste temporibus ratione
- quia perspiciatis.
+ title: Ipsa expedita assumenda modi eligendi voluptas beatae.
meta_title:
content:
meta_description:
visible: true
- slug: velit-voluptatum-a-provident-iste-temporibus-ratione-quia-perspiciatis
+ slug: ipsa-expedita-assumenda-modi-eligendi-voluptas-beatae
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-09T11:27:19.536Z'
- updated_at: '2021-11-09T11:27:19.536Z'
+ created_at: '2021-11-09T23:56:45.150Z'
+ updated_at: '2021-11-09T23:56:45.150Z'
relationships:
cms_sections:
data: []
@@ -1430,17 +1345,17 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Eius sunt tenetur eaque unde nemo occaecati quaerat.
+ title: At et dolorem nobis inventore.
meta_title:
content:
meta_description:
visible: true
- slug: eius-sunt-tenetur-eaque-unde-nemo-occaecati-quaerat
+ slug: at-et-dolorem-nobis-inventore
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-09T11:27:19.659Z'
- updated_at: '2021-11-09T11:27:19.659Z'
+ created_at: '2021-11-09T23:56:45.238Z'
+ updated_at: '2021-11-09T23:56:45.238Z'
relationships:
cms_sections:
data: []
@@ -1506,18 +1421,18 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Fugiat molestiae aspernatur aliquid facere impedit
- odit commodi.
+ title: Assumenda eaque consequuntur voluptatibus cumque ducimus
+ eum ut laudantium.
meta_title:
content:
meta_description:
visible: true
- slug: fugiat-molestiae-aspernatur-aliquid-facere-impedit-odit-commodi
+ slug: assumenda-eaque-consequuntur-voluptatibus-cumque-ducimus-eum-ut-laudantium
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-09T11:27:19.727Z'
- updated_at: '2021-11-09T11:27:19.727Z'
+ created_at: '2021-11-09T23:56:45.282Z'
+ updated_at: '2021-11-09T23:56:45.282Z'
relationships:
cms_sections:
data: []
@@ -1581,12 +1496,12 @@ paths:
content:
meta_description:
visible: true
- slug: quo-aspernatur-occaecati-ex-debitis-numquam-veniam-ratione
+ slug: sequi-dicta-vel-ex-odio
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-09T11:27:19.834Z'
- updated_at: '2021-11-09T11:27:19.857Z'
+ created_at: '2021-11-09T23:56:45.351Z'
+ updated_at: '2021-11-09T23:56:45.359Z'
relationships:
cms_sections:
data: []
@@ -1715,7 +1630,7 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Accusamus expedita vel aut asperiores fugit.
+ name: Commodi exercitationem quia autem maxime labore ab.
content: {}
settings:
gutters: No Gutters
@@ -1724,8 +1639,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-11-09T11:27:20.135Z'
- updated_at: '2021-11-09T11:27:20.135Z'
+ created_at: '2021-11-09T23:56:45.540Z'
+ updated_at: '2021-11-09T23:56:45.540Z'
relationships:
cms_page:
data:
@@ -1736,7 +1651,8 @@ paths:
- id: '2'
type: cms_section
attributes:
- name: Iure quidem reprehenderit minima quisquam fugiat.
+ name: Omnis voluptates inventore maxime autem officiis accusamus
+ incidunt corporis.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1748,8 +1664,8 @@ paths:
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2021-11-09T11:27:20.139Z'
- updated_at: '2021-11-09T11:27:20.139Z'
+ created_at: '2021-11-09T23:56:45.544Z'
+ updated_at: '2021-11-09T23:56:45.544Z'
relationships:
cms_page:
data:
@@ -1760,7 +1676,7 @@ paths:
- id: '3'
type: cms_section
attributes:
- name: Amet aperiam possimus harum aliquam sequi omnis.
+ name: Fuga tempore iure porro sequi reiciendis sint.
content: {}
settings:
gutters: No Gutters
@@ -1769,8 +1685,8 @@ paths:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-11-09T11:27:20.154Z'
- updated_at: '2021-11-09T11:27:20.154Z'
+ created_at: '2021-11-09T23:56:45.552Z'
+ updated_at: '2021-11-09T23:56:45.552Z'
relationships:
cms_page:
data:
@@ -1781,7 +1697,7 @@ paths:
- id: '4'
type: cms_section
attributes:
- name: Ratione molestiae sapiente non optio.
+ name: Officia tenetur dolor fuga recusandae perferendis minus.
content: {}
settings:
gutters: No Gutters
@@ -1790,8 +1706,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-09T11:27:20.166Z'
- updated_at: '2021-11-09T11:27:20.166Z'
+ created_at: '2021-11-09T23:56:45.559Z'
+ updated_at: '2021-11-09T23:56:45.559Z'
relationships:
cms_page:
data:
@@ -1799,12 +1715,12 @@ paths:
type: cms_page
linked_resource:
data:
- id: '24'
+ id: '21'
type: product
- id: '5'
type: cms_section
attributes:
- name: Minima quaerat nulla explicabo odio consequuntur tempora.
+ name: Aliquam eveniet eius harum veniam totam temporibus ipsam.
content: {}
settings:
gutters: No Gutters
@@ -1813,8 +1729,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-11-09T11:27:20.178Z'
- updated_at: '2021-11-09T11:27:20.178Z'
+ created_at: '2021-11-09T23:56:45.566Z'
+ updated_at: '2021-11-09T23:56:45.566Z'
relationships:
cms_page:
data:
@@ -1822,7 +1738,7 @@ paths:
type: cms_page
linked_resource:
data:
- id: '24'
+ id: '21'
type: product
meta:
count: 5
@@ -1874,8 +1790,8 @@ paths:
id: '13'
type: cms_section
attributes:
- name: Eos consequatur quia provident animi dolores asperiores
- eveniet.
+ name: Delectus sunt necessitatibus similique molestias tempore
+ aperiam praesentium architecto.
content: {}
settings:
gutters: No Gutters
@@ -1884,8 +1800,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-11-09T11:27:20.416Z'
- updated_at: '2021-11-09T11:27:20.416Z'
+ created_at: '2021-11-09T23:56:45.722Z'
+ updated_at: '2021-11-09T23:56:45.722Z'
relationships:
cms_page:
data:
@@ -1893,7 +1809,7 @@ paths:
type: cms_page
linked_resource:
data:
- id: '26'
+ id: '23'
type: product
schema:
"$ref": "#/components/schemas/resource"
@@ -1960,7 +1876,7 @@ paths:
id: '19'
type: cms_section
attributes:
- name: Vitae optio voluptas tempora eveniet quidem minus.
+ name: Aspernatur sequi odit earum dolor fugiat nostrum a.
content: {}
settings:
gutters: No Gutters
@@ -1969,8 +1885,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-09T11:27:20.606Z'
- updated_at: '2021-11-09T11:27:20.606Z'
+ created_at: '2021-11-09T23:56:45.861Z'
+ updated_at: '2021-11-09T23:56:45.861Z'
relationships:
cms_page:
data:
@@ -1978,7 +1894,7 @@ paths:
type: cms_page
linked_resource:
data:
- id: '28'
+ id: '25'
type: product
schema:
"$ref": "#/components/schemas/resource"
@@ -2044,8 +1960,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Product
- created_at: '2021-11-09T11:27:20.905Z'
- updated_at: '2021-11-09T11:27:20.921Z'
+ created_at: '2021-11-09T23:56:46.068Z'
+ updated_at: '2021-11-09T23:56:46.078Z'
relationships:
cms_page:
data:
@@ -2053,7 +1969,7 @@ paths:
type: cms_page
linked_resource:
data:
- id: '31'
+ id: '28'
type: product
schema:
"$ref": "#/components/schemas/resource"
@@ -2156,7 +2072,7 @@ paths:
Example:
value:
data:
- - id: '76'
+ - id: '72'
type: country
attributes:
iso_name: UNITED STATES
@@ -2165,13 +2081,13 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-11-09T11:27:21.545Z'
+ updated_at: '2021-11-09T23:56:46.519Z'
zipcode_required: true
- created_at: '2021-11-09T11:27:21.545Z'
+ created_at: '2021-11-09T23:56:46.519Z'
relationships:
states:
data: []
- - id: '77'
+ - id: '73'
type: country
attributes:
iso_name: ISO_NAME_2
@@ -2180,13 +2096,13 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-11-09T11:27:21.553Z'
+ updated_at: '2021-11-09T23:56:46.525Z'
zipcode_required: true
- created_at: '2021-11-09T11:27:21.553Z'
+ created_at: '2021-11-09T23:56:46.525Z'
relationships:
states:
data: []
- - id: '78'
+ - id: '74'
type: country
attributes:
iso_name: ISO_NAME_3
@@ -2195,9 +2111,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-11-09T11:27:21.556Z'
+ updated_at: '2021-11-09T23:56:46.527Z'
zipcode_required: true
- created_at: '2021-11-09T11:27:21.556Z'
+ created_at: '2021-11-09T23:56:46.527Z'
relationships:
states:
data: []
@@ -2247,7 +2163,7 @@ paths:
Example:
value:
data:
- id: '83'
+ id: '79'
type: country
attributes:
iso_name: ISO_NAME_6
@@ -2256,9 +2172,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-11-09T11:27:21.642Z'
+ updated_at: '2021-11-09T23:56:46.584Z'
zipcode_required: true
- created_at: '2021-11-09T11:27:21.642Z'
+ created_at: '2021-11-09T23:56:46.584Z'
relationships:
states:
data: []
@@ -2316,7 +2232,7 @@ paths:
- id: '1'
type: digital_link
attributes:
- token: 8zjcPXtzfvc4ViNjeXa2jjFk
+ token: fAzRWjAMn8ifG2u43Ri6oe7s
access_counter: 0
relationships:
digital:
@@ -2330,7 +2246,7 @@ paths:
- id: '2'
type: digital_link
attributes:
- token: 1meiSdDM3YkWrgjGeseDzj4V
+ token: TJfpEqmjbhYE6Lim7QET4GR3
access_counter: 0
relationships:
digital:
@@ -2384,7 +2300,7 @@ paths:
id: '5'
type: digital_link
attributes:
- token: sg2GGb3yMWYrVJ4C1Vcdx3Q9
+ token: VsDzjmHbtSsNBsf2BZR7PLk5
access_counter: 0
relationships:
digital:
@@ -2447,7 +2363,7 @@ paths:
id: '6'
type: digital_link
attributes:
- token: ZudXzDxVutNErAQ9X2Xg2Aok
+ token: 7NdT14eDdhACCKTgpKp2nibf
access_counter: 0
relationships:
digital:
@@ -2506,7 +2422,7 @@ paths:
id: '8'
type: digital_link
attributes:
- token: zwFyXZiqS5K5BiMUxFL2SWnd
+ token: 389CrhJ8eAfjSZH6yTr6L6Hy
access_counter: 0
relationships:
digital:
@@ -2621,7 +2537,7 @@ paths:
id: '13'
type: digital_link
attributes:
- token: EvYHmkSBso7N6tcrfhVZPvcE
+ token: 2uDWudoQyr8aXgNLTzKk3AB4
access_counter: 0
relationships:
digital:
@@ -2693,38 +2609,38 @@ paths:
- id: '15'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--701ae780376392414d9704ab5feaa4b7b07bbed0/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f2bb0cd9e7fcaf02463c520e5d67ff6f613c596b/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
relationships:
variant:
data:
- id: '83'
+ id: '80'
type: variant
- id: '16'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a7d6a346de3752133562932dc78fc2f57e99a44c/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--10a02cada6913a97c9b10c868f168e26fd511761/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
relationships:
variant:
data:
- id: '85'
+ id: '82'
type: variant
- id: '17'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--cd0782876e24081b695d7c16f189b9198fa72cf9/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1350160a1d0d368f6695399016b6c2ea184d848c/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
relationships:
variant:
data:
- id: '87'
+ id: '84'
type: variant
meta:
count: 3
@@ -2776,14 +2692,14 @@ paths:
id: '24'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c091ad058b64b28185e27504184824f05baaec94/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4c7eb07e914d9370b082b0b18c86863b9774d5cd/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
relationships:
variant:
data:
- id: '97'
+ id: '94'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -2841,14 +2757,14 @@ paths:
id: '28'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--5431da7a0278300936fd7e12d54b32e613ee1fef/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e059efa344a4c56225fa969415bc85bd585e8bce/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
relationships:
variant:
data:
- id: '115'
+ id: '112'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -2905,14 +2821,14 @@ paths:
id: '36'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d7c5d4107925478f2fc4a43d819ea233f65bfbd5/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--49936c5afe009ff04396baf9a118fba564b0b401/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
relationships:
variant:
data:
- id: '137'
+ id: '134'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -3038,8 +2954,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-09T11:27:33.359Z'
- updated_at: '2021-11-09T11:27:33.370Z'
+ created_at: '2021-11-09T23:56:54.108Z'
+ updated_at: '2021-11-09T23:56:54.117Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3070,11 +2986,11 @@ paths:
type: order
tax_category:
data:
- id: '73'
+ id: '70'
type: tax_category
variant:
data:
- id: '186'
+ id: '183'
type: variant
adjustments:
data: []
@@ -3087,8 +3003,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-09T11:27:33.415Z'
- updated_at: '2021-11-09T11:27:33.422Z'
+ created_at: '2021-11-09T23:56:54.153Z'
+ updated_at: '2021-11-09T23:56:54.158Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3119,11 +3035,11 @@ paths:
type: order
tax_category:
data:
- id: '73'
+ id: '70'
type: tax_category
variant:
data:
- id: '187'
+ id: '184'
type: variant
adjustments:
data: []
@@ -3183,8 +3099,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-09T11:27:33.740Z'
- updated_at: '2021-11-09T11:27:33.787Z'
+ created_at: '2021-11-09T23:56:54.389Z'
+ updated_at: '2021-11-09T23:56:54.439Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3215,11 +3131,11 @@ paths:
type: order
tax_category:
data:
- id: '75'
+ id: '72'
type: tax_category
variant:
data:
- id: '190'
+ id: '187'
type: variant
adjustments:
data: []
@@ -3288,8 +3204,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-09T11:27:34.002Z'
- updated_at: '2021-11-09T11:27:34.011Z'
+ created_at: '2021-11-09T23:56:54.587Z'
+ updated_at: '2021-11-09T23:56:54.594Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3320,11 +3236,11 @@ paths:
type: order
tax_category:
data:
- id: '76'
+ id: '73'
type: tax_category
variant:
data:
- id: '191'
+ id: '188'
type: variant
adjustments:
data: []
@@ -3389,8 +3305,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-11-09T11:27:34.342Z'
- updated_at: '2021-11-09T11:27:34.396Z'
+ created_at: '2021-11-09T23:56:54.832Z'
+ updated_at: '2021-11-09T23:56:54.872Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3421,11 +3337,11 @@ paths:
type: order
tax_category:
data:
- id: '78'
+ id: '75'
type: tax_category
variant:
data:
- id: '195'
+ id: '192'
type: variant
adjustments:
data: []
@@ -3442,10 +3358,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #130 - 5339" is not available.'
+ error: 'Quantity selected of "Product #127 - 350" is not available.'
errors:
quantity:
- - 'selected of "Product #130 - 5339" is not available.'
+ - 'selected of "Product #127 - 350" is not available.'
schema:
"$ref": "#/components/schemas/validation_errors"
'404':
@@ -3565,8 +3481,8 @@ paths:
lft: 2
rgt: 3
depth: 1
- created_at: '2021-11-09T11:27:35.256Z'
- updated_at: '2021-11-09T11:27:35.263Z'
+ created_at: '2021-11-09T23:56:55.495Z'
+ updated_at: '2021-11-09T23:56:55.500Z'
link:
is_container: false
is_root: false
@@ -3575,7 +3491,7 @@ paths:
relationships:
icon:
data:
- id: '16'
+ id: '13'
type: icon
menu:
data:
@@ -3602,8 +3518,8 @@ paths:
lft: 4
rgt: 5
depth: 1
- created_at: '2021-11-09T11:27:35.348Z'
- updated_at: '2021-11-09T11:27:35.354Z'
+ created_at: '2021-11-09T23:56:55.553Z'
+ updated_at: '2021-11-09T23:56:55.558Z'
link:
is_container: false
is_root: false
@@ -3612,7 +3528,7 @@ paths:
relationships:
icon:
data:
- id: '17'
+ id: '14'
type: icon
menu:
data:
@@ -3639,8 +3555,8 @@ paths:
lft: 6
rgt: 7
depth: 1
- created_at: '2021-11-09T11:27:35.440Z'
- updated_at: '2021-11-09T11:27:35.446Z'
+ created_at: '2021-11-09T23:56:55.610Z'
+ updated_at: '2021-11-09T23:56:55.615Z'
link:
is_container: false
is_root: false
@@ -3649,7 +3565,7 @@ paths:
relationships:
icon:
data:
- id: '18'
+ id: '15'
type: icon
menu:
data:
@@ -3676,8 +3592,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-09T11:27:35.537Z'
- updated_at: '2021-11-09T11:27:35.544Z'
+ created_at: '2021-11-09T23:56:55.667Z'
+ updated_at: '2021-11-09T23:56:55.672Z'
link:
is_container: false
is_root: false
@@ -3686,7 +3602,7 @@ paths:
relationships:
icon:
data:
- id: '19'
+ id: '16'
type: icon
menu:
data:
@@ -3713,8 +3629,8 @@ paths:
lft: 10
rgt: 11
depth: 1
- created_at: '2021-11-09T11:27:35.627Z'
- updated_at: '2021-11-09T11:27:35.633Z'
+ created_at: '2021-11-09T23:56:55.724Z'
+ updated_at: '2021-11-09T23:56:55.728Z'
link:
is_container: false
is_root: false
@@ -3723,7 +3639,7 @@ paths:
relationships:
icon:
data:
- id: '20'
+ id: '17'
type: icon
menu:
data:
@@ -3750,8 +3666,8 @@ paths:
lft: 12
rgt: 13
depth: 1
- created_at: '2021-11-09T11:27:35.718Z'
- updated_at: '2021-11-09T11:27:35.724Z'
+ created_at: '2021-11-09T23:56:55.781Z'
+ updated_at: '2021-11-09T23:56:55.786Z'
link:
is_container: false
is_root: false
@@ -3760,7 +3676,7 @@ paths:
relationships:
icon:
data:
- id: '21'
+ id: '18'
type: icon
menu:
data:
@@ -3787,8 +3703,8 @@ paths:
lft: 14
rgt: 15
depth: 1
- created_at: '2021-11-09T11:27:35.808Z'
- updated_at: '2021-11-09T11:27:35.814Z'
+ created_at: '2021-11-09T23:56:55.848Z'
+ updated_at: '2021-11-09T23:56:55.852Z'
link:
is_container: false
is_root: false
@@ -3797,7 +3713,7 @@ paths:
relationships:
icon:
data:
- id: '22'
+ id: '19'
type: icon
menu:
data:
@@ -3814,7 +3730,7 @@ paths:
- id: '1'
type: menu_item
attributes:
- name: Pariatur dolore molestiae animi iure impedit itaque.
+ name: Veritatis atque numquam eius modi.
subtitle:
destination:
new_window: false
@@ -3824,8 +3740,8 @@ paths:
lft: 1
rgt: 16
depth: 0
- created_at: '2021-11-09T11:27:35.169Z'
- updated_at: '2021-11-09T11:27:35.826Z'
+ created_at: '2021-11-09T23:56:55.433Z'
+ updated_at: '2021-11-09T23:56:55.863Z'
link:
is_container: true
is_root: true
@@ -3918,8 +3834,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-09T11:27:36.927Z'
- updated_at: '2021-11-09T11:27:36.933Z'
+ created_at: '2021-11-09T23:56:56.545Z'
+ updated_at: '2021-11-09T23:56:56.549Z'
link:
is_container: false
is_root: false
@@ -4009,8 +3925,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-09T11:27:37.641Z'
- updated_at: '2021-11-09T11:27:37.647Z'
+ created_at: '2021-11-09T23:56:57.004Z'
+ updated_at: '2021-11-09T23:56:57.009Z'
link:
is_container: false
is_root: false
@@ -4019,7 +3935,7 @@ paths:
relationships:
icon:
data:
- id: '39'
+ id: '36'
type: icon
menu:
data:
@@ -4098,8 +4014,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-09T11:27:38.810Z'
- updated_at: '2021-11-09T11:27:38.847Z'
+ created_at: '2021-11-09T23:56:57.757Z'
+ updated_at: '2021-11-09T23:56:57.810Z'
link:
is_container: false
is_root: false
@@ -4108,7 +4024,7 @@ paths:
relationships:
icon:
data:
- id: '50'
+ id: '47'
type: icon
menu:
data:
@@ -4236,8 +4152,8 @@ paths:
lft: 5
rgt: 6
depth: 2
- created_at: '2021-11-09T11:27:41.566Z'
- updated_at: '2021-11-09T11:27:41.601Z'
+ created_at: '2021-11-09T23:56:59.547Z'
+ updated_at: '2021-11-09T23:56:59.575Z'
link:
is_container: false
is_root: false
@@ -4246,7 +4162,7 @@ paths:
relationships:
icon:
data:
- id: '76'
+ id: '73'
type: icon
menu:
data:
@@ -4341,8 +4257,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-09T11:27:42.398Z'
- updated_at: '2021-11-09T11:27:42.587Z'
+ created_at: '2021-11-09T23:57:00.071Z'
+ updated_at: '2021-11-09T23:57:00.191Z'
relationships:
menu_items:
data:
@@ -4358,8 +4274,8 @@ paths:
name: Footer Menu
location: footer
locale: en
- created_at: '2021-11-09T11:27:42.411Z'
- updated_at: '2021-11-09T11:27:42.768Z'
+ created_at: '2021-11-09T23:57:00.080Z'
+ updated_at: '2021-11-09T23:57:00.306Z'
relationships:
menu_items:
data:
@@ -4422,8 +4338,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-09T11:27:43.285Z'
- updated_at: '2021-11-09T11:27:43.293Z'
+ created_at: '2021-11-09T23:57:00.639Z'
+ updated_at: '2021-11-09T23:57:00.645Z'
relationships:
menu_items:
data:
@@ -4491,8 +4407,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-09T11:27:43.365Z'
- updated_at: '2021-11-09T11:27:43.373Z'
+ created_at: '2021-11-09T23:57:00.698Z'
+ updated_at: '2021-11-09T23:57:00.704Z'
relationships:
menu_items:
data:
@@ -4556,8 +4472,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-09T11:27:43.487Z'
- updated_at: '2021-11-09T11:27:43.495Z'
+ created_at: '2021-11-09T23:57:00.782Z'
+ updated_at: '2021-11-09T23:57:00.788Z'
relationships:
menu_items:
data:
@@ -4692,8 +4608,8 @@ paths:
name: foo-size-68
presentation: Size
position: 1
- created_at: '2021-11-09T11:27:43.775Z'
- updated_at: '2021-11-09T11:27:43.775Z'
+ created_at: '2021-11-09T23:57:00.985Z'
+ updated_at: '2021-11-09T23:57:00.985Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4706,8 +4622,8 @@ paths:
name: foo-size-69
presentation: Size
position: 2
- created_at: '2021-11-09T11:27:43.777Z'
- updated_at: '2021-11-09T11:27:43.777Z'
+ created_at: '2021-11-09T23:57:00.987Z'
+ updated_at: '2021-11-09T23:57:00.987Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4760,8 +4676,8 @@ paths:
name: foo-size-72
presentation: Size
position: 1
- created_at: '2021-11-09T11:27:43.874Z'
- updated_at: '2021-11-09T11:27:43.874Z'
+ created_at: '2021-11-09T23:57:01.046Z'
+ updated_at: '2021-11-09T23:57:01.046Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4820,8 +4736,8 @@ paths:
name: foo-size-73
presentation: Size
position: 1
- created_at: '2021-11-09T11:27:43.938Z'
- updated_at: '2021-11-09T11:27:43.938Z'
+ created_at: '2021-11-09T23:57:01.085Z'
+ updated_at: '2021-11-09T23:57:01.085Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4879,8 +4795,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2021-11-09T11:27:44.032Z'
- updated_at: '2021-11-09T11:27:44.043Z'
+ created_at: '2021-11-09T23:57:01.152Z'
+ updated_at: '2021-11-09T23:57:01.159Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -5018,8 +4934,8 @@ paths:
position: 1
name: Size-68
presentation: S
- created_at: '2021-11-09T11:27:44.263Z'
- updated_at: '2021-11-09T11:27:44.263Z'
+ created_at: '2021-11-09T23:57:01.306Z'
+ updated_at: '2021-11-09T23:57:01.306Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5033,8 +4949,8 @@ paths:
position: 1
name: Size-69
presentation: S
- created_at: '2021-11-09T11:27:44.270Z'
- updated_at: '2021-11-09T11:27:44.270Z'
+ created_at: '2021-11-09T23:57:01.312Z'
+ updated_at: '2021-11-09T23:57:01.312Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5095,8 +5011,8 @@ paths:
position: 1
name: Size-72
presentation: S
- created_at: '2021-11-09T11:27:44.367Z'
- updated_at: '2021-11-09T11:27:44.367Z'
+ created_at: '2021-11-09T23:57:01.384Z'
+ updated_at: '2021-11-09T23:57:01.384Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5161,8 +5077,8 @@ paths:
position: 1
name: Size-73
presentation: S
- created_at: '2021-11-09T11:27:44.438Z'
- updated_at: '2021-11-09T11:27:44.438Z'
+ created_at: '2021-11-09T23:57:01.426Z'
+ updated_at: '2021-11-09T23:57:01.426Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5228,8 +5144,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2021-11-09T11:27:44.540Z'
- updated_at: '2021-11-09T11:27:44.553Z'
+ created_at: '2021-11-09T23:57:01.501Z'
+ updated_at: '2021-11-09T23:57:01.510Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5359,7 +5275,7 @@ paths:
- id: '40'
type: order
attributes:
- number: R628635020
+ number: R178499118
item_total: '0.0'
total: '0.0'
state: cart
@@ -5368,10 +5284,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:44.803Z'
- updated_at: '2021-11-09T11:27:44.803Z'
+ created_at: '2021-11-09T23:57:01.683Z'
+ updated_at: '2021-11-09T23:57:01.683Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5445,7 +5361,7 @@ paths:
- id: '41'
type: order
attributes:
- number: R369818473
+ number: R034856049
item_total: '0.0'
total: '0.0'
state: cart
@@ -5454,10 +5370,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:44.815Z'
- updated_at: '2021-11-09T11:27:44.815Z'
+ created_at: '2021-11-09T23:57:01.692Z'
+ updated_at: '2021-11-09T23:57:01.692Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5578,7 +5494,7 @@ paths:
id: '44'
type: order
attributes:
- number: R888296862
+ number: R694795089
item_total: '0.0'
total: '0.0'
state: cart
@@ -5589,8 +5505,8 @@ paths:
payment_state:
email:
special_instructions:
- created_at: '2021-11-09T11:27:45.197Z'
- updated_at: '2021-11-09T11:27:45.214Z'
+ created_at: '2021-11-09T23:57:02.087Z'
+ updated_at: '2021-11-09T23:57:02.108Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5706,7 +5622,7 @@ paths:
id: '45'
type: order
attributes:
- number: R740967002
+ number: R148416261
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5715,10 +5631,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:45.273Z'
- updated_at: '2021-11-09T11:27:45.455Z'
+ created_at: '2021-11-09T23:57:02.156Z'
+ updated_at: '2021-11-09T23:57:02.321Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5850,7 +5766,7 @@ paths:
id: '47'
type: order
attributes:
- number: R935822382
+ number: R649246297
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5861,8 +5777,8 @@ paths:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:45.718Z'
- updated_at: '2021-11-09T11:27:45.860Z'
+ created_at: '2021-11-09T23:57:02.507Z'
+ updated_at: '2021-11-09T23:57:02.607Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6050,7 +5966,7 @@ paths:
id: '52'
type: order
attributes:
- number: R744586058
+ number: R749444009
item_total: '10.0'
total: '110.0'
state: payment
@@ -6059,10 +5975,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:46.688Z'
- updated_at: '2021-11-09T11:27:46.875Z'
+ created_at: '2021-11-09T23:57:03.193Z'
+ updated_at: '2021-11-09T23:57:03.336Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6197,7 +6113,7 @@ paths:
id: '54'
type: order
attributes:
- number: R837753886
+ number: R703841968
item_total: '10.0'
total: '110.0'
state: payment
@@ -6206,10 +6122,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:47.144Z'
- updated_at: '2021-11-09T11:27:47.315Z'
+ created_at: '2021-11-09T23:57:03.528Z'
+ updated_at: '2021-11-09T23:57:03.661Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6344,19 +6260,19 @@ paths:
id: '56'
type: order
attributes:
- number: R763839038
+ number: R494605514
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-11-09T11:27:47.869Z'
+ completed_at: '2021-11-09T23:57:04.059Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2021-11-09T11:27:47.567Z'
- updated_at: '2021-11-09T11:27:47.869Z'
+ created_at: '2021-11-09T23:57:03.832Z'
+ updated_at: '2021-11-09T23:57:04.059Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6502,7 +6418,7 @@ paths:
id: '59'
type: order
attributes:
- number: R943944715
+ number: R430110849
item_total: '0.0'
total: '0.0'
state: cart
@@ -6511,10 +6427,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:48.479Z'
- updated_at: '2021-11-09T11:27:48.625Z'
+ created_at: '2021-11-09T23:57:04.372Z'
+ updated_at: '2021-11-09T23:57:04.475Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -6644,7 +6560,7 @@ paths:
id: '61'
type: order
attributes:
- number: R531982411
+ number: R721242686
item_total: '10.0'
total: '110.0'
state: delivery
@@ -6653,10 +6569,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-09T11:27:48.876Z'
- updated_at: '2021-11-09T11:27:48.997Z'
+ created_at: '2021-11-09T23:57:04.653Z'
+ updated_at: '2021-11-09T23:57:04.732Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6959,8 +6875,8 @@ paths:
display_on: both
auto_capture:
position: 1
- created_at: '2021-11-09T11:27:51.177Z'
- updated_at: '2021-11-09T11:27:51.177Z'
+ created_at: '2021-11-09T23:57:06.329Z'
+ updated_at: '2021-11-09T23:57:06.329Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6968,7 +6884,7 @@ paths:
relationships:
stores:
data:
- - id: '291'
+ - id: '287'
type: store
- id: '13'
type: payment_method
@@ -6980,8 +6896,8 @@ paths:
display_on: both
auto_capture:
position: 2
- created_at: '2021-11-09T11:27:51.187Z'
- updated_at: '2021-11-09T11:27:51.187Z'
+ created_at: '2021-11-09T23:57:06.336Z'
+ updated_at: '2021-11-09T23:57:06.336Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6989,7 +6905,7 @@ paths:
relationships:
stores:
data:
- - id: '291'
+ - id: '287'
type: store
- id: '14'
type: payment_method
@@ -7001,8 +6917,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-09T11:27:51.193Z'
- updated_at: '2021-11-09T11:27:51.193Z'
+ created_at: '2021-11-09T23:57:06.339Z'
+ updated_at: '2021-11-09T23:57:06.339Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7010,7 +6926,7 @@ paths:
relationships:
stores:
data:
- - id: '291'
+ - id: '287'
type: store
- id: '15'
type: payment_method
@@ -7022,8 +6938,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-09T11:27:51.198Z'
- updated_at: '2021-11-09T11:27:51.198Z'
+ created_at: '2021-11-09T23:57:06.342Z'
+ updated_at: '2021-11-09T23:57:06.342Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7034,7 +6950,7 @@ paths:
relationships:
stores:
data:
- - id: '291'
+ - id: '287'
type: store
- id: '16'
type: payment_method
@@ -7046,8 +6962,8 @@ paths:
display_on: both
auto_capture:
position: 5
- created_at: '2021-11-09T11:27:51.204Z'
- updated_at: '2021-11-09T11:27:51.204Z'
+ created_at: '2021-11-09T23:57:06.346Z'
+ updated_at: '2021-11-09T23:57:06.346Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7058,7 +6974,7 @@ paths:
relationships:
stores:
data:
- - id: '291'
+ - id: '287'
type: store
meta:
count: 5
@@ -7117,8 +7033,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-09T11:27:51.383Z'
- updated_at: '2021-11-09T11:27:51.383Z'
+ created_at: '2021-11-09T23:57:06.462Z'
+ updated_at: '2021-11-09T23:57:06.462Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7129,9 +7045,9 @@ paths:
relationships:
stores:
data:
- - id: '295'
+ - id: '291'
type: store
- - id: '296'
+ - id: '292'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -7194,8 +7110,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-09T11:27:51.510Z'
- updated_at: '2021-11-09T11:27:51.510Z'
+ created_at: '2021-11-09T23:57:06.548Z'
+ updated_at: '2021-11-09T23:57:06.548Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7206,7 +7122,7 @@ paths:
relationships:
stores:
data:
- - id: '299'
+ - id: '295'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -7270,8 +7186,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-09T11:27:51.693Z'
- updated_at: '2021-11-09T11:27:51.707Z'
+ created_at: '2021-11-09T23:57:06.667Z'
+ updated_at: '2021-11-09T23:57:06.677Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7282,7 +7198,7 @@ paths:
relationships:
stores:
data:
- - id: '305'
+ - id: '301'
type: store
schema:
"$ref": "#/components/schemas/resource"
@@ -7419,9 +7335,9 @@ paths:
state: invalid
response_code: '12345'
avs_response:
- created_at: '2021-11-09T11:27:52.145Z'
- updated_at: '2021-11-09T11:27:52.171Z'
- number: PRZBNPR1
+ created_at: '2021-11-09T23:57:06.970Z'
+ updated_at: '2021-11-09T23:57:06.987Z'
+ number: P8K4CTQ4
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7458,9 +7374,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-09T11:27:52.166Z'
- updated_at: '2021-11-09T11:27:52.166Z'
- number: PEHEBTK3
+ created_at: '2021-11-09T23:57:06.984Z'
+ updated_at: '2021-11-09T23:57:06.984Z'
+ number: PXN1DXE3
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7548,9 +7464,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-09T11:27:52.400Z'
- updated_at: '2021-11-09T11:27:52.400Z'
- number: PPAX2BOI
+ created_at: '2021-11-09T23:57:07.160Z'
+ updated_at: '2021-11-09T23:57:07.160Z'
+ number: PSK0QVKD
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7688,8 +7604,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-09T11:27:52.742Z'
- updated_at: '2021-11-09T11:27:52.742Z'
+ created_at: '2021-11-09T23:57:07.466Z'
+ updated_at: '2021-11-09T23:57:07.466Z'
code: POP123
relationships:
promotions:
@@ -7698,8 +7614,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-09T11:27:52.743Z'
- updated_at: '2021-11-09T11:27:52.743Z'
+ created_at: '2021-11-09T23:57:07.468Z'
+ updated_at: '2021-11-09T23:57:07.468Z'
code: POP123
relationships:
promotions:
@@ -7755,8 +7671,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-09T11:27:52.829Z'
- updated_at: '2021-11-09T11:27:52.829Z'
+ created_at: '2021-11-09T23:57:07.533Z'
+ updated_at: '2021-11-09T23:57:07.533Z'
code: 2021-BFM
relationships:
promotions:
@@ -7816,8 +7732,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-09T11:27:52.895Z'
- updated_at: '2021-11-09T11:27:52.895Z'
+ created_at: '2021-11-09T23:57:07.572Z'
+ updated_at: '2021-11-09T23:57:07.572Z'
code: MJO
relationships:
promotions:
@@ -7878,8 +7794,8 @@ paths:
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2021-11-09T11:27:52.992Z'
- updated_at: '2021-11-09T11:27:53.001Z'
+ created_at: '2021-11-09T23:57:07.632Z'
+ updated_at: '2021-11-09T23:57:07.638Z'
code: 2021-Promos
relationships:
promotions:
@@ -8000,14 +7916,14 @@ paths:
type: role
attributes:
name: 'Role #1'
- created_at: '2021-11-09T11:27:53.207Z'
- updated_at: '2021-11-09T11:27:53.207Z'
+ created_at: '2021-11-09T23:57:07.777Z'
+ updated_at: '2021-11-09T23:57:07.777Z'
- id: '2'
type: role
attributes:
name: 'Role #2'
- created_at: '2021-11-09T11:27:53.209Z'
- updated_at: '2021-11-09T11:27:53.209Z'
+ created_at: '2021-11-09T23:57:07.779Z'
+ updated_at: '2021-11-09T23:57:07.779Z'
meta:
count: 2
total_count: 2
@@ -8052,8 +7968,8 @@ paths:
type: role
attributes:
name: 'Role #5'
- created_at: '2021-11-09T11:27:53.296Z'
- updated_at: '2021-11-09T11:27:53.296Z'
+ created_at: '2021-11-09T23:57:07.838Z'
+ updated_at: '2021-11-09T23:57:07.838Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -8102,8 +8018,8 @@ paths:
type: role
attributes:
name: 'Role #6'
- created_at: '2021-11-09T11:27:53.355Z'
- updated_at: '2021-11-09T11:27:53.355Z'
+ created_at: '2021-11-09T23:57:07.876Z'
+ updated_at: '2021-11-09T23:57:07.876Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -8153,8 +8069,8 @@ paths:
type: role
attributes:
name: administrator
- created_at: '2021-11-09T11:27:53.455Z'
- updated_at: '2021-11-09T11:27:53.463Z'
+ created_at: '2021-11-09T23:57:07.936Z'
+ updated_at: '2021-11-09T23:57:07.942Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -8278,12 +8194,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H44064496615
+ number: H93477714125
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-09T11:27:53.690Z'
- updated_at: '2021-11-09T11:27:53.695Z'
+ created_at: '2021-11-09T23:57:08.096Z'
+ updated_at: '2021-11-09T23:57:08.099Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8294,8 +8210,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$0.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$0.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8307,7 +8223,7 @@ paths:
data:
stock_location:
data:
- id: '127'
+ id: '124'
type: stock_location
adjustments:
data: []
@@ -8327,12 +8243,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H74585843112
+ number: H75646381625
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-09T11:27:53.734Z'
- updated_at: '2021-11-09T11:27:53.739Z'
+ created_at: '2021-11-09T23:57:08.126Z'
+ updated_at: '2021-11-09T23:57:08.129Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8343,8 +8259,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$0.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$0.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8356,7 +8272,7 @@ paths:
data:
stock_location:
data:
- id: '128'
+ id: '125'
type: stock_location
adjustments:
data: []
@@ -8429,12 +8345,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H91252351044
+ number: H39778775516
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-09T11:27:54.164Z'
- updated_at: '2021-11-09T11:27:54.190Z'
+ created_at: '2021-11-09T23:57:08.431Z'
+ updated_at: '2021-11-09T23:57:08.447Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8445,8 +8361,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8458,7 +8374,7 @@ paths:
data:
stock_location:
data:
- id: '133'
+ id: '130'
type: stock_location
adjustments:
data: []
@@ -8570,12 +8486,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H24297189907
+ number: H21502683923
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-09T11:27:55.366Z'
- updated_at: '2021-11-09T11:27:55.413Z'
+ created_at: '2021-11-09T23:57:09.292Z'
+ updated_at: '2021-11-09T23:57:09.326Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8586,8 +8502,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8599,7 +8515,7 @@ paths:
data:
stock_location:
data:
- id: '145'
+ id: '142'
type: stock_location
adjustments:
data: []
@@ -8676,12 +8592,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H62964635302
+ number: H71704568413
cost: '100.0'
- shipped_at: '2021-11-09T11:27:56.037Z'
+ shipped_at: '2021-11-09T23:57:09.765Z'
state: shipped
- created_at: '2021-11-09T11:27:55.991Z'
- updated_at: '2021-11-09T11:27:56.037Z'
+ created_at: '2021-11-09T23:57:09.731Z'
+ updated_at: '2021-11-09T23:57:09.765Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8692,8 +8608,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8705,7 +8621,7 @@ paths:
data:
stock_location:
data:
- id: '151'
+ id: '148'
type: stock_location
adjustments:
data: []
@@ -8782,12 +8698,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H35894389626
+ number: H75329874586
cost: '100.0'
shipped_at:
state: canceled
- created_at: '2021-11-09T11:27:56.625Z'
- updated_at: '2021-11-09T11:27:56.664Z'
+ created_at: '2021-11-09T23:57:10.186Z'
+ updated_at: '2021-11-09T23:57:10.214Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8798,8 +8714,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8811,7 +8727,7 @@ paths:
data:
stock_location:
data:
- id: '157'
+ id: '154'
type: stock_location
adjustments:
data: []
@@ -8888,12 +8804,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H04749971676
+ number: H47978443448
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-09T11:27:57.270Z'
- updated_at: '2021-11-09T11:27:57.312Z'
+ created_at: '2021-11-09T23:57:10.642Z'
+ updated_at: '2021-11-09T23:57:10.673Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8904,8 +8820,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -8917,7 +8833,7 @@ paths:
data:
stock_location:
data:
- id: '163'
+ id: '160'
type: stock_location
adjustments:
data: []
@@ -8994,12 +8910,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H18373719662
+ number: H34318742301
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-09T11:27:57.902Z'
- updated_at: '2021-11-09T11:27:57.940Z'
+ created_at: '2021-11-09T23:57:11.093Z'
+ updated_at: '2021-11-09T23:57:11.119Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9010,8 +8926,8 @@ paths:
public_metadata: {}
private_metadata: {}
display_cost: "$100.00"
- display_item_cost: "$10.00"
display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
relationships:
@@ -9023,7 +8939,7 @@ paths:
data:
stock_location:
data:
- id: '169'
+ id: '166'
type: stock_location
adjustments:
data: []
@@ -9100,18 +9016,18 @@ paths:
Example:
value:
data:
- - id: '116'
+ - id: '113'
type: shipping_category
attributes:
- name: 'ShippingCategory #116'
- created_at: '2021-11-09T11:27:58.303Z'
- updated_at: '2021-11-09T11:27:58.303Z'
- - id: '117'
+ name: 'ShippingCategory #113'
+ created_at: '2021-11-09T23:57:11.369Z'
+ updated_at: '2021-11-09T23:57:11.369Z'
+ - id: '114'
type: shipping_category
attributes:
- name: 'ShippingCategory #117'
- created_at: '2021-11-09T11:27:58.304Z'
- updated_at: '2021-11-09T11:27:58.304Z'
+ name: 'ShippingCategory #114'
+ created_at: '2021-11-09T23:57:11.370Z'
+ updated_at: '2021-11-09T23:57:11.370Z'
meta:
count: 2
total_count: 2
@@ -9152,12 +9068,12 @@ paths:
Example:
value:
data:
- id: '120'
+ id: '117'
type: shipping_category
attributes:
- name: 'ShippingCategory #120'
- created_at: '2021-11-09T11:27:58.395Z'
- updated_at: '2021-11-09T11:27:58.395Z'
+ name: 'ShippingCategory #117'
+ created_at: '2021-11-09T23:57:11.423Z'
+ updated_at: '2021-11-09T23:57:11.423Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9202,12 +9118,12 @@ paths:
Example:
value:
data:
- id: '121'
+ id: '118'
type: shipping_category
attributes:
- name: 'ShippingCategory #121'
- created_at: '2021-11-09T11:27:58.459Z'
- updated_at: '2021-11-09T11:27:58.459Z'
+ name: 'ShippingCategory #118'
+ created_at: '2021-11-09T23:57:11.468Z'
+ updated_at: '2021-11-09T23:57:11.468Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -9253,12 +9169,12 @@ paths:
Example:
value:
data:
- id: '123'
+ id: '120'
type: shipping_category
attributes:
name: Default
- created_at: '2021-11-09T11:27:58.562Z'
- updated_at: '2021-11-09T11:27:58.571Z'
+ created_at: '2021-11-09T23:57:11.528Z'
+ updated_at: '2021-11-09T23:57:11.534Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9392,15 +9308,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-09T11:27:58.788Z'
- updated_at: '2021-11-09T11:27:58.788Z'
+ created_at: '2021-11-09T23:57:11.678Z'
+ updated_at: '2021-11-09T23:57:11.678Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '128'
+ - id: '125'
type: shipping_category
shipping_rates:
data: []
@@ -9418,15 +9334,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-09T11:27:58.802Z'
- updated_at: '2021-11-09T11:27:58.802Z'
+ created_at: '2021-11-09T23:57:11.687Z'
+ updated_at: '2021-11-09T23:57:11.687Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '128'
+ - id: '125'
type: shipping_category
shipping_rates:
data: []
@@ -9491,21 +9407,21 @@ paths:
admin_name: DHL Express- Zone A
display_on: both
tracking_url:
- created_at: '2021-11-09T11:27:58.937Z'
- updated_at: '2021-11-09T11:27:58.937Z'
+ created_at: '2021-11-09T23:57:11.772Z'
+ updated_at: '2021-11-09T23:57:11.772Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '130'
+ - id: '127'
type: shipping_category
shipping_rates:
data: []
tax_category:
data:
- id: '125'
+ id: '122'
type: tax_category
calculator:
data:
@@ -9578,15 +9494,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-09T11:27:59.015Z'
- updated_at: '2021-11-09T11:27:59.015Z'
+ created_at: '2021-11-09T23:57:11.826Z'
+ updated_at: '2021-11-09T23:57:11.826Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '131'
+ - id: '128'
type: shipping_category
shipping_rates:
data: []
@@ -9656,15 +9572,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-09T11:27:59.151Z'
- updated_at: '2021-11-09T11:27:59.172Z'
+ created_at: '2021-11-09T23:57:11.914Z'
+ updated_at: '2021-11-09T23:57:11.929Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '133'
+ - id: '130'
type: shipping_category
shipping_rates:
data: []
@@ -9821,8 +9737,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-09T11:27:59.462Z'
- updated_at: '2021-11-09T11:27:59.462Z'
+ created_at: '2021-11-09T23:57:12.125Z'
+ updated_at: '2021-11-09T23:57:12.125Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -9858,8 +9774,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-09T11:27:59.472Z'
- updated_at: '2021-11-09T11:27:59.472Z'
+ created_at: '2021-11-09T23:57:12.132Z'
+ updated_at: '2021-11-09T23:57:12.132Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -9942,8 +9858,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-09T11:27:59.613Z'
- updated_at: '2021-11-09T11:27:59.613Z'
+ created_at: '2021-11-09T23:57:12.218Z'
+ updated_at: '2021-11-09T23:57:12.218Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -10047,8 +9963,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-09T11:27:59.693Z'
- updated_at: '2021-11-09T11:27:59.693Z'
+ created_at: '2021-11-09T23:57:12.273Z'
+ updated_at: '2021-11-09T23:57:12.273Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -10136,8 +10052,8 @@ paths:
currency: CAD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-09T11:27:59.819Z'
- updated_at: '2021-11-09T11:27:59.836Z'
+ created_at: '2021-11-09T23:57:12.351Z'
+ updated_at: '2021-11-09T23:57:12.362Z'
public_metadata:
loyalty_reward: true
private_metadata: {}
@@ -10300,29 +10216,29 @@ paths:
Example:
value:
data:
- - id: '126'
+ - id: '123'
type: tax_category
attributes:
- name: TaxCategory - 706655
- description: Rerum reiciendis asperiores expedita eveniet
- veritatis fugiat.
+ name: TaxCategory - 376207
+ description: Delectus doloremque repellendus quia possimus
+ ullam facilis.
is_default: false
deleted_at:
- created_at: '2021-11-09T11:28:00.107Z'
- updated_at: '2021-11-09T11:28:00.107Z'
+ created_at: '2021-11-09T23:57:12.619Z'
+ updated_at: '2021-11-09T23:57:12.619Z'
tax_code:
relationships:
tax_rates:
data: []
- - id: '127'
+ - id: '124'
type: tax_category
attributes:
- name: TaxCategory - 83786
- description: Nobis vel vero dignissimos porro.
+ name: TaxCategory - 844054
+ description: Distinctio hic quos perspiciatis ex.
is_default: false
deleted_at:
- created_at: '2021-11-09T11:28:00.109Z'
- updated_at: '2021-11-09T11:28:00.109Z'
+ created_at: '2021-11-09T23:57:12.620Z'
+ updated_at: '2021-11-09T23:57:12.620Z'
tax_code:
relationships:
tax_rates:
@@ -10374,16 +10290,15 @@ paths:
Example:
value:
data:
- id: '130'
+ id: '127'
type: tax_category
attributes:
- name: TaxCategory - 428541
- description: Veritatis quam ullam beatae in possimus sit cumque
- consequatur.
+ name: TaxCategory - 777854
+ description: Laboriosam doloribus esse aut beatae.
is_default: false
deleted_at:
- created_at: '2021-11-09T11:28:00.192Z'
- updated_at: '2021-11-09T11:28:00.192Z'
+ created_at: '2021-11-09T23:57:12.676Z'
+ updated_at: '2021-11-09T23:57:12.676Z'
tax_code:
relationships:
tax_rates:
@@ -10439,16 +10354,15 @@ paths:
Example:
value:
data:
- id: '131'
+ id: '128'
type: tax_category
attributes:
- name: TaxCategory - 58287
- description: Possimus eaque aperiam labore suscipit cum quas
- eius.
+ name: TaxCategory - 878703
+ description: Labore necessitatibus soluta provident reprehenderit.
is_default: false
deleted_at:
- created_at: '2021-11-09T11:28:00.259Z'
- updated_at: '2021-11-09T11:28:00.259Z'
+ created_at: '2021-11-09T23:57:12.718Z'
+ updated_at: '2021-11-09T23:57:12.718Z'
tax_code:
relationships:
tax_rates:
@@ -10505,15 +10419,15 @@ paths:
Example:
value:
data:
- id: '133'
+ id: '130'
type: tax_category
attributes:
name: Clothing
description: Men's, women's and children's clothing
is_default: true
deleted_at:
- created_at: '2021-11-09T11:28:00.354Z'
- updated_at: '2021-11-09T11:28:00.364Z'
+ created_at: '2021-11-09T23:57:12.787Z'
+ updated_at: '2021-11-09T23:57:12.794Z'
tax_code: 1233K
relationships:
tax_rates:
@@ -10654,8 +10568,8 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-09T11:28:00.583Z'
- updated_at: '2021-11-09T11:28:00.583Z'
+ created_at: '2021-11-09T23:57:12.933Z'
+ updated_at: '2021-11-09T23:57:12.933Z'
name:
show_rate_in_label: true
deleted_at:
@@ -10666,15 +10580,15 @@ paths:
type: zone
tax_category:
data:
- id: '138'
+ id: '135'
type: tax_category
- id: '13'
type: tax_rate
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-09T11:28:00.589Z'
- updated_at: '2021-11-09T11:28:00.589Z'
+ created_at: '2021-11-09T23:57:12.937Z'
+ updated_at: '2021-11-09T23:57:12.937Z'
name:
show_rate_in_label: true
deleted_at:
@@ -10685,7 +10599,7 @@ paths:
type: zone
tax_category:
data:
- id: '138'
+ id: '135'
type: tax_category
meta:
count: 2
@@ -10739,8 +10653,8 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-09T11:28:00.702Z'
- updated_at: '2021-11-09T11:28:00.702Z'
+ created_at: '2021-11-09T23:57:13.007Z'
+ updated_at: '2021-11-09T23:57:13.007Z'
name:
show_rate_in_label: true
deleted_at:
@@ -10749,7 +10663,7 @@ paths:
data:
tax_category:
data:
- id: '140'
+ id: '137'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -10812,8 +10726,8 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-09T11:28:00.768Z'
- updated_at: '2021-11-09T11:28:00.768Z'
+ created_at: '2021-11-09T23:57:13.055Z'
+ updated_at: '2021-11-09T23:57:13.055Z'
name:
show_rate_in_label: true
deleted_at:
@@ -10824,7 +10738,7 @@ paths:
type: zone
tax_category:
data:
- id: '141'
+ id: '138'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -10883,8 +10797,8 @@ paths:
attributes:
amount: '25.9'
included_in_price: true
- created_at: '2021-11-09T11:28:00.881Z'
- updated_at: '2021-11-09T11:28:00.896Z'
+ created_at: '2021-11-09T23:57:13.124Z'
+ updated_at: '2021-11-09T23:57:13.133Z'
name:
show_rate_in_label: true
deleted_at:
@@ -10895,7 +10809,7 @@ paths:
type: zone
tax_category:
data:
- id: '143'
+ id: '140'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -11022,99 +10936,99 @@ paths:
Example:
value:
data:
- - id: '32'
+ - id: '26'
type: taxon
attributes:
position: 0
- name: taxon_16
- permalink: taxonomy-16/taxon-16
+ name: taxon_13
+ permalink: taxonomy-13/taxon-13
lft: 2
rgt: 3
description:
- created_at: '2021-11-09T11:28:01.238Z'
- updated_at: '2021-11-09T11:28:01.243Z'
+ created_at: '2021-11-09T23:57:13.357Z'
+ updated_at: '2021-11-09T23:57:13.361Z'
meta_title:
meta_description:
meta_keywords:
depth: 1
public_metadata: {}
private_metadata: {}
- pretty_name: taxonomy_16 -> taxon_16
- seo_title: taxon_16
+ pretty_name: taxonomy_13 -> taxon_13
+ seo_title: taxon_13
is_root: false
is_child: true
is_leaf: true
relationships:
parent:
data:
- id: '31'
+ id: '25'
type: taxon
taxonomy:
data:
- id: '16'
+ id: '13'
type: taxonomy
children:
data: []
image:
data:
- id: '92'
+ id: '89'
type: taxon_image
- - id: '33'
+ - id: '27'
type: taxon
attributes:
position: 0
- name: taxon_17
- permalink: taxonomy-16/taxon-17
+ name: taxon_14
+ permalink: taxonomy-13/taxon-14
lft: 4
rgt: 5
description:
- created_at: '2021-11-09T11:28:01.328Z'
- updated_at: '2021-11-09T11:28:01.333Z'
+ created_at: '2021-11-09T23:57:13.415Z'
+ updated_at: '2021-11-09T23:57:13.419Z'
meta_title:
meta_description:
meta_keywords:
depth: 1
public_metadata: {}
private_metadata: {}
- pretty_name: taxonomy_16 -> taxon_17
- seo_title: taxon_17
+ pretty_name: taxonomy_13 -> taxon_14
+ seo_title: taxon_14
is_root: false
is_child: true
is_leaf: true
relationships:
parent:
data:
- id: '31'
+ id: '25'
type: taxon
taxonomy:
data:
- id: '16'
+ id: '13'
type: taxonomy
children:
data: []
image:
data:
- id: '93'
+ id: '90'
type: taxon_image
- - id: '31'
+ - id: '25'
type: taxon
attributes:
position: 0
- name: taxonomy_16
- permalink: taxonomy-16
+ name: taxonomy_13
+ permalink: taxonomy-13
lft: 1
rgt: 6
description:
- created_at: '2021-11-09T11:28:01.149Z'
- updated_at: '2021-11-09T11:28:01.347Z'
+ created_at: '2021-11-09T23:57:13.297Z'
+ updated_at: '2021-11-09T23:57:13.429Z'
meta_title:
meta_description:
meta_keywords:
depth: 0
public_metadata: {}
private_metadata: {}
- pretty_name: taxonomy_16
- seo_title: taxonomy_16
+ pretty_name: taxonomy_13
+ seo_title: taxonomy_13
is_root: true
is_child: false
is_leaf: false
@@ -11123,13 +11037,13 @@ paths:
data:
taxonomy:
data:
- id: '16'
+ id: '13'
type: taxonomy
children:
data:
- - id: '32'
+ - id: '26'
type: taxon
- - id: '33'
+ - id: '27'
type: taxon
image:
data:
@@ -11180,36 +11094,36 @@ paths:
Example:
value:
data:
- id: '38'
+ id: '32'
type: taxon
attributes:
position: 0
- name: taxon_20
- permalink: taxonomy-18/taxon-20
+ name: taxon_17
+ permalink: taxonomy-15/taxon-17
lft: 2
rgt: 3
description:
- created_at: '2021-11-09T11:28:01.717Z'
- updated_at: '2021-11-09T11:28:01.723Z'
+ created_at: '2021-11-09T23:57:13.668Z'
+ updated_at: '2021-11-09T23:57:13.673Z'
meta_title:
meta_description:
meta_keywords:
depth: 1
public_metadata: {}
private_metadata: {}
- pretty_name: taxonomy_18 -> taxon_20
- seo_title: taxon_20
+ pretty_name: taxonomy_15 -> taxon_17
+ seo_title: taxon_17
is_root: false
is_child: true
is_leaf: true
relationships:
parent:
data:
- id: '37'
+ id: '31'
type: taxon
taxonomy:
data:
- id: '18'
+ id: '15'
type: taxonomy
children:
data: []
@@ -11268,36 +11182,36 @@ paths:
Example:
value:
data:
- id: '40'
+ id: '34'
type: taxon
attributes:
position: 0
- name: taxon_21
- permalink: taxonomy-19/taxon-21
+ name: taxon_18
+ permalink: taxonomy-16/taxon-18
lft: 2
rgt: 3
description:
- created_at: '2021-11-09T11:28:01.895Z'
- updated_at: '2021-11-09T11:28:01.900Z'
+ created_at: '2021-11-09T23:57:13.785Z'
+ updated_at: '2021-11-09T23:57:13.789Z'
meta_title:
meta_description:
meta_keywords:
depth: 1
public_metadata: {}
private_metadata: {}
- pretty_name: taxonomy_19 -> taxon_21
- seo_title: taxon_21
+ pretty_name: taxonomy_16 -> taxon_18
+ seo_title: taxon_18
is_root: false
is_child: true
is_leaf: true
relationships:
parent:
data:
- id: '39'
+ id: '33'
type: taxon
taxonomy:
data:
- id: '19'
+ id: '16'
type: taxonomy
children:
data: []
@@ -11305,7 +11219,7 @@ paths:
data: []
image:
data:
- id: '96'
+ id: '93'
type: taxon_image
schema:
"$ref": "#/components/schemas/resource"
@@ -11359,17 +11273,17 @@ paths:
Example:
value:
data:
- id: '44'
+ id: '38'
type: taxon
attributes:
position: 0
name: T-Shirts
- permalink: taxonomy-21/taxon-23
+ permalink: taxonomy-18/taxon-20
lft: 2
rgt: 3
description:
- created_at: '2021-11-09T11:28:02.255Z'
- updated_at: '2021-11-09T11:28:02.291Z'
+ created_at: '2021-11-09T23:57:14.020Z'
+ updated_at: '2021-11-09T23:57:14.046Z'
meta_title:
meta_description:
meta_keywords:
@@ -11377,7 +11291,7 @@ paths:
public_metadata:
profitability: 3
private_metadata: {}
- pretty_name: taxonomy_21 -> T-Shirts
+ pretty_name: taxonomy_18 -> T-Shirts
seo_title: T-Shirts
is_root: false
is_child: true
@@ -11385,17 +11299,17 @@ paths:
relationships:
parent:
data:
- id: '43'
+ id: '37'
type: taxon
taxonomy:
data:
- id: '21'
+ id: '18'
type: taxonomy
children:
data: []
image:
data:
- id: '98'
+ id: '95'
type: taxon_image
schema:
"$ref": "#/components/schemas/resource"
@@ -11525,9 +11439,9 @@ paths:
- id: '119'
type: user
attributes:
- created_at: '2021-11-09T11:28:03.062Z'
- updated_at: '2021-11-09T11:28:03.062Z'
+ created_at: '2021-11-09T23:57:14.545Z'
+ updated_at: '2021-11-09T23:57:14.545Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11541,9 +11455,9 @@ paths:
- id: '120'
type: user
attributes:
- created_at: '2021-11-09T11:28:03.070Z'
- updated_at: '2021-11-09T11:28:03.070Z'
+ created_at: '2021-11-09T23:57:14.551Z'
+ updated_at: '2021-11-09T23:57:14.551Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11557,9 +11471,9 @@ paths:
- id: '121'
type: user
attributes:
- created_at: '2021-11-09T11:28:03.073Z'
- updated_at: '2021-11-09T11:28:03.073Z'
+ created_at: '2021-11-09T23:57:14.552Z'
+ updated_at: '2021-11-09T23:57:14.552Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11620,9 +11534,9 @@ paths:
id: '126'
type: user
attributes:
- created_at: '2021-11-09T11:28:03.364Z'
- updated_at: '2021-11-09T11:28:03.364Z'
+ created_at: '2021-11-09T23:57:14.637Z'
+ updated_at: '2021-11-09T23:57:14.637Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11687,9 +11601,9 @@ paths:
id: '129'
type: user
attributes:
- created_at: '2021-11-09T11:28:03.454Z'
- updated_at: '2021-11-09T11:28:03.454Z'
+ created_at: '2021-11-09T23:57:14.690Z'
+ updated_at: '2021-11-09T23:57:14.690Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11756,8 +11670,8 @@ paths:
type: user
attributes:
- created_at: '2021-11-09T11:28:03.579Z'
- updated_at: '2021-11-09T11:28:03.591Z'
+ created_at: '2021-11-09T23:57:14.774Z'
+ updated_at: '2021-11-09T23:57:14.782Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -11893,10 +11807,10 @@ paths:
Example:
value:
data:
- - id: '248'
+ - id: '245'
type: variant
attributes:
- sku: SKU-248
+ sku: SKU-245
weight: '0.0'
height:
depth:
@@ -11906,14 +11820,14 @@ paths:
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-09T11:28:03.915Z'
+ updated_at: '2021-11-09T23:57:15.014Z'
discontinue_on:
- created_at: '2021-11-09T11:28:03.907Z'
+ created_at: '2021-11-09T23:57:15.009Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 9861'
+ name: 'Product #178 - 2473'
options_text: ''
total_on_hand: 0
purchasable: true
@@ -11926,7 +11840,7 @@ paths:
relationships:
product:
data:
- id: '181'
+ id: '178'
type: product
tax_category:
data:
@@ -11938,33 +11852,33 @@ paths:
data: []
stock_items:
data:
- - id: '303'
+ - id: '300'
type: stock_item
stock_locations:
data:
- - id: '173'
+ - id: '170'
type: stock_location
- - id: '249'
+ - id: '246'
type: variant
attributes:
- sku: SKU-249
- weight: '170.69'
- height: '59.95'
- depth: '16.92'
+ sku: SKU-246
+ weight: '23.92'
+ height: '165.4'
+ depth: '143.16'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-09T11:28:03.953Z'
+ updated_at: '2021-11-09T23:57:15.043Z'
discontinue_on:
- created_at: '2021-11-09T11:28:03.944Z'
+ created_at: '2021-11-09T23:57:15.037Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 9861'
+ name: 'Product #178 - 2473'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -11977,7 +11891,7 @@ paths:
relationships:
product:
data:
- id: '181'
+ id: '178'
type: product
tax_category:
data:
@@ -11991,33 +11905,33 @@ paths:
type: option_value
stock_items:
data:
- - id: '304'
+ - id: '301'
type: stock_item
stock_locations:
data:
- - id: '173'
+ - id: '170'
type: stock_location
- - id: '250'
+ - id: '247'
type: variant
attributes:
- sku: SKU-250
- weight: '4.39'
- height: '107.73'
- depth: '58.55'
+ sku: SKU-247
+ weight: '146.14'
+ height: '4.2'
+ depth: '159.41'
deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-09T11:28:03.979Z'
+ updated_at: '2021-11-09T23:57:15.062Z'
discontinue_on:
- created_at: '2021-11-09T11:28:03.970Z'
+ created_at: '2021-11-09T23:57:15.056Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #181 - 9861'
+ name: 'Product #178 - 2473'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -12030,7 +11944,7 @@ paths:
relationships:
product:
data:
- id: '181'
+ id: '178'
type: product
tax_category:
data:
@@ -12044,11 +11958,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '305'
+ - id: '302'
type: stock_item
stock_locations:
data:
- - id: '173'
+ - id: '170'
type: stock_location
meta:
count: 3
@@ -12103,27 +12017,27 @@ paths:
Example:
value:
data:
- id: '255'
+ id: '252'
type: variant
attributes:
- sku: SKU-255
- weight: '71.32'
- height: '113.34'
- depth: '157.89'
+ sku: SKU-252
+ weight: '169.67'
+ height: '64.16'
+ depth: '100.16'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-09T11:28:04.290Z'
+ updated_at: '2021-11-09T23:57:15.285Z'
discontinue_on:
- created_at: '2021-11-09T11:28:04.281Z'
+ created_at: '2021-11-09T23:57:15.279Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #183 - 4490'
+ name: 'Product #180 - 8800'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -12136,7 +12050,7 @@ paths:
relationships:
product:
data:
- id: '183'
+ id: '180'
type: product
tax_category:
data:
@@ -12150,11 +12064,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '310'
+ - id: '307'
type: stock_item
stock_locations:
data:
- - id: '175'
+ - id: '172'
type: stock_location
schema:
"$ref": "#/components/schemas/resource"
@@ -12284,14 +12198,14 @@ paths:
- id: '1'
type: event
attributes:
- execution_time: 90994
+ execution_time: 43185
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2021-11-09T11:28:04.777Z'
- updated_at: '2021-11-09T11:28:04.777Z'
+ created_at: '2021-11-09T23:57:15.647Z'
+ updated_at: '2021-11-09T23:57:15.647Z'
relationships:
subscriber:
data:
@@ -12300,14 +12214,14 @@ paths:
- id: '2'
type: event
attributes:
- execution_time: 43449
+ execution_time: 30063
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2021-11-09T11:28:04.780Z'
- updated_at: '2021-11-09T11:28:04.780Z'
+ created_at: '2021-11-09T23:57:15.650Z'
+ updated_at: '2021-11-09T23:57:15.650Z'
relationships:
subscriber:
data:
@@ -12383,8 +12297,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-09T11:28:04.861Z'
- updated_at: '2021-11-09T11:28:04.861Z'
+ created_at: '2021-11-09T23:57:15.708Z'
+ updated_at: '2021-11-09T23:57:15.708Z'
- id: '6'
type: subscriber
attributes:
@@ -12392,8 +12306,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-09T11:28:04.862Z'
- updated_at: '2021-11-09T11:28:04.862Z'
+ created_at: '2021-11-09T23:57:15.709Z'
+ updated_at: '2021-11-09T23:57:15.709Z'
meta:
count: 2
total_count: 2
@@ -12441,8 +12355,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-09T11:28:04.953Z'
- updated_at: '2021-11-09T11:28:04.953Z'
+ created_at: '2021-11-09T23:57:15.762Z'
+ updated_at: '2021-11-09T23:57:15.762Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12497,8 +12411,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-09T11:28:05.014Z'
- updated_at: '2021-11-09T11:28:05.014Z'
+ created_at: '2021-11-09T23:57:15.804Z'
+ updated_at: '2021-11-09T23:57:15.804Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -12551,8 +12465,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-09T11:28:05.106Z'
- updated_at: '2021-11-09T11:28:05.106Z'
+ created_at: '2021-11-09T23:57:15.864Z'
+ updated_at: '2021-11-09T23:57:15.864Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -12673,61 +12587,61 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:05.507Z'
- updated_at: '2021-11-09T11:28:05.507Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.127Z'
+ updated_at: '2021-11-09T23:57:16.127Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '265'
+ id: '262'
type: variant
- id: '2'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:05.578Z'
- updated_at: '2021-11-09T11:28:05.578Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.174Z'
+ updated_at: '2021-11-09T23:57:16.174Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '267'
+ id: '264'
type: variant
- id: '3'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:05.655Z'
- updated_at: '2021-11-09T11:28:05.655Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.219Z'
+ updated_at: '2021-11-09T23:57:16.219Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '269'
+ id: '266'
type: variant
- id: '4'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:05.724Z'
- updated_at: '2021-11-09T11:28:05.724Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.265Z'
+ updated_at: '2021-11-09T23:57:16.265Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '271'
+ id: '268'
type: variant
meta:
count: 4
@@ -12780,16 +12694,16 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:06.258Z'
- updated_at: '2021-11-09T11:28:06.258Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.640Z'
+ updated_at: '2021-11-09T23:57:16.640Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '283'
+ id: '280'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -12851,16 +12765,16 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-09T11:28:06.560Z'
- updated_at: '2021-11-09T11:28:06.560Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:16.943Z'
+ updated_at: '2021-11-09T23:57:16.943Z'
display_total: "$19.99"
+ display_price: "$19.99"
price: '19.99'
total: '19.99'
relationships:
variant:
data:
- id: '289'
+ id: '286'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -12918,16 +12832,16 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2021-11-09T11:28:07.056Z'
- updated_at: '2021-11-09T11:28:07.066Z'
- display_price: "$19.99"
+ created_at: '2021-11-09T23:57:17.302Z'
+ updated_at: '2021-11-09T23:57:17.311Z'
display_total: "$59.97"
+ display_price: "$19.99"
price: '19.99'
total: '59.97'
relationships:
variant:
data:
- id: '299'
+ id: '296'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -13054,9 +12968,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-11-09T11:28:08.100Z'
- updated_at: '2021-11-09T11:28:08.100Z'
- token: KZHvb2yX7ZhfozCmisyz3hFT
+ created_at: '2021-11-09T23:57:18.033Z'
+ updated_at: '2021-11-09T23:57:18.033Z'
+ token: PKbhvETbp4hzCWVKJGaNkK8d
variant_included: false
relationships:
wished_items:
@@ -13071,9 +12985,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2021-11-09T11:28:08.103Z'
- updated_at: '2021-11-09T11:28:08.103Z'
- token: gQ3b51QMu3Z8MSm68cXNYcxe
+ created_at: '2021-11-09T23:57:18.035Z'
+ updated_at: '2021-11-09T23:57:18.035Z'
+ token: G9k6DR8mjEbeVjPSszDtu3nh
variant_included: false
relationships:
wished_items:
@@ -13135,9 +13049,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-11-09T11:28:08.781Z'
- updated_at: '2021-11-09T11:28:08.781Z'
- token: Fn3rAnHYePb9d7pB6odK2mUs
+ created_at: '2021-11-09T23:57:18.515Z'
+ updated_at: '2021-11-09T23:57:18.515Z'
+ token: pzeK8JLAqW6eJKwCp4t3GArG
variant_included: false
relationships:
wished_items:
@@ -13201,9 +13115,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-11-09T11:28:08.859Z'
- updated_at: '2021-11-09T11:28:08.859Z'
- token: 486GWKopw2VcEc6dNpa7K2dL
+ created_at: '2021-11-09T23:57:18.567Z'
+ updated_at: '2021-11-09T23:57:18.567Z'
+ token: yjFbuvsQ7xFa5idTJXFA19hA
variant_included: false
relationships:
wished_items:
@@ -13266,9 +13180,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-11-09T11:28:08.999Z'
- updated_at: '2021-11-09T11:28:09.011Z'
- token: 2VhZsBysB8EoVbTowdTcRZyi
+ created_at: '2021-11-09T23:57:18.639Z'
+ updated_at: '2021-11-09T23:57:18.647Z'
+ token: rUv8rXRVdRxEXBYTzm5wJ7i7
variant_included: false
relationships:
wished_items:
@@ -13395,12 +13309,14 @@ paths:
- id: '96'
type: zone
attributes:
- name: Praesentium odio autem iure sequi.
- description: At sunt itaque voluptatibus magni suscipit.
+ name: Iusto laborum consectetur eius corporis repudiandae
+ vel.
+ description: Quia dicta maiores ad dignissimos sapiente vero
+ illum eligendi.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-09T11:28:09.246Z'
- updated_at: '2021-11-09T11:28:09.246Z'
+ created_at: '2021-11-09T23:57:18.805Z'
+ updated_at: '2021-11-09T23:57:18.805Z'
kind: state
relationships:
zone_members:
@@ -13408,13 +13324,12 @@ paths:
- id: '97'
type: zone
attributes:
- name: Inventore blanditiis autem rem quo odio officia consectetur.
- description: Delectus maiores ea iusto nisi sequi repellat
- quo similique.
+ name: Dolores esse cumque est quam sunt fugiat maiores.
+ description: Laboriosam nulla minus neque maxime amet at.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-09T11:28:09.248Z'
- updated_at: '2021-11-09T11:28:09.248Z'
+ created_at: '2021-11-09T23:57:18.807Z'
+ updated_at: '2021-11-09T23:57:18.807Z'
kind: state
relationships:
zone_members:
@@ -13469,12 +13384,13 @@ paths:
id: '100'
type: zone
attributes:
- name: Ratione doloribus error beatae ducimus nemo sequi.
- description: Optio quidem blanditiis nisi minima.
+ name: Ad optio dolorum pariatur deserunt ducimus.
+ description: Dignissimos laboriosam occaecati nulla cum quas
+ consequatur doloremque doloribus.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-09T11:28:09.341Z'
- updated_at: '2021-11-09T11:28:09.341Z'
+ created_at: '2021-11-09T23:57:18.862Z'
+ updated_at: '2021-11-09T23:57:18.862Z'
kind: state
relationships:
zone_members:
@@ -13533,12 +13449,14 @@ paths:
id: '101'
type: zone
attributes:
- name: Assumenda asperiores cumque possimus enim.
- description: Nobis quod voluptas optio laborum fuga cupiditate.
+ name: Sapiente non itaque placeat quia blanditiis repudiandae
+ praesentium ducimus.
+ description: Possimus similique quas fuga sit officiis perferendis
+ id.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-09T11:28:09.402Z'
- updated_at: '2021-11-09T11:28:09.402Z'
+ created_at: '2021-11-09T23:57:18.905Z'
+ updated_at: '2021-11-09T23:57:18.905Z'
kind: state
relationships:
zone_members:
@@ -13602,8 +13520,8 @@ paths:
description: The zone containing all EU countries
default_tax: false
zone_members_count: 0
- created_at: '2021-11-09T11:28:09.496Z'
- updated_at: '2021-11-09T11:28:09.506Z'
+ created_at: '2021-11-09T23:57:18.967Z'
+ updated_at: '2021-11-09T23:57:18.974Z'
kind: state
relationships:
zone_members:
@@ -15607,7 +15525,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2021-11-09 11:27:12 UTC
+ example: 2021-11-09 23:56:40 UTC
bill_address_id:
type: string
example: '1'
@@ -15675,7 +15593,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2021-11-09 11:27:12 UTC
+ example: 2021-11-09 23:56:40 UTC
confirmation_delivered:
type: boolean
example: true
@@ -15746,7 +15664,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2021-11-09 11:27:12 UTC
+ example: 2021-11-09 23:56:40 UTC
bill_address_id:
type: string
example: '1'
@@ -15814,7 +15732,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2021-11-09 11:27:12 UTC
+ example: 2021-11-09 23:56:40 UTC
confirmation_delivered:
type: boolean
example: true
diff --git a/api/spec/integration/api/v2/platform/classifications_spec.rb b/api/spec/integration/api/v2/platform/classifications_spec.rb
index f2b03444c1..cb7baa3770 100644
--- a/api/spec/integration/api/v2/platform/classifications_spec.rb
+++ b/api/spec/integration/api/v2/platform/classifications_spec.rb
@@ -26,29 +26,4 @@ describe 'Classifications API', swagger: true do
end
include_examples 'CRUD examples', resource_name, options
-
- path '/api/v2/platform/classifications/{id}/reposition' do
- patch 'Reposition a Classification' do
- tags resource_name.pluralize
- security [ bearer_auth: [] ]
- operationId 'reposition-classification'
- description 'Reposition a Classification'
- consumes 'application/json'
- parameter name: :id, in: :path, type: :string
- parameter name: :classification, in: :body, schema: { '$ref' => '#/components/schemas/update_classification_params' }
- json_api_include_parameter(options[:include_example])
-
- let(:classification) { valid_update_param_value }
- let(:invalid_param_value) do
- {
- position: 'invalid'
- }
- end
-
- it_behaves_like 'record updated'
- it_behaves_like 'invalid request', :classification
- it_behaves_like 'record not found'
- it_behaves_like 'authentication failed'
- end
- end
end