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.

Fix user create (#11442)

Matthew Kennedy557ebb45e4df
diff --git a/api/app/controllers/spree/api/v2/platform/users_controller.rb b/api/app/controllers/spree/api/v2/platform/users_controller.rb
index 8a708df3ad..2368f5bd77 100644
--- a/api/app/controllers/spree/api/v2/platform/users_controller.rb
+++ b/api/app/controllers/spree/api/v2/platform/users_controller.rb
@@ -21,6 +21,10 @@ module Spree
def model_param_name
'user'
end
+
+ def spree_permitted_attributes
+ super + [:password, :password_confirmation]
+ end
end
end
end
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index 99ad4922ed..ad75e499ad 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -66,13 +66,13 @@ paths:
city: Herndon
zipcode: '35005'
phone: 555-555-0199
- state_name:
+ state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T12:26:57.866Z'
- updated_at: '2021-10-29T12:26:57.866Z'
- deleted_at:
- label:
+ created_at: '2021-10-29T13:58:40.488Z'
+ updated_at: '2021-10-29T13:58:40.488Z'
+ deleted_at:
+ label:
relationships:
country:
data:
@@ -83,7 +83,7 @@ paths:
id: '1'
type: state
user:
- data:
+ data:
- id: '2'
type: address
attributes:
@@ -94,13 +94,13 @@ paths:
city: Herndon
zipcode: '35005'
phone: 555-555-0199
- state_name:
+ state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T12:26:57.876Z'
- updated_at: '2021-10-29T12:26:57.876Z'
- deleted_at:
- label:
+ created_at: '2021-10-29T13:58:40.492Z'
+ updated_at: '2021-10-29T13:58:40.492Z'
+ deleted_at:
+ label:
relationships:
country:
data:
@@ -111,7 +111,7 @@ paths:
id: '2'
type: state
user:
- data:
+ data:
meta:
count: 2
total_count: 2
@@ -165,13 +165,13 @@ paths:
city: Herndon
zipcode: '35005'
phone: 555-555-0199
- state_name:
+ state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T12:26:58.304Z'
- updated_at: '2021-10-29T12:26:58.304Z'
- deleted_at:
- label:
+ created_at: '2021-10-29T13:58:40.698Z'
+ updated_at: '2021-10-29T13:58:40.698Z'
+ deleted_at:
+ label:
relationships:
country:
data:
@@ -256,13 +256,13 @@ paths:
city: Herndon
zipcode: '35005'
phone: 555-555-0199
- state_name:
+ state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T12:26:58.388Z'
- updated_at: '2021-10-29T12:26:58.388Z'
- deleted_at:
- label:
+ created_at: '2021-10-29T13:58:40.730Z'
+ updated_at: '2021-10-29T13:58:40.730Z'
+ deleted_at:
+ label:
relationships:
country:
data:
@@ -273,7 +273,7 @@ paths:
id: '6'
type: state
user:
- data:
+ data:
'404':
description: Record not found
content:
@@ -330,13 +330,13 @@ paths:
city: Herndon
zipcode: '35005'
phone: 555-555-0199
- state_name:
+ state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-10-29T12:26:58.547Z'
- updated_at: '2021-10-29T12:26:58.569Z'
- deleted_at:
- label:
+ created_at: '2021-10-29T13:58:40.778Z'
+ updated_at: '2021-10-29T13:58:40.786Z'
+ deleted_at:
+ label:
relationships:
country:
data:
@@ -347,7 +347,7 @@ paths:
id: '8'
type: state
user:
- data:
+ data:
'422':
description: invalid request
content:
@@ -464,10 +464,10 @@ paths:
adjustable_type: Spree::Order
amount: '100.0'
label: Shipping
- mandatory:
+ mandatory:
eligible: true
- created_at: '2021-10-29T12:26:59.015Z'
- updated_at: '2021-10-29T12:26:59.015Z'
+ created_at: '2021-10-29T13:58:41.006Z'
+ updated_at: '2021-10-29T13:58:41.006Z'
state: open
included: false
display_amount: "$100.00"
@@ -491,10 +491,10 @@ paths:
adjustable_type: Spree::Order
amount: '100.0'
label: Shipping
- mandatory:
+ mandatory:
eligible: true
- created_at: '2021-10-29T12:26:59.066Z'
- updated_at: '2021-10-29T12:26:59.066Z'
+ created_at: '2021-10-29T13:58:41.025Z'
+ updated_at: '2021-10-29T13:58:41.025Z'
state: open
included: false
display_amount: "$100.00"
@@ -561,10 +561,10 @@ paths:
adjustable_type: Spree::LineItem
amount: '100.0'
label: Shipping
- mandatory:
+ mandatory:
eligible: true
- created_at: '2021-10-29T12:26:59.619Z'
- updated_at: '2021-10-29T12:26:59.619Z'
+ created_at: '2021-10-29T13:58:41.318Z'
+ updated_at: '2021-10-29T13:58:41.318Z'
state: open
included: false
display_amount: "$100.00"
@@ -578,7 +578,7 @@ paths:
id: '1'
type: line_item
source:
- data:
+ data:
'422':
description: invalid request
content:
@@ -640,10 +640,10 @@ paths:
adjustable_type: Spree::LineItem
amount: '1.0'
label: Shipping
- mandatory:
+ mandatory:
eligible: true
- created_at: '2021-10-29T12:26:59.873Z'
- updated_at: '2021-10-29T12:26:59.885Z'
+ created_at: '2021-10-29T13:58:41.419Z'
+ updated_at: '2021-10-29T13:58:41.423Z'
state: open
included: false
display_amount: "$1.00"
@@ -713,10 +713,10 @@ paths:
adjustable_type: Spree::LineItem
amount: '15.0'
label: New label
- mandatory:
+ mandatory:
eligible: true
- created_at: '2021-10-29T12:27:00.326Z'
- updated_at: '2021-10-29T12:27:00.357Z'
+ created_at: '2021-10-29T13:58:41.612Z'
+ updated_at: '2021-10-29T13:58:41.626Z'
state: open
included: false
display_amount: "$15.00"
@@ -844,8 +844,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T12:27:01.585Z'
- updated_at: '2021-10-29T12:27:01.585Z'
+ created_at: '2021-10-29T13:58:42.164Z'
+ updated_at: '2021-10-29T13:58:42.164Z'
relationships:
product:
data:
@@ -859,8 +859,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T12:27:01.765Z'
- updated_at: '2021-10-29T12:27:01.765Z'
+ created_at: '2021-10-29T13:58:42.240Z'
+ updated_at: '2021-10-29T13:58:42.240Z'
relationships:
product:
data:
@@ -917,8 +917,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T12:27:02.575Z'
- updated_at: '2021-10-29T12:27:02.575Z'
+ created_at: '2021-10-29T13:58:42.740Z'
+ updated_at: '2021-10-29T13:58:42.740Z'
relationships:
product:
data:
@@ -981,8 +981,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T12:27:02.889Z'
- updated_at: '2021-10-29T12:27:02.889Z'
+ created_at: '2021-10-29T13:58:42.896Z'
+ updated_at: '2021-10-29T13:58:42.896Z'
relationships:
product:
data:
@@ -1042,8 +1042,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-10-29T12:27:03.674Z'
- updated_at: '2021-10-29T12:27:03.674Z'
+ created_at: '2021-10-29T13:58:43.192Z'
+ updated_at: '2021-10-29T13:58:43.192Z'
relationships:
product:
data:
@@ -1153,8 +1153,8 @@ paths:
type: classification
attributes:
position: 2
- created_at: '2021-10-29T12:27:05.168Z'
- updated_at: '2021-10-29T12:27:05.215Z'
+ created_at: '2021-10-29T13:58:43.933Z'
+ updated_at: '2021-10-29T13:58:43.955Z'
relationships:
product:
data:
@@ -1245,35 +1245,35 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Cum vitae autem laboriosam incidunt fuga natus quas
- laborum.
- meta_title:
- content:
- meta_description:
+ title: Consequuntur temporibus veritatis nesciunt necessitatibus
+ explicabo ab tenetur.
+ meta_title:
+ content:
+ meta_description:
visible: true
- slug: cum-vitae-autem-laboriosam-incidunt-fuga-natus-quas-laborum
+ slug: consequuntur-temporibus-veritatis-nesciunt-necessitatibus-explicabo-ab-tenetur
type: Spree::Cms::Pages::StandardPage
locale: en
- deleted_at:
- created_at: '2021-10-29T12:27:05.880Z'
- updated_at: '2021-10-29T12:27:05.880Z'
+ deleted_at:
+ created_at: '2021-10-29T13:58:44.313Z'
+ updated_at: '2021-10-29T13:58:44.313Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Adipisci dolores eaque nemo hic alias delectus pariatur.
- meta_title:
- content:
- meta_description:
+ title: Nesciunt vitae quibusdam harum eveniet modi.
+ meta_title:
+ content:
+ meta_description:
visible: true
- slug: adipisci-dolores-eaque-nemo-hic-alias-delectus-pariatur
+ slug: nesciunt-vitae-quibusdam-harum-eveniet-modi
type: Spree::Cms::Pages::StandardPage
locale: en
- deleted_at:
- created_at: '2021-10-29T12:27:05.887Z'
- updated_at: '2021-10-29T12:27:05.887Z'
+ deleted_at:
+ created_at: '2021-10-29T13:58:44.317Z'
+ updated_at: '2021-10-29T13:58:44.317Z'
relationships:
cms_sections:
data: []
@@ -1323,18 +1323,17 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Repellendus suscipit quod explicabo itaque sequi dolores
- odit.
- meta_title:
- content:
- meta_description:
+ title: Hic laudantium pariatur necessitatibus ipsum in earum.
+ meta_title:
+ content:
+ meta_description:
visible: true
- slug: repellendus-suscipit-quod-explicabo-itaque-sequi-dolores-odit
+ slug: hic-laudantium-pariatur-necessitatibus-ipsum-in-earum
type: Spree::Cms::Pages::StandardPage
locale: en
- deleted_at:
- created_at: '2021-10-29T12:27:06.059Z'
- updated_at: '2021-10-29T12:27:06.059Z'
+ deleted_at:
+ created_at: '2021-10-29T13:58:44.396Z'
+ updated_at: '2021-10-29T13:58:44.396Z'
relationships:
cms_sections:
data: []
@@ -1390,17 +1389,17 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Id fugiat minima similique cumque qui dolor animi.
- meta_title:
- content:
- meta_description:
+ title: Corrupti sit placeat ad autem.
+ meta_title:
+ content:
+ meta_description:
visible: true
- slug: id-fugiat-minima-similique-cumque-qui-dolor-animi
+ slug: corrupti-sit-placeat-ad-autem
type: Spree::Cms::Pages::StandardPage
locale: en
- deleted_at:
- created_at: '2021-10-29T12:27:06.148Z'
- updated_at: '2021-10-29T12:27:06.148Z'
+ deleted_at:
+ created_at: '2021-10-29T13:58:44.430Z'
+ updated_at: '2021-10-29T13:58:44.430Z'
relationships:
cms_sections:
data: []
@@ -1454,16 +1453,16 @@ paths:
type: cms_page
attributes:
title: My Super Page
- meta_title:
- content:
- meta_description:
+ meta_title:
+ content:
+ meta_description:
visible: true
- slug: cum-incidunt-provident-pariatur-laborum-vitae-enim-eius
+ slug: quo-nulla-eos-omnis-molestiae-pariatur-necessitatibus-amet-libero
type: Spree::Cms::Pages::StandardPage
locale: en
- deleted_at:
- created_at: '2021-10-29T12:27:06.293Z'
- updated_at: '2021-10-29T12:27:06.318Z'
+ deleted_at:
+ created_at: '2021-10-29T13:58:44.537Z'
+ updated_at: '2021-10-29T13:58:44.567Z'
relationships:
cms_sections:
data: []
@@ -1577,28 +1576,29 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Error molestias quae est magni necessitatibus.
+ name: Dicta repellendus sint voluptatem ut.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-10-29T12:27:06.765Z'
- updated_at: '2021-10-29T12:27:06.765Z'
+ created_at: '2021-10-29T13:58:44.725Z'
+ updated_at: '2021-10-29T13:58:44.725Z'
relationships:
cms_page:
data:
id: '13'
type: cms_page
linked_resource:
- data:
+ data:
- id: '2'
type: cms_section
attributes:
- name: Repudiandae quidem excepturi suscipit id.
+ name: Nesciunt repudiandae quos explicabo ad odio sunt nisi
+ impedit.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1606,55 +1606,55 @@ paths:
settings:
layout_style: Default
fit: Container
- destination:
+ destination:
type: Spree::Cms::Sections::ImageGallery
position: 2
- linked_resource_type:
- created_at: '2021-10-29T12:27:06.775Z'
- updated_at: '2021-10-29T12:27:06.775Z'
+ linked_resource_type:
+ created_at: '2021-10-29T13:58:44.730Z'
+ updated_at: '2021-10-29T13:58:44.730Z'
relationships:
cms_page:
data:
id: '13'
type: cms_page
linked_resource:
- data:
+ data:
- id: '3'
type: cms_section
attributes:
- name: Hic eveniet dicta architecto eum omnis doloribus quis.
+ name: Dolores earum consequatur temporibus expedita praesentium.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-10-29T12:27:06.795Z'
- updated_at: '2021-10-29T12:27:06.795Z'
+ created_at: '2021-10-29T13:58:44.743Z'
+ updated_at: '2021-10-29T13:58:44.743Z'
relationships:
cms_page:
data:
id: '13'
type: cms_page
linked_resource:
- data:
+ data:
- id: '4'
type: cms_section
attributes:
- name: Iste tenetur voluptas unde velit voluptate facere quibusdam
- voluptatem.
+ name: Repudiandae quidem rem animi nulla placeat quia voluptatem
+ error.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:06.825Z'
- updated_at: '2021-10-29T12:27:06.825Z'
+ created_at: '2021-10-29T13:58:44.752Z'
+ updated_at: '2021-10-29T13:58:44.752Z'
relationships:
cms_page:
data:
@@ -1667,17 +1667,17 @@ paths:
- id: '5'
type: cms_section
attributes:
- name: Eos dolorum commodi atque in corporis.
+ name: Officiis praesentium facilis ipsum quisquam.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:06.846Z'
- updated_at: '2021-10-29T12:27:06.846Z'
+ created_at: '2021-10-29T13:58:44.759Z'
+ updated_at: '2021-10-29T13:58:44.759Z'
relationships:
cms_page:
data:
@@ -1733,17 +1733,17 @@ paths:
id: '14'
type: cms_section
attributes:
- name: Ut doloremque esse maiores inventore nesciunt vitae.
+ name: Vero ab voluptates deserunt ipsum quisquam accusamus.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:07.287Z'
- updated_at: '2021-10-29T12:27:07.287Z'
+ created_at: '2021-10-29T13:58:44.917Z'
+ updated_at: '2021-10-29T13:58:44.917Z'
relationships:
cms_page:
data:
@@ -1805,17 +1805,17 @@ paths:
id: '21'
type: cms_section
attributes:
- name: Eius suscipit quas tempora quod.
+ name: Officiis numquam suscipit nam illo labore sunt.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:07.663Z'
- updated_at: '2021-10-29T12:27:07.663Z'
+ created_at: '2021-10-29T13:58:45.058Z'
+ updated_at: '2021-10-29T13:58:45.058Z'
relationships:
cms_page:
data:
@@ -1879,12 +1879,12 @@ paths:
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:08.375Z'
- updated_at: '2021-10-29T12:27:08.406Z'
+ created_at: '2021-10-29T13:58:45.272Z'
+ updated_at: '2021-10-29T13:58:45.284Z'
relationships:
cms_page:
data:
@@ -1986,18 +1986,18 @@ paths:
id: '58'
type: cms_section
attributes:
- name: Amet consequuntur aperiam enim dolorem maiores necessitatibus
- illo.
+ name: Nostrum repudiandae harum magnam quam rerum cupiditate
+ quasi.
content: {}
settings:
gutters: No Gutters
fit: Screen
- destination:
+ destination:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-10-29T12:27:09.656Z'
- updated_at: '2021-10-29T12:27:09.684Z'
+ created_at: '2021-10-29T13:58:45.840Z'
+ updated_at: '2021-10-29T13:58:45.851Z'
relationships:
cms_page:
data:
@@ -2055,9 +2055,9 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-10-29T12:27:10.081Z'
+ updated_at: '2021-10-29T13:58:46.009Z'
zipcode_required: true
- created_at: '2021-10-29T12:27:10.081Z'
+ created_at: '2021-10-29T13:58:46.009Z'
relationships:
states:
data: []
@@ -2070,9 +2070,9 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-10-29T12:27:10.095Z'
+ updated_at: '2021-10-29T13:58:46.015Z'
zipcode_required: true
- created_at: '2021-10-29T12:27:10.095Z'
+ created_at: '2021-10-29T13:58:46.015Z'
relationships:
states:
data: []
@@ -2085,9 +2085,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-10-29T12:27:10.101Z'
+ updated_at: '2021-10-29T13:58:46.018Z'
zipcode_required: true
- created_at: '2021-10-29T12:27:10.101Z'
+ created_at: '2021-10-29T13:58:46.018Z'
relationships:
states:
data: []
@@ -2142,9 +2142,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-10-29T12:27:10.214Z'
+ updated_at: '2021-10-29T13:58:46.061Z'
zipcode_required: true
- created_at: '2021-10-29T12:27:10.214Z'
+ created_at: '2021-10-29T13:58:46.061Z'
relationships:
states:
data: []
@@ -2196,7 +2196,7 @@ paths:
- id: '1'
type: digital_link
attributes:
- token: 6BzHjv7A26F11w4mbwMiUkiq
+ token: W4Bitif33AhvbM3pjdMnbuiv
access_counter: 0
relationships:
digital:
@@ -2210,7 +2210,7 @@ paths:
- id: '2'
type: digital_link
attributes:
- token: zgD7D7B1r4L7DH3xwJEGkGmV
+ token: zmT4TUAv51uHhRv5PSVxdJbg
access_counter: 0
relationships:
digital:
@@ -2260,7 +2260,7 @@ paths:
id: '5'
type: digital_link
attributes:
- token: C9Luz1KA8UwEZZEJA2ZV89kT
+ token: aLAW2Qb2kcTNGFwtiTSGpMXq
access_counter: 0
relationships:
digital:
@@ -2319,7 +2319,7 @@ paths:
id: '6'
type: digital_link
attributes:
- token: RvinbSvSedxWqb8WXRqvYp3w
+ token: BfVVk9hmjKJ7RQ1Fx5PPFbEw
access_counter: 0
relationships:
digital:
@@ -2372,7 +2372,7 @@ paths:
id: '8'
type: digital_link
attributes:
- token: qZipRyp5nbM6j9FZUVAdSTz1
+ token: R1YzLP6z1MRNnvxqoUjyGnVT
access_counter: 0
relationships:
digital:
@@ -2475,7 +2475,7 @@ paths:
id: '13'
type: digital_link
attributes:
- token: ACk89jnJXCmy4Chpci51Kt9A
+ token: 1A6jtsgu8PRnEYiwuvHh6FZg
access_counter: 0
relationships:
digital:
@@ -2541,7 +2541,7 @@ paths:
- id: '15'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c89c3b8be991b5f77b2265c9591395576c152635/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f14650a9994470bcb7c0a964cd5bc7d56cbbac59/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2553,7 +2553,7 @@ paths:
- id: '16'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d25bc17f89426faf6de5dbde3fa81a492491ac98/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--7f2523fc28b8bc14157d9675d73645e1ae9c0ee4/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2565,7 +2565,7 @@ paths:
- id: '17'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3b5e1528e97f3af0c9ccecc1ce79851051063c03/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBKUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--46b3dca9b7adeed95934c5892f881f797da9794d/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2620,7 +2620,7 @@ paths:
id: '24'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--9c074b4426898450555609cebe367834b50a17ec/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--ba81f6449f6dac6676e5053bb8549f1c40d2cf15/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2681,7 +2681,7 @@ paths:
id: '28'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--58cdce85936459d70584247da67be7a362490b35/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBNQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--822b2cc8bb89a8a18c7c5d19f1659f9eb503f754/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2739,7 +2739,7 @@ paths:
id: '36'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--5a3f4a6fb177f7f5f7488128310985ee7dcf085d/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0d81ac6a6fef66af302bc640bc8a235902925cc2/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2860,8 +2860,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T12:27:25.569Z'
- updated_at: '2021-10-29T12:27:25.587Z'
+ created_at: '2021-10-29T13:58:52.983Z'
+ updated_at: '2021-10-29T13:58:52.992Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2871,18 +2871,18 @@ paths:
pre_tax_amount: '10.0'
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- display_adjustment_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_promo_total: "$0.00"
- display_included_tax_total: "$0.00"
- display_pre_tax_amount: "$10.00"
- display_subtotal: "$10.00"
display_price: "$10.00"
single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
display_total: "$10.00"
+ display_discounted_amount: "$10.00"
display_amount: "$10.00"
+ display_subtotal: "$10.00"
display_final_amount: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_included_tax_total: "$0.00"
+ display_pre_tax_amount: "$10.00"
relationships:
order:
data:
@@ -2907,8 +2907,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T12:27:25.662Z'
- updated_at: '2021-10-29T12:27:25.675Z'
+ created_at: '2021-10-29T13:58:53.026Z'
+ updated_at: '2021-10-29T13:58:53.033Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2918,18 +2918,18 @@ paths:
pre_tax_amount: '10.0'
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- display_adjustment_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_promo_total: "$0.00"
- display_included_tax_total: "$0.00"
- display_pre_tax_amount: "$10.00"
- display_subtotal: "$10.00"
display_price: "$10.00"
single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
display_total: "$10.00"
+ display_discounted_amount: "$10.00"
display_amount: "$10.00"
+ display_subtotal: "$10.00"
display_final_amount: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_included_tax_total: "$0.00"
+ display_pre_tax_amount: "$10.00"
relationships:
order:
data:
@@ -2997,8 +2997,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T12:27:26.163Z'
- updated_at: '2021-10-29T12:27:26.225Z'
+ created_at: '2021-10-29T13:58:53.243Z'
+ updated_at: '2021-10-29T13:58:53.286Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3008,18 +3008,18 @@ paths:
pre_tax_amount: '10.0'
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- display_adjustment_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_promo_total: "$0.00"
- display_included_tax_total: "$0.00"
- display_pre_tax_amount: "$10.00"
- display_subtotal: "$10.00"
display_price: "$10.00"
single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
display_total: "$10.00"
+ display_discounted_amount: "$10.00"
display_amount: "$10.00"
+ display_subtotal: "$10.00"
display_final_amount: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_included_tax_total: "$0.00"
+ display_pre_tax_amount: "$10.00"
relationships:
order:
data:
@@ -3096,8 +3096,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-10-29T12:27:26.561Z'
- updated_at: '2021-10-29T12:27:26.579Z'
+ created_at: '2021-10-29T13:58:53.429Z'
+ updated_at: '2021-10-29T13:58:53.435Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3107,18 +3107,18 @@ paths:
pre_tax_amount: '10.0'
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- display_adjustment_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_promo_total: "$0.00"
- display_included_tax_total: "$0.00"
- display_pre_tax_amount: "$10.00"
- display_subtotal: "$10.00"
display_price: "$10.00"
single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
display_total: "$10.00"
+ display_discounted_amount: "$10.00"
display_amount: "$10.00"
+ display_subtotal: "$10.00"
display_final_amount: "$10.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_included_tax_total: "$0.00"
+ display_pre_tax_amount: "$10.00"
relationships:
order:
data:
@@ -3189,8 +3189,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-10-29T12:27:27.127Z'
- updated_at: '2021-10-29T12:27:27.227Z'
+ created_at: '2021-10-29T13:58:53.723Z'
+ updated_at: '2021-10-29T13:58:53.790Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3200,18 +3200,18 @@ paths:
pre_tax_amount: '40.0'
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- display_adjustment_total: "$0.00"
- display_additional_tax_total: "$0.00"
- display_promo_total: "$0.00"
- display_included_tax_total: "$0.00"
- display_pre_tax_amount: "$40.00"
- display_subtotal: "$40.00"
display_price: "$10.00"
single_display_amount: "$10.00"
- display_discounted_amount: "$40.00"
display_total: "$40.00"
+ display_discounted_amount: "$40.00"
display_amount: "$40.00"
+ display_subtotal: "$40.00"
display_final_amount: "$40.00"
+ display_adjustment_total: "$0.00"
+ display_additional_tax_total: "$0.00"
+ display_promo_total: "$0.00"
+ display_included_tax_total: "$0.00"
+ display_pre_tax_amount: "$40.00"
relationships:
order:
data:
@@ -3238,10 +3238,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #133 - 2384" is not available.'
+ error: 'Quantity selected of "Product #133 - 3271" is not available.'
errors:
quantity:
- - 'selected of "Product #133 - 2384" is not available.'
+ - 'selected of "Product #133 - 3271" is not available.'
'404':
description: Record not found
content:
@@ -3342,18 +3342,18 @@ paths:
type: menu_item
attributes:
name: Link no. 1 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 2
rgt: 3
depth: 1
- created_at: '2021-10-29T12:27:28.583Z'
- updated_at: '2021-10-29T12:27:28.593Z'
- link:
+ created_at: '2021-10-29T13:58:54.405Z'
+ updated_at: '2021-10-29T13:58:54.410Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3372,25 +3372,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '3'
type: menu_item
attributes:
name: Link no. 2 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 4
rgt: 5
depth: 1
- created_at: '2021-10-29T12:27:28.662Z'
- updated_at: '2021-10-29T12:27:28.670Z'
- link:
+ created_at: '2021-10-29T13:58:54.469Z'
+ updated_at: '2021-10-29T13:58:54.474Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3409,25 +3409,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '4'
type: menu_item
attributes:
name: Link no. 3 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 6
rgt: 7
depth: 1
- created_at: '2021-10-29T12:27:28.737Z'
- updated_at: '2021-10-29T12:27:28.746Z'
- link:
+ created_at: '2021-10-29T13:58:54.520Z'
+ updated_at: '2021-10-29T13:58:54.525Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3446,25 +3446,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '5'
type: menu_item
attributes:
name: Link no. 4 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T12:27:28.813Z'
- updated_at: '2021-10-29T12:27:28.821Z'
- link:
+ created_at: '2021-10-29T13:58:54.571Z'
+ updated_at: '2021-10-29T13:58:54.576Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3483,25 +3483,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '6'
type: menu_item
attributes:
name: Link no. 5 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 10
rgt: 11
depth: 1
- created_at: '2021-10-29T12:27:28.887Z'
- updated_at: '2021-10-29T12:27:28.895Z'
- link:
+ created_at: '2021-10-29T13:58:54.622Z'
+ updated_at: '2021-10-29T13:58:54.627Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3520,25 +3520,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '7'
type: menu_item
attributes:
name: Link no. 6 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 12
rgt: 13
depth: 1
- created_at: '2021-10-29T12:27:28.963Z'
- updated_at: '2021-10-29T12:27:28.972Z'
- link:
+ created_at: '2021-10-29T13:58:54.672Z'
+ updated_at: '2021-10-29T13:58:54.677Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3557,25 +3557,25 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '8'
type: menu_item
attributes:
name: Link no. 7 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 14
rgt: 15
depth: 1
- created_at: '2021-10-29T12:27:29.042Z'
- updated_at: '2021-10-29T12:27:29.050Z'
- link:
+ created_at: '2021-10-29T13:58:54.723Z'
+ updated_at: '2021-10-29T13:58:54.728Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3594,40 +3594,41 @@ paths:
id: '1'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
- id: '1'
type: menu_item
attributes:
- name: Odio eveniet saepe eaque at.
- subtitle:
- destination:
+ name: Beatae repellat eaque neque consequuntur consectetur
+ dolor corrupti nesciunt.
+ subtitle:
+ destination:
new_window: false
item_type: Container
linked_resource_type: URL
- code:
+ code:
lft: 1
rgt: 16
depth: 0
- created_at: '2021-10-29T12:27:28.514Z'
- updated_at: '2021-10-29T12:27:29.070Z'
- link:
+ created_at: '2021-10-29T13:58:54.341Z'
+ updated_at: '2021-10-29T13:58:54.737Z'
+ link:
is_container: true
is_root: true
is_child: false
is_leaf: false
relationships:
icon:
- data:
+ data:
menu:
data:
id: '1'
type: menu
parent:
- data:
+ data:
linked_resource:
- data:
+ data:
children:
data:
- id: '2'
@@ -3691,25 +3692,25 @@ paths:
type: menu_item
attributes:
name: Link no. 18 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T12:27:30.039Z'
- updated_at: '2021-10-29T12:27:30.048Z'
- link:
+ created_at: '2021-10-29T13:58:55.325Z'
+ updated_at: '2021-10-29T13:58:55.328Z'
+ link:
is_container: false
is_root: false
is_child: true
is_leaf: true
relationships:
icon:
- data:
+ data:
menu:
data:
id: '3'
@@ -3719,7 +3720,7 @@ paths:
id: '17'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
'422':
@@ -3778,18 +3779,18 @@ paths:
type: menu_item
attributes:
name: Link no. 25 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T12:27:30.694Z'
- updated_at: '2021-10-29T12:27:30.703Z'
- link:
+ created_at: '2021-10-29T13:58:55.743Z'
+ updated_at: '2021-10-29T13:58:55.747Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3808,7 +3809,7 @@ paths:
id: '26'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
'404':
@@ -3861,18 +3862,18 @@ paths:
type: menu_item
attributes:
name: Menu Item One
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-10-29T12:27:31.726Z'
- updated_at: '2021-10-29T12:27:31.782Z'
- link:
+ created_at: '2021-10-29T13:58:56.396Z'
+ updated_at: '2021-10-29T13:58:56.419Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -3891,7 +3892,7 @@ paths:
id: '40'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
'422':
@@ -3987,18 +3988,18 @@ paths:
type: menu_item
attributes:
name: Link no. 62 To Somewhere
- subtitle:
- destination:
+ subtitle:
+ destination:
new_window: false
item_type: Link
linked_resource_type: URL
- code:
+ code:
lft: 5
rgt: 6
depth: 2
- created_at: '2021-10-29T12:27:34.188Z'
- updated_at: '2021-10-29T12:27:34.245Z'
- link:
+ created_at: '2021-10-29T13:58:57.932Z'
+ updated_at: '2021-10-29T13:58:57.957Z'
+ link:
is_container: false
is_root: false
is_child: true
@@ -4017,7 +4018,7 @@ paths:
id: '75'
type: menu_item
linked_resource:
- data:
+ data:
children:
data: []
'404':
@@ -4089,25 +4090,25 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T12:27:34.945Z'
- updated_at: '2021-10-29T12:27:35.117Z'
+ created_at: '2021-10-29T13:58:58.402Z'
+ updated_at: '2021-10-29T13:58:58.513Z'
relationships:
menu_items:
data:
+ - id: '89'
+ type: menu_item
- id: '87'
type: menu_item
- id: '90'
type: menu_item
- - id: '89'
- type: menu_item
- id: '19'
type: menu
attributes:
name: Footer Menu
location: footer
locale: en
- created_at: '2021-10-29T12:27:34.967Z'
- updated_at: '2021-10-29T12:27:35.269Z'
+ created_at: '2021-10-29T13:58:58.412Z'
+ updated_at: '2021-10-29T13:58:58.614Z'
relationships:
menu_items:
data:
@@ -4166,8 +4167,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T12:27:35.765Z'
- updated_at: '2021-10-29T12:27:35.779Z'
+ created_at: '2021-10-29T13:58:58.896Z'
+ updated_at: '2021-10-29T13:58:58.902Z'
relationships:
menu_items:
data:
@@ -4231,8 +4232,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T12:27:35.869Z'
- updated_at: '2021-10-29T12:27:35.883Z'
+ created_at: '2021-10-29T13:58:58.937Z'
+ updated_at: '2021-10-29T13:58:58.944Z'
relationships:
menu_items:
data:
@@ -4290,8 +4291,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-10-29T12:27:36.037Z'
- updated_at: '2021-10-29T12:27:36.052Z'
+ created_at: '2021-10-29T13:58:59.015Z'
+ updated_at: '2021-10-29T13:58:59.022Z'
relationships:
menu_items:
data:
@@ -4414,8 +4415,8 @@ paths:
name: foo-size-68
presentation: Size
position: 1
- created_at: '2021-10-29T12:27:36.451Z'
- updated_at: '2021-10-29T12:27:36.451Z'
+ created_at: '2021-10-29T13:58:59.186Z'
+ updated_at: '2021-10-29T13:58:59.186Z'
filterable: true
relationships:
option_values:
@@ -4426,8 +4427,8 @@ paths:
name: foo-size-69
presentation: Size
position: 2
- created_at: '2021-10-29T12:27:36.456Z'
- updated_at: '2021-10-29T12:27:36.456Z'
+ created_at: '2021-10-29T13:58:59.188Z'
+ updated_at: '2021-10-29T13:58:59.188Z'
filterable: true
relationships:
option_values:
@@ -4474,8 +4475,8 @@ paths:
name: foo-size-72
presentation: Size
position: 1
- created_at: '2021-10-29T12:27:36.577Z'
- updated_at: '2021-10-29T12:27:36.577Z'
+ created_at: '2021-10-29T13:58:59.234Z'
+ updated_at: '2021-10-29T13:58:59.234Z'
filterable: true
relationships:
option_values:
@@ -4528,8 +4529,8 @@ paths:
name: foo-size-73
presentation: Size
position: 1
- created_at: '2021-10-29T12:27:36.651Z'
- updated_at: '2021-10-29T12:27:36.651Z'
+ created_at: '2021-10-29T13:58:59.264Z'
+ updated_at: '2021-10-29T13:58:59.264Z'
filterable: true
relationships:
option_values:
@@ -4579,8 +4580,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2021-10-29T12:27:36.773Z'
- updated_at: '2021-10-29T12:27:36.791Z'
+ created_at: '2021-10-29T13:58:59.309Z'
+ updated_at: '2021-10-29T13:58:59.315Z'
filterable: true
relationships:
option_values:
@@ -4704,8 +4705,8 @@ paths:
position: 1
name: Size-68
presentation: S
- created_at: '2021-10-29T12:27:37.065Z'
- updated_at: '2021-10-29T12:27:37.065Z'
+ created_at: '2021-10-29T13:58:59.436Z'
+ updated_at: '2021-10-29T13:58:59.436Z'
relationships:
option_type:
data:
@@ -4717,8 +4718,8 @@ paths:
position: 1
name: Size-69
presentation: S
- created_at: '2021-10-29T12:27:37.078Z'
- updated_at: '2021-10-29T12:27:37.078Z'
+ created_at: '2021-10-29T13:58:59.442Z'
+ updated_at: '2021-10-29T13:58:59.442Z'
relationships:
option_type:
data:
@@ -4773,11 +4774,11 @@ paths:
position: 1
name: Size-72
presentation: S
- created_at: '2021-10-29T12:27:37.225Z'
- updated_at: '2021-10-29T12:27:37.225Z'
+ created_at: '2021-10-29T13:58:59.499Z'
+ updated_at: '2021-10-29T13:58:59.499Z'
relationships:
option_type:
- data:
+ data:
'422':
description: invalid request
content:
@@ -4833,8 +4834,8 @@ paths:
position: 1
name: Size-73
presentation: S
- created_at: '2021-10-29T12:27:37.306Z'
- updated_at: '2021-10-29T12:27:37.306Z'
+ created_at: '2021-10-29T13:58:59.531Z'
+ updated_at: '2021-10-29T13:58:59.531Z'
relationships:
option_type:
data:
@@ -4892,8 +4893,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2021-10-29T12:27:37.441Z'
- updated_at: '2021-10-29T12:27:37.463Z'
+ created_at: '2021-10-29T13:58:59.586Z'
+ updated_at: '2021-10-29T13:58:59.595Z'
relationships:
option_type:
data:
@@ -5009,34 +5010,38 @@ paths:
- id: '40'
type: order
attributes:
- number: R132888680
+ number: R370669453
item_total: '0.0'
total: '0.0'
state: cart
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:37.788Z'
- updated_at: '2021-10-29T12:27:37.788Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:58:59.738Z'
+ updated_at: '2021-10-29T13:58:59.738Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 0
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$0.00"
+ display_ship_total: "$0.00"
+ display_shipment_total: "$0.00"
+ display_total: "$0.00"
display_outstanding_balance: "$0.00"
display_item_total: "$0.00"
display_tax_total: "$0.00"
@@ -5046,32 +5051,28 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$0.00"
- display_ship_total: "$0.00"
- display_shipment_total: "$0.00"
- display_total: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '41'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '52'
type: address
ship_address:
- data:
+ data:
line_items:
data: []
payments:
@@ -5093,34 +5094,38 @@ paths:
- id: '41'
type: order
attributes:
- number: R908190917
+ number: R746536128
item_total: '0.0'
total: '0.0'
state: cart
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:37.817Z'
- updated_at: '2021-10-29T12:27:37.817Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:58:59.747Z'
+ updated_at: '2021-10-29T13:58:59.747Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 0
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$0.00"
+ display_ship_total: "$0.00"
+ display_shipment_total: "$0.00"
+ display_total: "$0.00"
display_outstanding_balance: "$0.00"
display_item_total: "$0.00"
display_tax_total: "$0.00"
@@ -5130,32 +5135,28 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$0.00"
- display_ship_total: "$0.00"
- display_shipment_total: "$0.00"
- display_total: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '42'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '53'
type: address
ship_address:
- data:
+ data:
line_items:
data: []
payments:
@@ -5220,34 +5221,38 @@ paths:
id: '44'
type: order
attributes:
- number: R873621229
+ number: R783470887
item_total: '0.0'
total: '0.0'
state: cart
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- email:
- special_instructions:
- created_at: '2021-10-29T12:27:38.402Z'
- updated_at: '2021-10-29T12:27:38.431Z'
+ shipment_state:
+ payment_state:
+ email:
+ special_instructions:
+ created_at: '2021-10-29T13:59:00.029Z'
+ updated_at: '2021-10-29T13:59:00.049Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 0
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$20.00"
+ display_ship_total: "$0.00"
+ display_shipment_total: "$0.00"
+ display_total: "$0.00"
display_outstanding_balance: "$0.00"
display_item_total: "$0.00"
display_tax_total: "$0.00"
@@ -5257,24 +5262,20 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$20.00"
- display_ship_total: "$0.00"
- display_shipment_total: "$0.00"
- display_total: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
- data:
+ data:
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '56'
@@ -5344,34 +5345,38 @@ paths:
id: '45'
type: order
attributes:
- number: R388226215
+ number: R337861694
item_total: '10.0'
total: '110.0'
state: delivery
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:38.521Z'
- updated_at: '2021-10-29T12:27:38.791Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:00.084Z'
+ updated_at: '2021-10-29T13:59:00.217Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -5381,26 +5386,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '45'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '57'
@@ -5480,34 +5481,38 @@ paths:
id: '47'
type: order
attributes:
- number: R737605719
+ number: R384719032
item_total: '10.0'
total: '110.0'
state: delivery
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
+ shipment_state:
+ payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:39.249Z'
- updated_at: '2021-10-29T12:27:39.483Z'
+ special_instructions:
+ created_at: '2021-10-29T13:59:00.395Z'
+ updated_at: '2021-10-29T13:59:00.492Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -5517,26 +5522,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '47'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '61'
@@ -5666,34 +5667,38 @@ paths:
id: '52'
type: order
attributes:
- number: R959399030
+ number: R582203293
item_total: '10.0'
total: '110.0'
state: payment
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:40.882Z'
- updated_at: '2021-10-29T12:27:41.202Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:01.054Z'
+ updated_at: '2021-10-29T13:59:01.192Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$110.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -5703,26 +5708,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$110.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '52'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '71'
@@ -5805,34 +5806,38 @@ paths:
id: '54'
type: order
attributes:
- number: R650830972
+ number: R892942149
item_total: '10.0'
total: '110.0'
state: payment
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:41.633Z'
- updated_at: '2021-10-29T12:27:41.946Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:01.380Z'
+ updated_at: '2021-10-29T13:59:01.514Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$110.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -5842,26 +5847,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$110.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '54'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '75'
@@ -5944,34 +5945,38 @@ paths:
id: '56'
type: order
attributes:
- number: R303134357
+ number: R012914687
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-10-29T12:27:42.866Z'
+ completed_at: '2021-10-29T13:59:01.893Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
- special_instructions:
- created_at: '2021-10-29T12:27:42.354Z'
- updated_at: '2021-10-29T12:27:42.866Z'
+ special_instructions:
+ created_at: '2021-10-29T13:59:01.677Z'
+ updated_at: '2021-10-29T13:59:01.893Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$110.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -5981,26 +5986,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$110.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '56'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '79'
@@ -6094,34 +6095,38 @@ paths:
id: '59'
type: order
attributes:
- number: R792589869
+ number: R236231088
item_total: '0.0'
total: '0.0'
state: cart
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:43.626Z'
- updated_at: '2021-10-29T12:27:43.888Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:02.188Z'
+ updated_at: '2021-10-29T13:59:02.300Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 0
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$0.00"
+ display_ship_total: "$0.00"
+ display_shipment_total: "$0.00"
+ display_total: "$0.00"
display_outstanding_balance: "$0.00"
display_item_total: "$0.00"
display_tax_total: "$0.00"
@@ -6131,26 +6136,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$0.00"
- display_ship_total: "$0.00"
- display_shipment_total: "$0.00"
- display_total: "$0.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '59'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '85'
@@ -6228,34 +6229,38 @@ paths:
id: '61'
type: order
attributes:
- number: R726534544
+ number: R445772674
item_total: '10.0'
total: '110.0'
state: delivery
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:44.288Z'
- updated_at: '2021-10-29T12:27:44.507Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:02.459Z'
+ updated_at: '2021-10-29T13:59:02.541Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -6265,26 +6270,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '61'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '89'
@@ -6366,34 +6367,38 @@ paths:
id: '63'
type: order
attributes:
- number: R929022865
+ number: R266748182
item_total: '10.0'
total: '10.0'
state: canceled
adjustment_total: '0.0'
- completed_at: '2021-10-29T12:27:45.191Z'
+ completed_at: '2021-10-29T13:59:02.813Z'
payment_total: '0.0'
shipment_state: canceled
payment_state: void
- special_instructions:
- created_at: '2021-10-29T12:27:44.935Z'
- updated_at: '2021-10-29T12:27:45.359Z'
+ special_instructions:
+ created_at: '2021-10-29T13:59:02.712Z'
+ updated_at: '2021-10-29T13:59:02.872Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$0.00"
+ display_shipment_total: "$0.00"
+ display_total: "$10.00"
display_outstanding_balance: "$0.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -6403,26 +6408,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$0.00"
- display_shipment_total: "$0.00"
- display_total: "$10.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$10.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '63'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '93'
@@ -6520,34 +6521,38 @@ paths:
id: '66'
type: order
attributes:
- number: R393020213
+ number: R821496678
item_total: '10.0'
total: '110.0'
state: delivery
adjustment_total: '0.0'
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:46.062Z'
- updated_at: '2021-10-29T12:27:46.382Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:03.156Z'
+ updated_at: '2021-10-29T13:59:03.304Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: '0.0'
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$110.00"
display_outstanding_balance: "$110.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -6557,26 +6562,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$110.00"
+ display_total_available_store_credit: "$15.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "-$15.00"
display_total_applied_store_credit: "-$15.00"
display_order_total_after_store_credit: "$95.00"
- display_total_available_store_credit: "$15.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '66'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '99'
@@ -6673,34 +6674,38 @@ paths:
id: '69'
type: order
attributes:
- number: R289962449
+ number: R884670681
item_total: '10.0'
total: '10.0'
state: delivery
adjustment_total: "-100.0"
- completed_at:
+ completed_at:
payment_total: '0.0'
- shipment_state:
- payment_state:
- special_instructions:
- created_at: '2021-10-29T12:27:47.214Z'
- updated_at: '2021-10-29T12:27:47.519Z'
+ shipment_state:
+ payment_state:
+ special_instructions:
+ created_at: '2021-10-29T13:59:03.686Z'
+ updated_at: '2021-10-29T13:59:03.825Z'
currency: USD
- last_ip_address:
+ last_ip_address:
shipment_total: '100.0'
additional_tax_total: '0.0'
promo_total: "-100.0"
channel: spree
included_tax_total: '0.0'
item_count: 1
- approved_at:
+ approved_at:
confirmation_delivered: false
- canceled_at:
+ canceled_at:
state_lock_version: 0
taxable_adjustment_total: '0.0'
non_taxable_adjustment_total: '0.0'
- store_owner_notification_delivered:
+ store_owner_notification_delivered:
+ display_pre_tax_total: "$10.00"
+ display_ship_total: "$100.00"
+ display_shipment_total: "$100.00"
+ display_total: "$10.00"
display_outstanding_balance: "$10.00"
display_item_total: "$10.00"
display_tax_total: "$0.00"
@@ -6710,26 +6715,22 @@ paths:
display_additional_tax_total: "$0.00"
display_promo_total: "-$100.00"
display_included_tax_total: "$0.00"
- display_pre_tax_total: "$10.00"
- display_ship_total: "$100.00"
- display_shipment_total: "$100.00"
- display_total: "$10.00"
+ display_total_available_store_credit: "$0.00"
+ display_store_credit_remaining_after_capture: "$0.00"
display_total_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$10.00"
- display_total_available_store_credit: "$0.00"
- display_store_credit_remaining_after_capture: "$0.00"
relationships:
user:
data:
id: '70'
type: user
created_by:
- data:
+ data:
approver:
- data:
+ data:
canceler:
- data:
+ data:
bill_address:
data:
id: '105'
@@ -6848,12 +6849,12 @@ paths:
source_type: Spree::CreditCard
state: invalid
response_code: '12345'
- avs_response:
- created_at: '2021-10-29T12:27:48.346Z'
- updated_at: '2021-10-29T12:27:48.394Z'
- number: PXTIRYP1
- cvv_response_code:
- cvv_response_message:
+ avs_response:
+ created_at: '2021-10-29T13:59:04.155Z'
+ updated_at: '2021-10-29T13:59:04.174Z'
+ number: PUC6IB3Q
+ cvv_response_code:
+ cvv_response_message:
display_amount: "$45.75"
relationships:
order:
@@ -6885,12 +6886,12 @@ paths:
source_type: Spree::CreditCard
state: checkout
response_code: '12345'
- avs_response:
- created_at: '2021-10-29T12:27:48.386Z'
- updated_at: '2021-10-29T12:27:48.386Z'
- number: PL2ANSOD
- cvv_response_code:
- cvv_response_message:
+ avs_response:
+ created_at: '2021-10-29T13:59:04.171Z'
+ updated_at: '2021-10-29T13:59:04.171Z'
+ number: P76O0A1R
+ cvv_response_code:
+ cvv_response_message:
display_amount: "$45.75"
relationships:
order:
@@ -6969,12 +6970,12 @@ paths:
source_type: Spree::CreditCard
state: checkout
response_code: '12345'
- avs_response:
- created_at: '2021-10-29T12:27:48.942Z'
- updated_at: '2021-10-29T12:27:48.942Z'
- number: PL82ILVY
- cvv_response_code:
- cvv_response_message:
+ avs_response:
+ created_at: '2021-10-29T13:59:04.326Z'
+ updated_at: '2021-10-29T13:59:04.326Z'
+ number: P3NBCV5K
+ cvv_response_code:
+ cvv_response_message:
display_amount: "$45.75"
relationships:
order:
@@ -7098,8 +7099,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T12:27:49.462Z'
- updated_at: '2021-10-29T12:27:49.462Z'
+ created_at: '2021-10-29T13:59:04.549Z'
+ updated_at: '2021-10-29T13:59:04.549Z'
code: POP123
relationships:
promotions:
@@ -7108,8 +7109,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T12:27:49.465Z'
- updated_at: '2021-10-29T12:27:49.465Z'
+ created_at: '2021-10-29T13:59:04.551Z'
+ updated_at: '2021-10-29T13:59:04.551Z'
code: POP123
relationships:
promotions:
@@ -7161,8 +7162,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T12:27:49.585Z'
- updated_at: '2021-10-29T12:27:49.585Z'
+ created_at: '2021-10-29T13:59:04.595Z'
+ updated_at: '2021-10-29T13:59:04.595Z'
code: 2021-BFM
relationships:
promotions:
@@ -7218,8 +7219,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-10-29T12:27:49.673Z'
- updated_at: '2021-10-29T12:27:49.673Z'
+ created_at: '2021-10-29T13:59:04.622Z'
+ updated_at: '2021-10-29T13:59:04.622Z'
code: MJO
relationships:
promotions:
@@ -7274,8 +7275,8 @@ paths:
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2021-10-29T12:27:49.795Z'
- updated_at: '2021-10-29T12:27:49.810Z'
+ created_at: '2021-10-29T13:59:04.667Z'
+ updated_at: '2021-10-29T13:59:04.673Z'
code: 2021-Promos
relationships:
promotions:
@@ -7391,12 +7392,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H98911867693
+ number: H12720635148
cost: '100.0'
- shipped_at:
+ shipped_at:
state: pending
- created_at: '2021-10-29T12:27:50.115Z'
- updated_at: '2021-10-29T12:27:50.124Z'
+ created_at: '2021-10-29T13:59:04.793Z'
+ updated_at: '2021-10-29T13:59:04.797Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7415,7 +7416,7 @@ paths:
id: '78'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '130'
@@ -7438,12 +7439,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H08081418866
+ number: H63400852341
cost: '100.0'
- shipped_at:
+ shipped_at:
state: pending
- created_at: '2021-10-29T12:27:50.204Z'
- updated_at: '2021-10-29T12:27:50.213Z'
+ created_at: '2021-10-29T13:59:04.825Z'
+ updated_at: '2021-10-29T13:59:04.828Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7462,7 +7463,7 @@ paths:
id: '79'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '131'
@@ -7534,12 +7535,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H89934123911
+ number: H32744990928
cost: '100.0'
- shipped_at:
+ shipped_at:
state: pending
- created_at: '2021-10-29T12:27:50.986Z'
- updated_at: '2021-10-29T12:27:51.048Z'
+ created_at: '2021-10-29T13:59:05.119Z'
+ updated_at: '2021-10-29T13:59:05.137Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7558,7 +7559,7 @@ paths:
id: '82'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '136'
@@ -7663,12 +7664,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H74498554108
+ number: H78481929007
cost: '100.0'
- shipped_at:
+ shipped_at:
state: ready
- created_at: '2021-10-29T12:27:53.165Z'
- updated_at: '2021-10-29T12:27:53.238Z'
+ created_at: '2021-10-29T13:59:05.958Z'
+ updated_at: '2021-10-29T13:59:05.988Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7687,7 +7688,7 @@ paths:
id: '86'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '148'
@@ -7761,12 +7762,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H53970506834
+ number: H42838927023
cost: '100.0'
- shipped_at: '2021-10-29T12:27:54.325Z'
+ shipped_at: '2021-10-29T13:59:06.420Z'
state: shipped
- created_at: '2021-10-29T12:27:54.239Z'
- updated_at: '2021-10-29T12:27:54.325Z'
+ created_at: '2021-10-29T13:59:06.385Z'
+ updated_at: '2021-10-29T13:59:06.420Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7785,7 +7786,7 @@ paths:
id: '88'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '154'
@@ -7859,12 +7860,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H01757237686
+ number: H15222262235
cost: '100.0'
- shipped_at:
+ shipped_at:
state: canceled
- created_at: '2021-10-29T12:27:55.311Z'
- updated_at: '2021-10-29T12:27:55.391Z'
+ created_at: '2021-10-29T13:59:06.815Z'
+ updated_at: '2021-10-29T13:59:06.842Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7883,7 +7884,7 @@ paths:
id: '90'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '160'
@@ -7957,12 +7958,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H50016964077
+ number: H66554763755
cost: '100.0'
- shipped_at:
+ shipped_at:
state: ready
- created_at: '2021-10-29T12:27:56.434Z'
- updated_at: '2021-10-29T12:27:56.520Z'
+ created_at: '2021-10-29T13:59:07.250Z'
+ updated_at: '2021-10-29T13:59:07.283Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -7981,7 +7982,7 @@ paths:
id: '92'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '166'
@@ -8055,12 +8056,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H01786531820
+ number: H47342855539
cost: '100.0'
- shipped_at:
+ shipped_at:
state: pending
- created_at: '2021-10-29T12:27:57.562Z'
- updated_at: '2021-10-29T12:27:57.636Z'
+ created_at: '2021-10-29T13:59:07.742Z'
+ updated_at: '2021-10-29T13:59:07.770Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -8079,7 +8080,7 @@ paths:
id: '94'
type: order
address:
- data:
+ data:
stock_location:
data:
id: '172'
@@ -8157,14 +8158,14 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #119'
- created_at: '2021-10-29T12:27:58.229Z'
- updated_at: '2021-10-29T12:27:58.229Z'
+ created_at: '2021-10-29T13:59:08.061Z'
+ updated_at: '2021-10-29T13:59:08.061Z'
- id: '120'
type: shipping_category
attributes:
name: 'ShippingCategory #120'
- created_at: '2021-10-29T12:27:58.232Z'
- updated_at: '2021-10-29T12:27:58.232Z'
+ created_at: '2021-10-29T13:59:08.066Z'
+ updated_at: '2021-10-29T13:59:08.066Z'
meta:
count: 2
total_count: 2
@@ -8205,8 +8206,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #123'
- created_at: '2021-10-29T12:27:58.349Z'
- updated_at: '2021-10-29T12:27:58.349Z'
+ created_at: '2021-10-29T13:59:08.129Z'
+ updated_at: '2021-10-29T13:59:08.129Z'
'422':
description: invalid request
content:
@@ -8251,8 +8252,8 @@ paths:
type: shipping_category
attributes:
name: 'ShippingCategory #124'
- created_at: '2021-10-29T12:27:58.424Z'
- updated_at: '2021-10-29T12:27:58.424Z'
+ created_at: '2021-10-29T13:59:08.157Z'
+ updated_at: '2021-10-29T13:59:08.157Z'
'404':
description: Record not found
content:
@@ -8296,8 +8297,8 @@ paths:
type: shipping_category
attributes:
name: Default
- created_at: '2021-10-29T12:27:58.556Z'
- updated_at: '2021-10-29T12:27:58.573Z'
+ created_at: '2021-10-29T13:59:08.203Z'
+ updated_at: '2021-10-29T13:59:08.210Z'
'422':
description: invalid request
content:
@@ -8416,12 +8417,12 @@ paths:
attributes:
name: UPS Ground
code: UPS_GROUND
- admin_name:
+ admin_name:
display_on: both
- tracking_url:
- created_at: '2021-10-29T12:27:58.861Z'
- updated_at: '2021-10-29T12:27:58.861Z'
- deleted_at:
+ tracking_url:
+ created_at: '2021-10-29T13:59:08.325Z'
+ updated_at: '2021-10-29T13:59:08.325Z'
+ deleted_at:
relationships:
shipping_categories:
data:
@@ -8430,7 +8431,7 @@ paths:
shipping_rates:
data: []
tax_category:
- data:
+ data:
calculator:
data:
id: '71'
@@ -8440,12 +8441,12 @@ paths:
attributes:
name: UPS Ground
code: UPS_GROUND
- admin_name:
+ admin_name:
display_on: both
- tracking_url:
- created_at: '2021-10-29T12:27:58.890Z'
- updated_at: '2021-10-29T12:27:58.890Z'
- deleted_at:
+ tracking_url:
+ created_at: '2021-10-29T13:59:08.335Z'
+ updated_at: '2021-10-29T13:59:08.335Z'
+ deleted_at:
relationships:
shipping_categories:
data:
@@ -8454,7 +8455,7 @@ paths:
shipping_rates:
data: []
tax_category:
- data:
+ data:
calculator:
data:
id: '72'
@@ -8509,10 +8510,10 @@ paths:
code: DDD
admin_name: DHL Express- Zone A
display_on: both
- tracking_url:
- created_at: '2021-10-29T12:27:59.094Z'
- updated_at: '2021-10-29T12:27:59.094Z'
- deleted_at:
+ tracking_url:
+ created_at: '2021-10-29T13:59:08.411Z'
+ updated_at: '2021-10-29T13:59:08.411Z'
+ deleted_at:
relationships:
shipping_categories:
data:
@@ -8588,12 +8589,12 @@ paths:
attributes:
name: UPS Ground
code: UPS_GROUND
- admin_name:
+ admin_name:
display_on: both
- tracking_url:
- created_at: '2021-10-29T12:27:59.198Z'
- updated_at: '2021-10-29T12:27:59.198Z'
- deleted_at:
+ tracking_url:
+ created_at: '2021-10-29T13:59:08.459Z'
+ updated_at: '2021-10-29T13:59:08.459Z'
+ deleted_at:
relationships:
shipping_categories:
data:
@@ -8602,7 +8603,7 @@ paths:
shipping_rates:
data: []
tax_category:
- data:
+ data:
calculator:
data:
id: '76'
@@ -8658,12 +8659,12 @@ paths:
attributes:
name: FedEx Expedited
code: UPS_GROUND
- admin_name:
+ admin_name:
display_on: both
- tracking_url:
- created_at: '2021-10-29T12:27:59.393Z'
- updated_at: '2021-10-29T12:27:59.429Z'
- deleted_at:
+ tracking_url:
+ created_at: '2021-10-29T13:59:08.530Z'
+ updated_at: '2021-10-29T13:59:08.544Z'
+ deleted_at:
relationships:
shipping_categories:
data:
@@ -8672,7 +8673,7 @@ paths:
shipping_rates:
data: []
tax_category:
- data:
+ data:
calculator:
data:
id: '79'
@@ -8798,12 +8799,12 @@ paths:
permalink: taxonomy-16/taxon-16
lft: 2
rgt: 3
- description:
- created_at: '2021-10-29T12:27:59.912Z'
- updated_at: '2021-10-29T12:27:59.920Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:08.761Z'
+ updated_at: '2021-10-29T13:59:08.765Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 1
pretty_name: taxonomy_16 -> taxon_16
seo_title: taxon_16
@@ -8833,12 +8834,12 @@ paths:
permalink: taxonomy-16/taxon-17
lft: 4
rgt: 5
- description:
- created_at: '2021-10-29T12:27:59.990Z'
- updated_at: '2021-10-29T12:28:00.000Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:08.811Z'
+ updated_at: '2021-10-29T13:59:08.814Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 1
pretty_name: taxonomy_16 -> taxon_17
seo_title: taxon_17
@@ -8868,12 +8869,12 @@ paths:
permalink: taxonomy-16
lft: 1
rgt: 6
- description:
- created_at: '2021-10-29T12:27:59.839Z'
- updated_at: '2021-10-29T12:28:00.023Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:08.703Z'
+ updated_at: '2021-10-29T13:59:08.823Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 0
pretty_name: taxonomy_16
seo_title: taxonomy_16
@@ -8882,7 +8883,7 @@ paths:
is_leaf: false
relationships:
parent:
- data:
+ data:
taxonomy:
data:
id: '16'
@@ -8894,7 +8895,7 @@ paths:
- id: '33'
type: taxon
image:
- data:
+ data:
meta:
count: 3
total_count: 3
@@ -8946,12 +8947,12 @@ paths:
permalink: taxonomy-18/taxon-20
lft: 2
rgt: 3
- description:
- created_at: '2021-10-29T12:28:00.419Z'
- updated_at: '2021-10-29T12:28:00.430Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:09.028Z'
+ updated_at: '2021-10-29T13:59:09.032Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 1
pretty_name: taxonomy_18 -> taxon_20
seo_title: taxon_20
@@ -8970,7 +8971,7 @@ paths:
children:
data: []
image:
- data:
+ data:
'422':
description: invalid request
content:
@@ -9028,12 +9029,12 @@ paths:
permalink: taxonomy-19/taxon-21
lft: 2
rgt: 3
- description:
- created_at: '2021-10-29T12:28:00.604Z'
- updated_at: '2021-10-29T12:28:00.612Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:09.109Z'
+ updated_at: '2021-10-29T13:59:09.111Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 1
pretty_name: taxonomy_19 -> taxon_21
seo_title: taxon_21
@@ -9111,12 +9112,12 @@ paths:
permalink: taxonomy-21/taxon-23
lft: 2
rgt: 3
- description:
- created_at: '2021-10-29T12:28:00.964Z'
- updated_at: '2021-10-29T12:28:01.020Z'
- meta_title:
- meta_description:
- meta_keywords:
+ description:
+ created_at: '2021-10-29T13:59:09.290Z'
+ updated_at: '2021-10-29T13:59:09.313Z'
+ meta_title:
+ meta_description:
+ meta_keywords:
depth: 1
pretty_name: taxonomy_21 -> T-Shirts
seo_title: T-Shirts
@@ -9254,45 +9255,45 @@ paths:
- id: '97'
type: user
attributes:
- created_at: '2021-10-29T12:28:01.803Z'
- updated_at: '2021-10-29T12:28:01.803Z'
+ created_at: '2021-10-29T13:59:09.759Z'
+ updated_at: '2021-10-29T13:59:09.759Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
- id: '98'
type: user
attributes:
- created_at: '2021-10-29T12:28:01.816Z'
- updated_at: '2021-10-29T12:28:01.816Z'
+ created_at: '2021-10-29T13:59:09.764Z'
+ updated_at: '2021-10-29T13:59:09.764Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
- id: '99'
type: user
attributes:
- created_at: '2021-10-29T12:28:01.820Z'
- updated_at: '2021-10-29T12:28:01.820Z'
+ created_at: '2021-10-29T13:59:09.765Z'
+ updated_at: '2021-10-29T13:59:09.765Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
meta:
count: 3
total_count: 3
@@ -9339,17 +9340,17 @@ paths:
id: '104'
type: user
attributes:
- created_at: '2021-10-29T12:28:01.982Z'
- updated_at: '2021-10-29T12:28:01.982Z'
+ created_at: '2021-10-29T13:59:09.829Z'
+ updated_at: '2021-10-29T13:59:09.829Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
'422':
description: invalid request
content:
@@ -9400,17 +9401,17 @@ paths:
id: '107'
type: user
attributes:
- created_at: '2021-10-29T12:28:02.098Z'
- updated_at: '2021-10-29T12:28:02.098Z'
+ created_at: '2021-10-29T13:59:09.872Z'
+ updated_at: '2021-10-29T13:59:09.872Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
'404':
description: Record not found
content:
@@ -9461,16 +9462,16 @@ paths:
type: user
attributes:
- created_at: '2021-10-29T12:28:02.276Z'
- updated_at: '2021-10-29T12:28:02.297Z'
+ created_at: '2021-10-29T13:59:09.938Z'
+ updated_at: '2021-10-29T13:59:09.947Z'
average_order_value: []
lifetime_value: []
store_credits: []
relationships:
bill_address:
- data:
+ data:
ship_address:
- data:
+ data:
'422':
description: invalid request
content:
@@ -9589,20 +9590,20 @@ paths:
attributes:
sku: SKU-251
weight: '0.0'
- height:
- depth:
- deleted_at:
+ height:
+ depth:
+ deleted_at:
is_master: true
cost_price: '17.0'
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T12:28:02.753Z'
- discontinue_on:
- created_at: '2021-10-29T12:28:02.740Z'
- display_compare_at_price:
+ updated_at: '2021-10-29T13:59:10.155Z'
+ discontinue_on:
+ created_at: '2021-10-29T13:59:10.149Z'
display_price: "$19.99"
- name: 'Product #184 - 3665'
+ display_compare_at_price:
+ name: 'Product #184 - 585'
options_text: ''
total_on_hand: 0
purchasable: true
@@ -9611,14 +9612,14 @@ paths:
available: true
currency: USD
price: '19.99'
- compare_at_price:
+ compare_at_price:
relationships:
product:
data:
id: '184'
type: product
tax_category:
- data:
+ data:
digitals:
data: []
images:
@@ -9637,21 +9638,21 @@ paths:
type: variant
attributes:
sku: SKU-252
- weight: '16.19'
- height: '142.25'
- depth: '52.51'
- deleted_at:
+ weight: '119.71'
+ height: '109.43'
+ depth: '34.9'
+ deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T12:28:02.822Z'
- discontinue_on:
- created_at: '2021-10-29T12:28:02.806Z'
- display_compare_at_price:
+ updated_at: '2021-10-29T13:59:10.186Z'
+ discontinue_on:
+ created_at: '2021-10-29T13:59:10.178Z'
display_price: "$19.99"
- name: 'Product #184 - 3665'
+ display_compare_at_price:
+ name: 'Product #184 - 585'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9660,14 +9661,14 @@ paths:
available: true
currency: USD
price: '19.99'
- compare_at_price:
+ compare_at_price:
relationships:
product:
data:
id: '184'
type: product
tax_category:
- data:
+ data:
digitals:
data: []
images:
@@ -9688,21 +9689,21 @@ paths:
type: variant
attributes:
sku: SKU-253
- weight: '30.56'
- height: '69.45'
- depth: '69.42'
- deleted_at:
+ weight: '30.98'
+ height: '145.61'
+ depth: '91.76'
+ deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T12:28:02.874Z'
- discontinue_on:
- created_at: '2021-10-29T12:28:02.858Z'
- display_compare_at_price:
+ updated_at: '2021-10-29T13:59:10.206Z'
+ discontinue_on:
+ created_at: '2021-10-29T13:59:10.200Z'
display_price: "$19.99"
- name: 'Product #184 - 3665'
+ display_compare_at_price:
+ name: 'Product #184 - 585'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9711,14 +9712,14 @@ paths:
available: true
currency: USD
price: '19.99'
- compare_at_price:
+ compare_at_price:
relationships:
product:
data:
id: '184'
type: product
tax_category:
- data:
+ data:
digitals:
data: []
images:
@@ -9788,21 +9789,21 @@ paths:
type: variant
attributes:
sku: SKU-258
- weight: '156.82'
- height: '0.28'
- depth: '80.52'
- deleted_at:
+ weight: '141.33'
+ height: '86.5'
+ depth: '106.25'
+ deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-10-29T12:28:03.421Z'
- discontinue_on:
- created_at: '2021-10-29T12:28:03.406Z'
- display_compare_at_price:
+ updated_at: '2021-10-29T13:59:10.413Z'
+ discontinue_on:
+ created_at: '2021-10-29T13:59:10.407Z'
display_price: "$19.99"
- name: 'Product #186 - 8007'
+ display_compare_at_price:
+ name: 'Product #186 - 655'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -9811,14 +9812,14 @@ paths:
available: true
currency: USD
price: '19.99'
- compare_at_price:
+ compare_at_price:
relationships:
product:
data:
id: '186'
type: product
tax_category:
- data:
+ data:
digitals:
data: []
images:
@@ -9953,14 +9954,14 @@ paths:
- id: '1'
type: event
attributes:
- execution_time: 66190
+ execution_time: 87180
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2021-10-29T12:28:04.234Z'
- updated_at: '2021-10-29T12:28:04.234Z'
+ created_at: '2021-10-29T13:59:10.764Z'
+ updated_at: '2021-10-29T13:59:10.764Z'
relationships:
subscriber:
data:
@@ -9969,14 +9970,14 @@ paths:
- id: '2'
type: event
attributes:
- execution_time: 16446
+ execution_time: 13066
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2021-10-29T12:28:04.239Z'
- updated_at: '2021-10-29T12:28:04.239Z'
+ created_at: '2021-10-29T13:59:10.767Z'
+ updated_at: '2021-10-29T13:59:10.767Z'
relationships:
subscriber:
data:
@@ -10002,13 +10003,13 @@ paths:
error: The access token is invalid
"/api/v2/platform/webhooks/subscribers":
get:
- summary: Return a list of Webhooks Subscribers
+ summary: Return a list of Webhook Subscribers
tags:
- - Webhooks Subscribers
+ - Webhook Subscribers
security:
- bearer_auth: []
- description: Returns a list of Webhooks Subscribers
- operationId: webhooks-subscribers-list
+ description: Returns a list of Webhook Subscribers
+ operationId: webhook-subscribers-list
parameters:
- name: page
in: query
@@ -10023,7 +10024,7 @@ paths:
- name: filter[active_eq]
in: query
description: ''
- example: true
+ example: 'true'
schema:
type: string
- name: filter[url_cont]
@@ -10048,8 +10049,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T12:28:04.346Z'
- updated_at: '2021-10-29T12:28:04.346Z'
+ created_at: '2021-10-29T13:59:10.810Z'
+ updated_at: '2021-10-29T13:59:10.810Z'
- id: '6'
type: subscriber
attributes:
@@ -10057,8 +10058,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T12:28:04.348Z'
- updated_at: '2021-10-29T12:28:04.348Z'
+ created_at: '2021-10-29T13:59:10.811Z'
+ updated_at: '2021-10-29T13:59:10.811Z'
meta:
count: 2
total_count: 2
@@ -10078,13 +10079,13 @@ paths:
value:
error: The access token is invalid
post:
- summary: Create a Webhooks Subscriber
+ summary: Create a Webhook Subscriber
tags:
- - Webhooks Subscribers
+ - Webhook Subscribers
security:
- bearer_auth: []
- description: Creates a Webhooks Subscriber
- operationId: create-webhooks-subscriber
+ description: Creates a Webhook Subscriber
+ operationId: create-webhook-subscriber
parameters: []
responses:
'201':
@@ -10102,8 +10103,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T12:28:04.460Z'
- updated_at: '2021-10-29T12:28:04.460Z'
+ created_at: '2021-10-29T13:59:10.851Z'
+ updated_at: '2021-10-29T13:59:10.851Z'
'422':
description: invalid request
content:
@@ -10122,16 +10123,16 @@ paths:
content:
application/json:
schema:
- "$ref": "#/components/schemas/webhooks_subscriber_params"
+ "$ref": "#/components/schemas/webhook_subscriber_params"
"/api/v2/platform/webhooks/subscribers/{id}":
get:
- summary: Return a Webhooks Subscriber
+ summary: Return a Webhook Subscriber
tags:
- - Webhooks Subscribers
+ - Webhook Subscribers
security:
- bearer_auth: []
- description: Returns a Webhooks Subscriber
- operationId: show-webhooks-subscriber
+ description: Returns a Webhook Subscriber
+ operationId: show-webhook-subscriber
parameters:
- name: id
in: path
@@ -10154,8 +10155,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T12:28:04.532Z'
- updated_at: '2021-10-29T12:28:04.532Z'
+ created_at: '2021-10-29T13:59:10.883Z'
+ updated_at: '2021-10-29T13:59:10.883Z'
'404':
description: Record not found
content:
@@ -10173,13 +10174,13 @@ paths:
value:
error: The access token is invalid
patch:
- summary: Update a Webhooks Subscriber
+ summary: Update a Webhook Subscriber
tags:
- - Webhooks Subscribers
+ - Webhook Subscribers
security:
- bearer_auth: []
- description: Updates a Webhooks Subscriber
- operationId: update-webhooks-subscriber
+ description: Updates a Webhook Subscriber
+ operationId: update-webhook-subscriber
parameters:
- name: id
in: path
@@ -10202,8 +10203,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-10-29T12:28:04.648Z'
- updated_at: '2021-10-29T12:28:04.648Z'
+ created_at: '2021-10-29T13:59:10.933Z'
+ updated_at: '2021-10-29T13:59:10.933Z'
'422':
description: invalid request
content:
@@ -10238,15 +10239,15 @@ paths:
content:
application/json:
schema:
- "$ref": "#/components/schemas/webhooks_subscriber_params"
+ "$ref": "#/components/schemas/webhook_subscriber_params"
delete:
- summary: Delete a Webhooks Subscriber
+ summary: Delete a Webhook Subscriber
tags:
- - Webhooks Subscribers
+ - Webhook Subscribers
security:
- bearer_auth: []
- description: Deletes a Webhooks Subscriber
- operationId: delete-webhooks-subscriber
+ description: Deletes a Webhook Subscriber
+ operationId: delete-webhook-subscriber
parameters:
- name: id
in: path
@@ -10312,10 +10313,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:05.226Z'
- updated_at: '2021-10-29T12:28:05.226Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.174Z'
+ updated_at: '2021-10-29T13:59:11.174Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10327,10 +10328,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:05.350Z'
- updated_at: '2021-10-29T12:28:05.350Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.226Z'
+ updated_at: '2021-10-29T13:59:11.226Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10342,10 +10343,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:05.484Z'
- updated_at: '2021-10-29T12:28:05.484Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.275Z'
+ updated_at: '2021-10-29T13:59:11.275Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10357,10 +10358,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:05.607Z'
- updated_at: '2021-10-29T12:28:05.607Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.331Z'
+ updated_at: '2021-10-29T13:59:11.331Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10415,10 +10416,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:06.573Z'
- updated_at: '2021-10-29T12:28:06.573Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.703Z'
+ updated_at: '2021-10-29T13:59:11.703Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10482,10 +10483,10 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-10-29T12:28:07.118Z'
- updated_at: '2021-10-29T12:28:07.118Z'
- display_total: "$19.99"
+ created_at: '2021-10-29T13:59:11.920Z'
+ updated_at: '2021-10-29T13:59:11.920Z'
display_price: "$19.99"
+ display_total: "$19.99"
price: '19.99'
total: '19.99'
relationships:
@@ -10543,10 +10544,10 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2021-10-29T12:28:07.995Z'
- updated_at: '2021-10-29T12:28:08.015Z'
- display_total: "$59.97"
+ created_at: '2021-10-29T13:59:12.271Z'
+ updated_at: '2021-10-29T13:59:12.280Z'
display_price: "$19.99"
+ display_total: "$59.97"
price: '19.99'
total: '59.97'
relationships:
@@ -10667,9 +10668,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-10-29T12:28:09.999Z'
- updated_at: '2021-10-29T12:28:09.999Z'
- token: c765mzZHkXZ3scoTJR8dNNXT
+ created_at: '2021-10-29T13:59:12.998Z'
+ updated_at: '2021-10-29T13:59:12.998Z'
+ token: VUFqUFDR57mc1P6CVVjDHvi4
variant_included: false
relationships:
wished_items:
@@ -10684,9 +10685,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2021-10-29T12:28:10.004Z'
- updated_at: '2021-10-29T12:28:10.004Z'
- token: JFszEEqa1o1Fgk1fvGeoaSqz
+ created_at: '2021-10-29T13:59:12.999Z'
+ updated_at: '2021-10-29T13:59:12.999Z'
+ token: wcN128CuwJMCpBPDSwxGwnkw
variant_included: false
relationships:
wished_items:
@@ -10744,9 +10745,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-10-29T12:28:11.229Z'
- updated_at: '2021-10-29T12:28:11.229Z'
- token: z5MJxu15E5hJtEko3jhd6fti
+ created_at: '2021-10-29T13:59:13.482Z'
+ updated_at: '2021-10-29T13:59:13.482Z'
+ token: s46AghfmxxkYeuTZyGewinoR
variant_included: false
relationships:
wished_items:
@@ -10806,9 +10807,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-10-29T12:28:11.323Z'
- updated_at: '2021-10-29T12:28:11.323Z'
- token: xNznXcbUTZGJ7LMm4AH7Rxfq
+ created_at: '2021-10-29T13:59:13.519Z'
+ updated_at: '2021-10-29T13:59:13.519Z'
+ token: xo6qGZ31rK9vohqug4GveSJU
variant_included: false
relationships:
wished_items:
@@ -10865,9 +10866,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-10-29T12:28:11.473Z'
- updated_at: '2021-10-29T12:28:11.502Z'
- token: zXSBRFPzi9BnnTk5JMvyew3h
+ created_at: '2021-10-29T13:59:13.578Z'
+ updated_at: '2021-10-29T13:59:13.586Z'
+ token: Gi2i5DWzpn7rCY8yeSK9uSwL
variant_included: false
relationships:
wished_items:
@@ -11206,7 +11207,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2021-10-29 12:26:54 UTC
+ example: 2021-10-29 13:58:39 UTC
bill_address_id:
type: string
example: '1'
@@ -11274,7 +11275,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2021-10-29 12:26:54 UTC
+ example: 2021-10-29 13:58:39 UTC
confirmation_delivered:
type: boolean
example: true
@@ -11374,20 +11375,25 @@ components:
user_params:
type: object
properties:
- email:
- type: string
- password:
- type: string
- password_confirmation:
- type: string
- ship_address_id:
- type: string
- bill_address_id:
- type: string
+ user:
+ type: object
+ required:
+ - email
+ - password
+ - password_confirmation
+ properties:
+ email:
+ type: string
+ password:
+ type: string
+ password_confirmation:
+ type: string
+ ship_address_id:
+ type: string
+ bill_address_id:
+ type: string
required:
- - email
- - password
- - password_confirmation
+ - user
x-internal: true
taxon_params:
type: object
diff --git a/api/spec/integration/api/v2/platform/webhooks/events_spec.rb b/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
index 810eb120a3..a4029d8216 100644
--- a/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
+++ b/api/spec/integration/api/v2/platform/webhooks/events_spec.rb
@@ -13,7 +13,7 @@ describe 'WebhooksEvents API', swagger: true do
{ name: 'filter[success_eq]', example: true },
{ name: 'filter[url_cont]', example: 'mysite' }]
}
-
+
let(:records_list) { create_list(:event, 2, :successful) }
let(:event) { build(:event, :successful) }
diff --git a/api/spec/integration/api/v2/platform/webhooks/subscribers_spec.rb b/api/spec/integration/api/v2/platform/webhooks/subscribers_spec.rb
index e8f3d9afcc..827dc9fa4d 100644
--- a/api/spec/integration/api/v2/platform/webhooks/subscribers_spec.rb
+++ b/api/spec/integration/api/v2/platform/webhooks/subscribers_spec.rb
@@ -4,13 +4,13 @@ require 'spec_helper'
describe 'WebhooksSubscribers API', swagger: true do
include_context 'Platform API v2'
- resource_name = 'Webhooks Subscriber'
+ resource_name = 'Webhook Subscriber'
options = {
include_examples: 'events',
- filter_examples: [{ name: 'filter[active_eq]', example: true },
+ filter_examples: [{ name: 'filter[active_eq]', example: 'true' },
{ name: 'filter[url_cont]', example: 'mysite' }]
}
-
+
let(:id) { subscriber.tap(&:save).id }
let(:invalid_param_value) { { url: '' } }
let(:records_list) { create_list(:subscriber, 2, :active, subscriptions: ['*']) }
diff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rb
index 3d76937fd1..848cef171e 100644
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@ -268,13 +268,19 @@ RSpec.configure do |config|
user_params: {
type: :object,
properties: {
- email: { type: :string },
- password: { type: :string },
- password_confirmation: { type: :string },
- ship_address_id: { type: :string },
- bill_address_id: { type: :string },
+ user: {
+ type: :object,
+ required: %w[email password password_confirmation],
+ properties: {
+ email: { type: :string },
+ password: { type: :string },
+ password_confirmation: { type: :string },
+ ship_address_id: { type: :string },
+ bill_address_id: { type: :string },
+ }
+ }
},
- required: %w[email password password_confirmation],
+ required: %w[user],
'x-internal': true
},
taxon_params: {