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.

Generated Shipments API OpenAPI

Damian Legawiec2856f5fa7786
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index ef435532c7..e1d0be015a 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -70,8 +70,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-12T21:15:57.757Z'
- updated_at: '2021-11-12T21:15:57.757Z'
+ created_at: '2021-11-16T15:43:36.071Z'
+ updated_at: '2021-11-16T15:43:36.071Z'
deleted_at:
label:
public_metadata: {}
@@ -100,8 +100,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-12T21:15:57.762Z'
- updated_at: '2021-11-12T21:15:57.762Z'
+ created_at: '2021-11-16T15:43:36.077Z'
+ updated_at: '2021-11-16T15:43:36.077Z'
deleted_at:
label:
public_metadata: {}
@@ -177,8 +177,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-12T21:15:58.008Z'
- updated_at: '2021-11-12T21:15:58.008Z'
+ created_at: '2021-11-16T15:43:36.436Z'
+ updated_at: '2021-11-16T15:43:36.436Z'
deleted_at:
label:
public_metadata: {}
@@ -274,8 +274,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-12T21:15:58.062Z'
- updated_at: '2021-11-12T21:15:58.062Z'
+ created_at: '2021-11-16T15:43:36.532Z'
+ updated_at: '2021-11-16T15:43:36.532Z'
deleted_at:
label:
public_metadata: {}
@@ -356,8 +356,8 @@ paths:
state_name:
alternative_phone: 555-555-0199
company: Company
- created_at: '2021-11-12T21:15:58.202Z'
- updated_at: '2021-11-12T21:15:58.210Z'
+ created_at: '2021-11-16T15:43:36.651Z'
+ updated_at: '2021-11-16T15:43:36.665Z'
deleted_at:
label:
public_metadata: {}
@@ -503,8 +503,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-12T21:15:58.460Z'
- updated_at: '2021-11-12T21:15:58.460Z'
+ created_at: '2021-11-16T15:43:37.039Z'
+ updated_at: '2021-11-16T15:43:37.039Z'
state: open
included: false
display_amount: "$100.00"
@@ -530,8 +530,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-12T21:15:58.487Z'
- updated_at: '2021-11-12T21:15:58.487Z'
+ created_at: '2021-11-16T15:43:37.070Z'
+ updated_at: '2021-11-16T15:43:37.070Z'
state: open
included: false
display_amount: "$100.00"
@@ -604,8 +604,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-12T21:15:58.821Z'
- updated_at: '2021-11-12T21:15:58.821Z'
+ created_at: '2021-11-16T15:43:37.467Z'
+ updated_at: '2021-11-16T15:43:37.467Z'
state: open
included: false
display_amount: "$100.00"
@@ -687,8 +687,8 @@ paths:
label: Shipping
mandatory:
eligible: true
- created_at: '2021-11-12T21:15:58.945Z'
- updated_at: '2021-11-12T21:15:58.949Z'
+ created_at: '2021-11-16T15:43:37.645Z'
+ updated_at: '2021-11-16T15:43:37.653Z'
state: open
included: false
display_amount: "$1.00"
@@ -766,8 +766,8 @@ paths:
label: New label
mandatory:
eligible: true
- created_at: '2021-11-12T21:15:59.134Z'
- updated_at: '2021-11-12T21:15:59.146Z'
+ created_at: '2021-11-16T15:43:37.962Z'
+ updated_at: '2021-11-16T15:43:37.981Z'
state: open
included: false
display_amount: "$15.00"
@@ -907,8 +907,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-12T21:15:59.726Z'
- updated_at: '2021-11-12T21:15:59.726Z'
+ created_at: '2021-11-16T15:43:38.786Z'
+ updated_at: '2021-11-16T15:43:38.786Z'
relationships:
product:
data:
@@ -922,8 +922,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-12T21:15:59.805Z'
- updated_at: '2021-11-12T21:15:59.805Z'
+ created_at: '2021-11-16T15:43:38.888Z'
+ updated_at: '2021-11-16T15:43:38.888Z'
relationships:
product:
data:
@@ -984,8 +984,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-12T21:16:00.320Z'
- updated_at: '2021-11-12T21:16:00.320Z'
+ created_at: '2021-11-16T15:43:39.580Z'
+ updated_at: '2021-11-16T15:43:39.580Z'
relationships:
product:
data:
@@ -1052,8 +1052,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-12T21:16:00.490Z'
- updated_at: '2021-11-12T21:16:00.490Z'
+ created_at: '2021-11-16T15:43:39.845Z'
+ updated_at: '2021-11-16T15:43:39.845Z'
relationships:
product:
data:
@@ -1119,8 +1119,8 @@ paths:
type: classification
attributes:
position: 1
- created_at: '2021-11-12T21:16:00.806Z'
- updated_at: '2021-11-12T21:16:00.806Z'
+ created_at: '2021-11-16T15:43:40.341Z'
+ updated_at: '2021-11-16T15:43:40.341Z'
relationships:
product:
data:
@@ -1264,34 +1264,34 @@ paths:
- id: '1'
type: cms_page
attributes:
- title: Assumenda labore nihil libero reiciendis.
+ title: Optio nisi illo ipsum maiores quae blanditiis cupiditate.
meta_title:
content:
meta_description:
visible: true
- slug: assumenda-labore-nihil-libero-reiciendis
+ slug: optio-nisi-illo-ipsum-maiores-quae-blanditiis-cupiditate
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-12T21:16:01.475Z'
- updated_at: '2021-11-12T21:16:01.475Z'
+ created_at: '2021-11-16T15:43:41.407Z'
+ updated_at: '2021-11-16T15:43:41.407Z'
relationships:
cms_sections:
data: []
- id: '2'
type: cms_page
attributes:
- title: Reprehenderit reiciendis saepe qui commodi ex iure.
+ title: Fugiat suscipit illum velit earum neque provident excepturi.
meta_title:
content:
meta_description:
visible: true
- slug: reprehenderit-reiciendis-saepe-qui-commodi-ex-iure
+ slug: fugiat-suscipit-illum-velit-earum-neque-provident-excepturi
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-12T21:16:01.478Z'
- updated_at: '2021-11-12T21:16:01.478Z'
+ created_at: '2021-11-16T15:43:41.412Z'
+ updated_at: '2021-11-16T15:43:41.412Z'
relationships:
cms_sections:
data: []
@@ -1345,17 +1345,18 @@ paths:
id: '5'
type: cms_page
attributes:
- title: Quam aliquam laboriosam corrupti culpa.
+ title: Adipisci voluptatibus quos corporis temporibus illum
+ consequuntur ut.
meta_title:
content:
meta_description:
visible: true
- slug: quam-aliquam-laboriosam-corrupti-culpa
+ slug: adipisci-voluptatibus-quos-corporis-temporibus-illum-consequuntur-ut
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-12T21:16:01.563Z'
- updated_at: '2021-11-12T21:16:01.563Z'
+ created_at: '2021-11-16T15:43:41.552Z'
+ updated_at: '2021-11-16T15:43:41.552Z'
relationships:
cms_sections:
data: []
@@ -1421,17 +1422,17 @@ paths:
id: '6'
type: cms_page
attributes:
- title: Iste nihil veniam veritatis quasi sequi ab.
+ title: Officia quo doloremque quia nostrum quis.
meta_title:
content:
meta_description:
visible: true
- slug: iste-nihil-veniam-veritatis-quasi-sequi-ab
+ slug: officia-quo-doloremque-quia-nostrum-quis
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-12T21:16:01.617Z'
- updated_at: '2021-11-12T21:16:01.617Z'
+ created_at: '2021-11-16T15:43:41.625Z'
+ updated_at: '2021-11-16T15:43:41.625Z'
relationships:
cms_sections:
data: []
@@ -1495,12 +1496,12 @@ paths:
content:
meta_description:
visible: true
- slug: repudiandae-laboriosam-blanditiis-odio-voluptatum-odit
+ slug: voluptates-velit-placeat-laudantium-magnam-voluptas-sequi
type: Spree::Cms::Pages::StandardPage
locale: en
deleted_at:
- created_at: '2021-11-12T21:16:01.686Z'
- updated_at: '2021-11-12T21:16:01.694Z'
+ created_at: '2021-11-16T15:43:41.809Z'
+ updated_at: '2021-11-16T15:43:41.827Z'
relationships:
cms_sections:
data: []
@@ -1629,7 +1630,8 @@ paths:
- id: '1'
type: cms_section
attributes:
- name: Fuga molestiae accusamus minus at harum sequi necessitatibus.
+ name: Iusto earum voluptates rem atque sequi reiciendis dolores
+ veritatis.
content: {}
settings:
gutters: No Gutters
@@ -1638,8 +1640,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Taxon
- created_at: '2021-11-12T21:16:01.881Z'
- updated_at: '2021-11-12T21:16:01.881Z'
+ created_at: '2021-11-16T15:43:42.176Z'
+ updated_at: '2021-11-16T15:43:42.176Z'
relationships:
cms_page:
data:
@@ -1650,7 +1652,7 @@ paths:
- id: '2'
type: cms_section
attributes:
- name: Quisquam illo similique consectetur nesciunt eaque.
+ name: Aut ab est voluptatem voluptatibus quam aliquam.
content:
link_type_one: Spree::Taxon
link_type_two: Spree::Taxon
@@ -1662,8 +1664,8 @@ paths:
type: Spree::Cms::Sections::ImageGallery
position: 2
linked_resource_type:
- created_at: '2021-11-12T21:16:01.885Z'
- updated_at: '2021-11-12T21:16:01.885Z'
+ created_at: '2021-11-16T15:43:42.180Z'
+ updated_at: '2021-11-16T15:43:42.180Z'
relationships:
cms_page:
data:
@@ -1674,8 +1676,7 @@ paths:
- id: '3'
type: cms_section
attributes:
- name: Provident exercitationem quo soluta eveniet iure quae
- nihil.
+ name: At aliquid in sed sequi possimus quos.
content: {}
settings:
gutters: No Gutters
@@ -1684,8 +1685,8 @@ paths:
type: Spree::Cms::Sections::FeaturedArticle
position: 3
linked_resource_type: Spree::Taxon
- created_at: '2021-11-12T21:16:01.893Z'
- updated_at: '2021-11-12T21:16:01.893Z'
+ created_at: '2021-11-16T15:43:42.191Z'
+ updated_at: '2021-11-16T15:43:42.191Z'
relationships:
cms_page:
data:
@@ -1696,8 +1697,7 @@ paths:
- id: '4'
type: cms_section
attributes:
- name: Fugiat pariatur commodi excepturi beatae culpa a dolorum
- vitae.
+ name: Dolorum modi rerum quos nostrum enim provident ab.
content: {}
settings:
gutters: No Gutters
@@ -1706,8 +1706,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-12T21:16:01.899Z'
- updated_at: '2021-11-12T21:16:01.899Z'
+ created_at: '2021-11-16T15:43:42.202Z'
+ updated_at: '2021-11-16T15:43:42.202Z'
relationships:
cms_page:
data:
@@ -1720,7 +1720,8 @@ paths:
- id: '5'
type: cms_section
attributes:
- name: Vel itaque voluptate magni officiis quam velit.
+ name: Non error molestiae distinctio autem cupiditate maxime
+ dolor repellat.
content: {}
settings:
gutters: No Gutters
@@ -1729,8 +1730,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 5
linked_resource_type: Spree::Product
- created_at: '2021-11-12T21:16:01.905Z'
- updated_at: '2021-11-12T21:16:01.905Z'
+ created_at: '2021-11-16T15:43:42.212Z'
+ updated_at: '2021-11-16T15:43:42.212Z'
relationships:
cms_page:
data:
@@ -1790,7 +1791,7 @@ paths:
id: '13'
type: cms_section
attributes:
- name: Quis architecto nostrum quo natus.
+ name: Voluptas deleniti soluta totam occaecati.
content: {}
settings:
gutters: No Gutters
@@ -1799,8 +1800,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 3
linked_resource_type: Spree::Product
- created_at: '2021-11-12T21:16:02.066Z'
- updated_at: '2021-11-12T21:16:02.066Z'
+ created_at: '2021-11-16T15:43:42.444Z'
+ updated_at: '2021-11-16T15:43:42.444Z'
relationships:
cms_page:
data:
@@ -1875,7 +1876,7 @@ paths:
id: '19'
type: cms_section
attributes:
- name: Recusandae reiciendis quod consequatur omnis natus.
+ name: Quos id magni maxime vitae quia pariatur.
content: {}
settings:
gutters: No Gutters
@@ -1884,8 +1885,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 4
linked_resource_type: Spree::Product
- created_at: '2021-11-12T21:16:02.195Z'
- updated_at: '2021-11-12T21:16:02.195Z'
+ created_at: '2021-11-16T15:43:42.648Z'
+ updated_at: '2021-11-16T15:43:42.648Z'
relationships:
cms_page:
data:
@@ -1959,8 +1960,8 @@ paths:
type: Spree::Cms::Sections::HeroImage
position: 1
linked_resource_type: Spree::Product
- created_at: '2021-11-12T21:16:02.398Z'
- updated_at: '2021-11-12T21:16:02.408Z'
+ created_at: '2021-11-16T15:43:42.958Z'
+ updated_at: '2021-11-16T15:43:42.974Z'
relationships:
cms_page:
data:
@@ -2080,9 +2081,9 @@ paths:
name: United States of America
numcode: 840
states_required: true
- updated_at: '2021-11-12T21:16:02.835Z'
+ updated_at: '2021-11-16T15:43:43.578Z'
zipcode_required: true
- created_at: '2021-11-12T21:16:02.835Z'
+ created_at: '2021-11-16T15:43:43.578Z'
relationships:
states:
data: []
@@ -2095,9 +2096,9 @@ paths:
name: NAME_2
numcode: 840
states_required: false
- updated_at: '2021-11-12T21:16:02.840Z'
+ updated_at: '2021-11-16T15:43:43.585Z'
zipcode_required: true
- created_at: '2021-11-12T21:16:02.840Z'
+ created_at: '2021-11-16T15:43:43.585Z'
relationships:
states:
data: []
@@ -2110,9 +2111,9 @@ paths:
name: NAME_3
numcode: 840
states_required: false
- updated_at: '2021-11-12T21:16:02.842Z'
+ updated_at: '2021-11-16T15:43:43.588Z'
zipcode_required: true
- created_at: '2021-11-12T21:16:02.842Z'
+ created_at: '2021-11-16T15:43:43.588Z'
relationships:
states:
data: []
@@ -2171,9 +2172,9 @@ paths:
name: NAME_6
numcode: 840
states_required: false
- updated_at: '2021-11-12T21:16:02.895Z'
+ updated_at: '2021-11-16T15:43:43.677Z'
zipcode_required: true
- created_at: '2021-11-12T21:16:02.895Z'
+ created_at: '2021-11-16T15:43:43.677Z'
relationships:
states:
data: []
@@ -2231,7 +2232,7 @@ paths:
- id: '1'
type: digital_link
attributes:
- token: w5m4xKFAkVAYZrYqajEgF6HC
+ token: D5ZGuFh4kuE9A6F3qc9Hs6gM
access_counter: 0
relationships:
digital:
@@ -2245,7 +2246,7 @@ paths:
- id: '2'
type: digital_link
attributes:
- token: GdRFzfKV9Q7eHSZiwMCDZKg3
+ token: 5xJ1A9HLisKrDZwDfiNQEMxF
access_counter: 0
relationships:
digital:
@@ -2299,7 +2300,7 @@ paths:
id: '5'
type: digital_link
attributes:
- token: yeq7JNc8te4qCM1hvUFfFLhf
+ token: cTWPyUE6a3wwGWZ5FMJxkR96
access_counter: 0
relationships:
digital:
@@ -2362,7 +2363,7 @@ paths:
id: '6'
type: digital_link
attributes:
- token: rYzJt1H14f2xDuTvAJ8aqzde
+ token: BdM1kgUabseQGhWiToDr2N3H
access_counter: 0
relationships:
digital:
@@ -2421,7 +2422,7 @@ paths:
id: '8'
type: digital_link
attributes:
- token: 2ABDsFxSZg2UUtiptyGEuEJK
+ token: GpTF9pyqQMcZYp9Pk966ddPX
access_counter: 0
relationships:
digital:
@@ -2536,7 +2537,7 @@ paths:
id: '13'
type: digital_link
attributes:
- token: NpvFh28hD4CZKJRkMMa9FzUV
+ token: MaKuPgdGXAxpJBTfBgA7Qtxx
access_counter: 0
relationships:
digital:
@@ -2608,7 +2609,7 @@ paths:
- id: '15'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--860ca15629ebc5f4d7441da41871a108b0e7dd78/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1623ea2b9ed788d7d24f66bc34c2b125868ff345/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2620,7 +2621,7 @@ paths:
- id: '16'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--cd93a7a24c8e65c57c89fe4b61067eef9963ac27/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c0f37a85ca6119585a6377b0b5654d336e0299bd/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2632,7 +2633,7 @@ paths:
- id: '17'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--5befa7aa2ac6959a986630ab7a10284c477bc956/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a3992c7650dec5bc0877fdceb0695f6b201efc38/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2691,7 +2692,7 @@ paths:
id: '24'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--79a82443400f89bfd0c4afca948b4ce6c4078dd9/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBLUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--20c0fe7f26f9118f852a2fa5a8d8f5186feacb53/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2756,7 +2757,7 @@ paths:
id: '28'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--70b477b25f2dcbe20e93aae8a566cacdbc77c4f1/thinking-cat.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--20e5c2088245d70d24543ee1705724b4734239be/thinking-cat.jpg"
content_type: image/jpeg
filename: thinking-cat.jpg
byte_size: 18090
@@ -2820,7 +2821,7 @@ paths:
id: '36'
type: digital
attributes:
- url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--72942ec613f57abc1daeb6e7d478f782d9c58c26/icon_256x256.jpg"
+ url: "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBPQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f32f69a558155710b5b08f7ce33ed56d81faad02/icon_256x256.jpg"
content_type: image/png
filename: icon_256x256.jpg
byte_size: 818
@@ -2953,8 +2954,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-12T21:16:10.096Z'
- updated_at: '2021-11-12T21:16:10.103Z'
+ created_at: '2021-11-16T15:43:55.734Z'
+ updated_at: '2021-11-16T15:43:55.745Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -2966,6 +2967,10 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_price: "$10.00"
+ single_display_amount: "$10.00"
+ display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -2974,10 +2979,6 @@ paths:
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
display_pre_tax_amount: "$10.00"
- display_price: "$10.00"
- single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
- display_total: "$10.00"
relationships:
order:
data:
@@ -3002,8 +3003,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-12T21:16:10.131Z'
- updated_at: '2021-11-12T21:16:10.136Z'
+ created_at: '2021-11-16T15:43:55.805Z'
+ updated_at: '2021-11-16T15:43:55.812Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3015,6 +3016,10 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_price: "$10.00"
+ single_display_amount: "$10.00"
+ display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -3023,10 +3028,6 @@ paths:
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
display_pre_tax_amount: "$10.00"
- display_price: "$10.00"
- single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
- display_total: "$10.00"
relationships:
order:
data:
@@ -3098,8 +3099,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-12T21:16:10.355Z'
- updated_at: '2021-11-12T21:16:10.399Z'
+ created_at: '2021-11-16T15:43:56.143Z'
+ updated_at: '2021-11-16T15:43:56.191Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3111,6 +3112,10 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_price: "$10.00"
+ single_display_amount: "$10.00"
+ display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -3119,10 +3124,6 @@ paths:
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
display_pre_tax_amount: "$10.00"
- display_price: "$10.00"
- single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
- display_total: "$10.00"
relationships:
order:
data:
@@ -3203,8 +3204,8 @@ paths:
attributes:
quantity: 1
price: '10.0'
- created_at: '2021-11-12T21:16:10.618Z'
- updated_at: '2021-11-12T21:16:10.623Z'
+ created_at: '2021-11-16T15:43:56.496Z'
+ updated_at: '2021-11-16T15:43:56.506Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3216,6 +3217,10 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_price: "$10.00"
+ single_display_amount: "$10.00"
+ display_discounted_amount: "$10.00"
+ display_total: "$10.00"
display_amount: "$10.00"
display_subtotal: "$10.00"
display_final_amount: "$10.00"
@@ -3224,10 +3229,6 @@ paths:
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
display_pre_tax_amount: "$10.00"
- display_price: "$10.00"
- single_display_amount: "$10.00"
- display_discounted_amount: "$10.00"
- display_total: "$10.00"
relationships:
order:
data:
@@ -3304,8 +3305,8 @@ paths:
attributes:
quantity: 4
price: '10.0'
- created_at: '2021-11-12T21:16:10.855Z'
- updated_at: '2021-11-12T21:16:10.893Z'
+ created_at: '2021-11-16T15:43:56.841Z'
+ updated_at: '2021-11-16T15:43:56.890Z'
currency: USD
cost_price: '17.0'
adjustment_total: '0.0'
@@ -3317,6 +3318,10 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_price: "$10.00"
+ single_display_amount: "$10.00"
+ display_discounted_amount: "$40.00"
+ display_total: "$40.00"
display_amount: "$40.00"
display_subtotal: "$40.00"
display_final_amount: "$40.00"
@@ -3325,10 +3330,6 @@ paths:
display_promo_total: "$0.00"
display_included_tax_total: "$0.00"
display_pre_tax_amount: "$40.00"
- display_price: "$10.00"
- single_display_amount: "$10.00"
- display_discounted_amount: "$40.00"
- display_total: "$40.00"
relationships:
order:
data:
@@ -3357,10 +3358,10 @@ paths:
examples:
Example:
value:
- error: 'Quantity selected of "Product #127 - 97" is not available.'
+ error: 'Quantity selected of "Product #127 - 7991" is not available.'
errors:
quantity:
- - 'selected of "Product #127 - 97" is not available.'
+ - 'selected of "Product #127 - 7991" is not available.'
schema:
"$ref": "#/components/schemas/validation_errors"
'404':
@@ -3480,8 +3481,8 @@ paths:
lft: 2
rgt: 3
depth: 1
- created_at: '2021-11-12T21:16:11.480Z'
- updated_at: '2021-11-12T21:16:11.485Z'
+ created_at: '2021-11-16T15:43:57.719Z'
+ updated_at: '2021-11-16T15:43:57.725Z'
link:
is_container: false
is_root: false
@@ -3517,8 +3518,8 @@ paths:
lft: 4
rgt: 5
depth: 1
- created_at: '2021-11-12T21:16:11.539Z'
- updated_at: '2021-11-12T21:16:11.544Z'
+ created_at: '2021-11-16T15:43:57.810Z'
+ updated_at: '2021-11-16T15:43:57.817Z'
link:
is_container: false
is_root: false
@@ -3554,8 +3555,8 @@ paths:
lft: 6
rgt: 7
depth: 1
- created_at: '2021-11-12T21:16:11.597Z'
- updated_at: '2021-11-12T21:16:11.601Z'
+ created_at: '2021-11-16T15:43:57.902Z'
+ updated_at: '2021-11-16T15:43:57.909Z'
link:
is_container: false
is_root: false
@@ -3591,8 +3592,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-12T21:16:11.665Z'
- updated_at: '2021-11-12T21:16:11.670Z'
+ created_at: '2021-11-16T15:43:57.998Z'
+ updated_at: '2021-11-16T15:43:58.005Z'
link:
is_container: false
is_root: false
@@ -3628,8 +3629,8 @@ paths:
lft: 10
rgt: 11
depth: 1
- created_at: '2021-11-12T21:16:11.722Z'
- updated_at: '2021-11-12T21:16:11.726Z'
+ created_at: '2021-11-16T15:43:58.093Z'
+ updated_at: '2021-11-16T15:43:58.100Z'
link:
is_container: false
is_root: false
@@ -3665,8 +3666,8 @@ paths:
lft: 12
rgt: 13
depth: 1
- created_at: '2021-11-12T21:16:11.778Z'
- updated_at: '2021-11-12T21:16:11.783Z'
+ created_at: '2021-11-16T15:43:58.203Z'
+ updated_at: '2021-11-16T15:43:58.210Z'
link:
is_container: false
is_root: false
@@ -3702,8 +3703,8 @@ paths:
lft: 14
rgt: 15
depth: 1
- created_at: '2021-11-12T21:16:11.835Z'
- updated_at: '2021-11-12T21:16:11.840Z'
+ created_at: '2021-11-16T15:43:58.301Z'
+ updated_at: '2021-11-16T15:43:58.308Z'
link:
is_container: false
is_root: false
@@ -3729,7 +3730,7 @@ paths:
- id: '1'
type: menu_item
attributes:
- name: Provident ad et voluptate sapiente.
+ name: Officiis nulla labore illum sed voluptates excepturi.
subtitle:
destination:
new_window: false
@@ -3739,8 +3740,8 @@ paths:
lft: 1
rgt: 16
depth: 0
- created_at: '2021-11-12T21:16:11.423Z'
- updated_at: '2021-11-12T21:16:11.850Z'
+ created_at: '2021-11-16T15:43:57.632Z'
+ updated_at: '2021-11-16T15:43:58.321Z'
link:
is_container: true
is_root: true
@@ -3833,8 +3834,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-12T21:16:12.516Z'
- updated_at: '2021-11-12T21:16:12.520Z'
+ created_at: '2021-11-16T15:43:59.548Z'
+ updated_at: '2021-11-16T15:43:59.556Z'
link:
is_container: false
is_root: false
@@ -3924,8 +3925,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-12T21:16:12.978Z'
- updated_at: '2021-11-12T21:16:12.983Z'
+ created_at: '2021-11-16T15:44:00.416Z'
+ updated_at: '2021-11-16T15:44:00.422Z'
link:
is_container: false
is_root: false
@@ -4013,8 +4014,8 @@ paths:
lft: 8
rgt: 9
depth: 1
- created_at: '2021-11-12T21:16:13.712Z'
- updated_at: '2021-11-12T21:16:13.736Z'
+ created_at: '2021-11-16T15:44:01.652Z'
+ updated_at: '2021-11-16T15:44:01.689Z'
link:
is_container: false
is_root: false
@@ -4151,8 +4152,8 @@ paths:
lft: 5
rgt: 6
depth: 2
- created_at: '2021-11-12T21:16:15.416Z'
- updated_at: '2021-11-12T21:16:15.441Z'
+ created_at: '2021-11-16T15:44:04.725Z'
+ updated_at: '2021-11-16T15:44:04.765Z'
link:
is_container: false
is_root: false
@@ -4256,8 +4257,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-12T21:16:15.929Z'
- updated_at: '2021-11-12T21:16:16.045Z'
+ created_at: '2021-11-16T15:44:05.649Z'
+ updated_at: '2021-11-16T15:44:05.849Z'
relationships:
menu_items:
data:
@@ -4273,8 +4274,8 @@ paths:
name: Footer Menu
location: footer
locale: en
- created_at: '2021-11-12T21:16:15.937Z'
- updated_at: '2021-11-12T21:16:16.157Z'
+ created_at: '2021-11-16T15:44:05.662Z'
+ updated_at: '2021-11-16T15:44:06.043Z'
relationships:
menu_items:
data:
@@ -4337,8 +4338,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-12T21:16:16.484Z'
- updated_at: '2021-11-12T21:16:16.490Z'
+ created_at: '2021-11-16T15:44:06.600Z'
+ updated_at: '2021-11-16T15:44:06.608Z'
relationships:
menu_items:
data:
@@ -4406,8 +4407,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-12T21:16:16.536Z'
- updated_at: '2021-11-12T21:16:16.543Z'
+ created_at: '2021-11-16T15:44:06.686Z'
+ updated_at: '2021-11-16T15:44:06.694Z'
relationships:
menu_items:
data:
@@ -4471,8 +4472,8 @@ paths:
name: Main Menu
location: header
locale: en
- created_at: '2021-11-12T21:16:16.625Z'
- updated_at: '2021-11-12T21:16:16.632Z'
+ created_at: '2021-11-16T15:44:06.816Z'
+ updated_at: '2021-11-16T15:44:06.824Z'
relationships:
menu_items:
data:
@@ -4607,8 +4608,8 @@ paths:
name: foo-size-68
presentation: Size
position: 1
- created_at: '2021-11-12T21:16:16.820Z'
- updated_at: '2021-11-12T21:16:16.820Z'
+ created_at: '2021-11-16T15:44:07.114Z'
+ updated_at: '2021-11-16T15:44:07.114Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4621,8 +4622,8 @@ paths:
name: foo-size-69
presentation: Size
position: 2
- created_at: '2021-11-12T21:16:16.822Z'
- updated_at: '2021-11-12T21:16:16.822Z'
+ created_at: '2021-11-16T15:44:07.116Z'
+ updated_at: '2021-11-16T15:44:07.116Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4675,8 +4676,8 @@ paths:
name: foo-size-72
presentation: Size
position: 1
- created_at: '2021-11-12T21:16:16.881Z'
- updated_at: '2021-11-12T21:16:16.881Z'
+ created_at: '2021-11-16T15:44:07.220Z'
+ updated_at: '2021-11-16T15:44:07.220Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4735,8 +4736,8 @@ paths:
name: foo-size-73
presentation: Size
position: 1
- created_at: '2021-11-12T21:16:16.922Z'
- updated_at: '2021-11-12T21:16:16.922Z'
+ created_at: '2021-11-16T15:44:07.398Z'
+ updated_at: '2021-11-16T15:44:07.398Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4794,8 +4795,8 @@ paths:
name: Size-X
presentation: Size
position: 1
- created_at: '2021-11-12T21:16:16.993Z'
- updated_at: '2021-11-12T21:16:17.000Z'
+ created_at: '2021-11-16T15:44:07.512Z'
+ updated_at: '2021-11-16T15:44:07.523Z'
filterable: true
public_metadata: {}
private_metadata: {}
@@ -4933,8 +4934,8 @@ paths:
position: 1
name: Size-68
presentation: S
- created_at: '2021-11-12T21:16:17.147Z'
- updated_at: '2021-11-12T21:16:17.147Z'
+ created_at: '2021-11-16T15:44:07.752Z'
+ updated_at: '2021-11-16T15:44:07.752Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -4948,8 +4949,8 @@ paths:
position: 1
name: Size-69
presentation: S
- created_at: '2021-11-12T21:16:17.153Z'
- updated_at: '2021-11-12T21:16:17.153Z'
+ created_at: '2021-11-16T15:44:07.758Z'
+ updated_at: '2021-11-16T15:44:07.758Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5010,8 +5011,8 @@ paths:
position: 1
name: Size-72
presentation: S
- created_at: '2021-11-12T21:16:17.218Z'
- updated_at: '2021-11-12T21:16:17.218Z'
+ created_at: '2021-11-16T15:44:07.864Z'
+ updated_at: '2021-11-16T15:44:07.864Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5076,8 +5077,8 @@ paths:
position: 1
name: Size-73
presentation: S
- created_at: '2021-11-12T21:16:17.266Z'
- updated_at: '2021-11-12T21:16:17.266Z'
+ created_at: '2021-11-16T15:44:07.939Z'
+ updated_at: '2021-11-16T15:44:07.939Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5143,8 +5144,8 @@ paths:
position: 1
name: M
presentation: S
- created_at: '2021-11-12T21:16:17.337Z'
- updated_at: '2021-11-12T21:16:17.345Z'
+ created_at: '2021-11-16T15:44:08.057Z'
+ updated_at: '2021-11-16T15:44:08.069Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -5274,7 +5275,7 @@ paths:
- id: '40'
type: order
attributes:
- number: R027494155
+ number: R617450213
item_total: '0.0'
total: '0.0'
state: cart
@@ -5283,10 +5284,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:17.517Z'
- updated_at: '2021-11-12T21:16:17.517Z'
+ created_at: '2021-11-16T15:44:08.330Z'
+ updated_at: '2021-11-16T15:44:08.330Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5304,6 +5305,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -5313,10 +5318,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
@@ -5360,7 +5361,7 @@ paths:
- id: '41'
type: order
attributes:
- number: R068903419
+ number: R300625424
item_total: '0.0'
total: '0.0'
state: cart
@@ -5369,10 +5370,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:17.524Z'
- updated_at: '2021-11-12T21:16:17.524Z'
+ created_at: '2021-11-16T15:44:08.342Z'
+ updated_at: '2021-11-16T15:44:08.342Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5390,6 +5391,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -5399,10 +5404,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
@@ -5493,7 +5494,7 @@ paths:
id: '44'
type: order
attributes:
- number: R399107161
+ number: R321644015
item_total: '0.0'
total: '0.0'
state: cart
@@ -5504,8 +5505,8 @@ paths:
payment_state:
email:
special_instructions:
- created_at: '2021-11-12T21:16:17.811Z'
- updated_at: '2021-11-12T21:16:17.830Z'
+ created_at: '2021-11-16T15:44:08.706Z'
+ updated_at: '2021-11-16T15:44:08.722Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -5523,6 +5524,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -5532,10 +5537,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
@@ -5621,7 +5622,7 @@ paths:
id: '45'
type: order
attributes:
- number: R146771112
+ number: R976926465
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5630,10 +5631,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:17.882Z'
- updated_at: '2021-11-12T21:16:18.025Z'
+ created_at: '2021-11-16T15:44:08.797Z'
+ updated_at: '2021-11-16T15:44:09.020Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5651,6 +5652,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -5660,10 +5665,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -5765,7 +5766,7 @@ paths:
id: '47'
type: order
attributes:
- number: R861625807
+ number: R123461339
item_total: '10.0'
total: '110.0'
state: delivery
@@ -5776,8 +5777,8 @@ paths:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:18.222Z'
- updated_at: '2021-11-12T21:16:18.305Z'
+ created_at: '2021-11-16T15:44:09.325Z'
+ updated_at: '2021-11-16T15:44:09.446Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5795,6 +5796,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -5804,10 +5809,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -5965,7 +5966,7 @@ paths:
id: '52'
type: order
attributes:
- number: R021607044
+ number: R450160704
item_total: '10.0'
total: '110.0'
state: payment
@@ -5974,10 +5975,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:18.868Z'
- updated_at: '2021-11-12T21:16:18.993Z'
+ created_at: '2021-11-16T15:44:10.235Z'
+ updated_at: '2021-11-16T15:44:10.413Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -5995,6 +5996,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -6004,10 +6009,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -6112,7 +6113,7 @@ paths:
id: '54'
type: order
attributes:
- number: R874946749
+ number: R902821820
item_total: '10.0'
total: '110.0'
state: payment
@@ -6121,10 +6122,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:19.182Z'
- updated_at: '2021-11-12T21:16:19.301Z'
+ created_at: '2021-11-16T15:44:10.672Z'
+ updated_at: '2021-11-16T15:44:10.837Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6142,6 +6143,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -6151,10 +6156,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -6259,19 +6260,19 @@ paths:
id: '56'
type: order
attributes:
- number: R763688015
+ number: R443906629
item_total: '10.0'
total: '110.0'
state: complete
adjustment_total: '0.0'
- completed_at: '2021-11-12T21:16:19.675Z'
+ completed_at: '2021-11-16T15:44:11.365Z'
payment_total: '0.0'
shipment_state: pending
payment_state: balance_due
special_instructions:
- created_at: '2021-11-12T21:16:19.468Z'
- updated_at: '2021-11-12T21:16:19.675Z'
+ created_at: '2021-11-16T15:44:11.097Z'
+ updated_at: '2021-11-16T15:44:11.365Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6289,6 +6290,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -6298,10 +6303,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -6417,7 +6418,7 @@ paths:
id: '59'
type: order
attributes:
- number: R948651899
+ number: R761534714
item_total: '0.0'
total: '0.0'
state: cart
@@ -6426,10 +6427,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:19.978Z'
- updated_at: '2021-11-12T21:16:20.163Z'
+ created_at: '2021-11-16T15:44:11.784Z'
+ updated_at: '2021-11-16T15:44:11.919Z'
currency: USD
last_ip_address:
shipment_total: '0.0'
@@ -6447,6 +6448,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -6456,10 +6461,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$0.00"
@@ -6559,7 +6560,7 @@ paths:
id: '61'
type: order
attributes:
- number: R767274611
+ number: R707114429
item_total: '10.0'
total: '110.0'
state: delivery
@@ -6568,10 +6569,10 @@ paths:
payment_total: '0.0'
shipment_state:
payment_state:
special_instructions:
- created_at: '2021-11-12T21:16:20.333Z'
- updated_at: '2021-11-12T21:16:20.412Z'
+ created_at: '2021-11-16T15:44:12.192Z'
+ updated_at: '2021-11-16T15:44:12.307Z'
currency: USD
last_ip_address:
shipment_total: '100.0'
@@ -6589,6 +6590,10 @@ paths:
store_owner_notification_delivered:
public_metadata: {}
private_metadata: {}
+ 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"
@@ -6598,10 +6603,6 @@ 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_applicable_store_credit: "$0.00"
display_total_applied_store_credit: "$0.00"
display_order_total_after_store_credit: "$110.00"
@@ -6874,8 +6875,8 @@ paths:
display_on: both
auto_capture:
position: 1
- created_at: '2021-11-12T21:16:21.932Z'
- updated_at: '2021-11-12T21:16:21.932Z'
+ created_at: '2021-11-16T15:44:14.343Z'
+ updated_at: '2021-11-16T15:44:14.343Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6895,8 +6896,8 @@ paths:
display_on: both
auto_capture:
position: 2
- created_at: '2021-11-12T21:16:21.938Z'
- updated_at: '2021-11-12T21:16:21.938Z'
+ created_at: '2021-11-16T15:44:14.352Z'
+ updated_at: '2021-11-16T15:44:14.352Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6916,8 +6917,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-12T21:16:21.942Z'
- updated_at: '2021-11-12T21:16:21.942Z'
+ created_at: '2021-11-16T15:44:14.357Z'
+ updated_at: '2021-11-16T15:44:14.357Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6937,8 +6938,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-12T21:16:21.945Z'
- updated_at: '2021-11-12T21:16:21.945Z'
+ created_at: '2021-11-16T15:44:14.363Z'
+ updated_at: '2021-11-16T15:44:14.363Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -6961,8 +6962,8 @@ paths:
display_on: both
auto_capture:
position: 5
- created_at: '2021-11-12T21:16:21.949Z'
- updated_at: '2021-11-12T21:16:21.949Z'
+ created_at: '2021-11-16T15:44:14.369Z'
+ updated_at: '2021-11-16T15:44:14.369Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7032,8 +7033,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-12T21:16:22.061Z'
- updated_at: '2021-11-12T21:16:22.061Z'
+ created_at: '2021-11-16T15:44:14.531Z'
+ updated_at: '2021-11-16T15:44:14.531Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7109,8 +7110,8 @@ paths:
display_on: both
auto_capture:
position: 4
- created_at: '2021-11-12T21:16:22.162Z'
- updated_at: '2021-11-12T21:16:22.162Z'
+ created_at: '2021-11-16T15:44:14.661Z'
+ updated_at: '2021-11-16T15:44:14.661Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7185,8 +7186,8 @@ paths:
display_on: both
auto_capture:
position: 3
- created_at: '2021-11-12T21:16:22.287Z'
- updated_at: '2021-11-12T21:16:22.297Z'
+ created_at: '2021-11-16T15:44:14.860Z'
+ updated_at: '2021-11-16T15:44:14.874Z'
deleted_at:
public_metadata: {}
private_metadata: {}
@@ -7334,9 +7335,9 @@ paths:
state: invalid
response_code: '12345'
avs_response:
- created_at: '2021-11-12T21:16:22.574Z'
- updated_at: '2021-11-12T21:16:22.590Z'
- number: PHNY83TS
+ created_at: '2021-11-16T15:44:15.283Z'
+ updated_at: '2021-11-16T15:44:15.307Z'
+ number: P30HHYFC
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7373,9 +7374,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-12T21:16:22.587Z'
- updated_at: '2021-11-12T21:16:22.587Z'
- number: P4U2A00U
+ created_at: '2021-11-16T15:44:15.303Z'
+ updated_at: '2021-11-16T15:44:15.303Z'
+ number: PL2WUVT0
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7463,9 +7464,9 @@ paths:
state: checkout
response_code: '12345'
avs_response:
- created_at: '2021-11-12T21:16:22.760Z'
- updated_at: '2021-11-12T21:16:22.760Z'
- number: P0SRD895
+ created_at: '2021-11-16T15:44:15.511Z'
+ updated_at: '2021-11-16T15:44:15.511Z'
+ number: P87UCSN0
cvv_response_code:
cvv_response_message:
public_metadata: {}
@@ -7599,8 +7600,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2021-11-12T21:16:22.998Z'
- updated_at: '2021-11-12T21:16:22.998Z'
+ created_at: '2021-11-16T15:44:15.851Z'
+ updated_at: '2021-11-16T15:44:15.851Z'
relationships:
promotion:
data:
@@ -7612,8 +7613,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2021-11-12T21:16:22.998Z'
- updated_at: '2021-11-12T21:16:22.998Z'
+ created_at: '2021-11-16T15:44:15.852Z'
+ updated_at: '2021-11-16T15:44:15.852Z'
relationships:
promotion:
data:
@@ -7672,8 +7673,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2021-11-12T21:16:23.083Z'
- updated_at: '2021-11-12T21:16:23.083Z'
+ created_at: '2021-11-16T15:44:15.964Z'
+ updated_at: '2021-11-16T15:44:15.964Z'
relationships:
promotion:
data:
@@ -7723,8 +7724,8 @@ paths:
position:
type:
deleted_at:
- created_at: '2021-11-12T21:16:23.111Z'
- updated_at: '2021-11-12T21:16:23.111Z'
+ created_at: '2021-11-16T15:44:16.014Z'
+ updated_at: '2021-11-16T15:44:16.014Z'
relationships:
promotion:
data:
@@ -7788,8 +7789,8 @@ paths:
position:
type: Spree::Promotion::Actions::CreateAdjustment
deleted_at:
- created_at: '2021-11-12T21:16:23.198Z'
- updated_at: '2021-11-12T21:16:23.203Z'
+ created_at: '2021-11-16T15:44:16.136Z'
+ updated_at: '2021-11-16T15:44:16.145Z'
relationships:
promotion:
data:
@@ -7911,8 +7912,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-12T21:16:23.345Z'
- updated_at: '2021-11-12T21:16:23.345Z'
+ created_at: '2021-11-16T15:44:16.361Z'
+ updated_at: '2021-11-16T15:44:16.361Z'
code: POP123
relationships:
promotions:
@@ -7921,8 +7922,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-12T21:16:23.347Z'
- updated_at: '2021-11-12T21:16:23.347Z'
+ created_at: '2021-11-16T15:44:16.362Z'
+ updated_at: '2021-11-16T15:44:16.362Z'
code: POP123
relationships:
promotions:
@@ -7978,8 +7979,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-12T21:16:23.402Z'
- updated_at: '2021-11-12T21:16:23.402Z'
+ created_at: '2021-11-16T15:44:16.442Z'
+ updated_at: '2021-11-16T15:44:16.442Z'
code: 2021-BFM
relationships:
promotions:
@@ -8039,8 +8040,8 @@ paths:
type: promotion_category
attributes:
name: Promotion Category
- created_at: '2021-11-12T21:16:23.443Z'
- updated_at: '2021-11-12T21:16:23.443Z'
+ created_at: '2021-11-16T15:44:16.502Z'
+ updated_at: '2021-11-16T15:44:16.502Z'
code: MJO
relationships:
promotions:
@@ -8101,8 +8102,8 @@ paths:
type: promotion_category
attributes:
name: 2021 Promotions
- created_at: '2021-11-12T21:16:23.513Z'
- updated_at: '2021-11-12T21:16:23.519Z'
+ created_at: '2021-11-16T15:44:16.609Z'
+ updated_at: '2021-11-16T15:44:16.618Z'
code: 2021-Promos
relationships:
promotions:
@@ -8230,8 +8231,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2021-11-12T21:16:23.667Z'
- updated_at: '2021-11-12T21:16:23.667Z'
+ created_at: '2021-11-16T15:44:16.840Z'
+ updated_at: '2021-11-16T15:44:16.840Z'
code:
preferences: {}
relationships:
@@ -8243,8 +8244,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2021-11-12T21:16:23.668Z'
- updated_at: '2021-11-12T21:16:23.668Z'
+ created_at: '2021-11-16T15:44:16.842Z'
+ updated_at: '2021-11-16T15:44:16.842Z'
code:
preferences: {}
relationships:
@@ -8303,8 +8304,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2021-11-12T21:16:23.746Z'
- updated_at: '2021-11-12T21:16:23.746Z'
+ created_at: '2021-11-16T15:44:16.960Z'
+ updated_at: '2021-11-16T15:44:16.960Z'
code:
preferences: {}
relationships:
@@ -8354,8 +8355,8 @@ paths:
type: promotion_rule
attributes:
type:
- created_at: '2021-11-12T21:16:23.772Z'
- updated_at: '2021-11-12T21:16:23.772Z'
+ created_at: '2021-11-16T15:44:16.999Z'
+ updated_at: '2021-11-16T15:44:16.999Z'
code:
preferences: {}
relationships:
@@ -8419,8 +8420,8 @@ paths:
type: promotion_rule
attributes:
type: Spree::Promotion::Rules::Country
- created_at: '2021-11-12T21:16:23.854Z'
- updated_at: '2021-11-12T21:16:23.860Z'
+ created_at: '2021-11-16T15:44:17.115Z'
+ updated_at: '2021-11-16T15:44:17.125Z'
code:
preferences: {}
relationships:
@@ -8553,8 +8554,8 @@ paths:
code:
advertise: false
path:
- created_at: '2021-11-12T21:16:24.006Z'
- updated_at: '2021-11-12T21:16:24.006Z'
+ created_at: '2021-11-16T15:44:17.352Z'
+ updated_at: '2021-11-16T15:44:17.352Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8581,8 +8582,8 @@ paths:
code:
advertise: false
path:
- created_at: '2021-11-12T21:16:24.014Z'
- updated_at: '2021-11-12T21:16:24.014Z'
+ created_at: '2021-11-16T15:44:17.364Z'
+ updated_at: '2021-11-16T15:44:17.364Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8613,8 +8614,8 @@ paths:
code:
advertise: false
path:
- created_at: '2021-11-12T21:16:24.027Z'
- updated_at: '2021-11-12T21:16:24.027Z'
+ created_at: '2021-11-16T15:44:17.384Z'
+ updated_at: '2021-11-16T15:44:17.384Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8645,8 +8646,8 @@ paths:
code:
advertise: false
path:
- created_at: '2021-11-12T21:16:24.036Z'
- updated_at: '2021-11-12T21:16:24.036Z'
+ created_at: '2021-11-16T15:44:17.398Z'
+ updated_at: '2021-11-16T15:44:17.398Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8717,8 +8718,8 @@ paths:
type: promotion
attributes:
description: First 1000 Customers Save 20%
- expires_at: '2021-11-16T21:16:24.189Z'
- starts_at: '2021-11-12T21:16:24.189Z'
+ expires_at: '2021-11-20T15:44:17.615Z'
+ starts_at: '2021-11-16T15:44:17.615Z'
name: Black Friday 20% Off
type: Spree::Promotion
usage_limit: 1000
@@ -8726,8 +8727,8 @@ paths:
code: BLK-20
advertise: true
path: "/black-fri/today"
- created_at: '2021-11-12T21:16:24.202Z'
- updated_at: '2021-11-12T21:16:24.202Z'
+ created_at: '2021-11-16T15:44:17.633Z'
+ updated_at: '2021-11-16T15:44:17.633Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8811,8 +8812,8 @@ paths:
code:
advertise: false
path:
- created_at: '2021-11-12T21:16:24.349Z'
- updated_at: '2021-11-12T21:16:24.349Z'
+ created_at: '2021-11-16T15:44:17.854Z'
+ updated_at: '2021-11-16T15:44:17.854Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -8897,8 +8898,8 @@ paths:
code: RAND-10
advertise: false
path:
- created_at: '2021-11-12T21:16:24.613Z'
- updated_at: '2021-11-12T21:16:24.628Z'
+ created_at: '2021-11-16T15:44:18.174Z'
+ updated_at: '2021-11-16T15:44:18.194Z'
public_metadata: {}
private_metadata: {}
relationships:
@@ -9041,14 +9042,14 @@ paths:
type: role
attributes:
name: 'Role #1'
- created_at: '2021-11-12T21:16:25.213Z'
- updated_at: '2021-11-12T21:16:25.213Z'
+ created_at: '2021-11-16T15:44:18.874Z'
+ updated_at: '2021-11-16T15:44:18.874Z'
- id: '2'
type: role
attributes:
name: 'Role #2'
- created_at: '2021-11-12T21:16:25.215Z'
- updated_at: '2021-11-12T21:16:25.215Z'
+ created_at: '2021-11-16T15:44:18.876Z'
+ updated_at: '2021-11-16T15:44:18.876Z'
meta:
count: 2
total_count: 2
@@ -9093,8 +9094,8 @@ paths:
type: role
attributes:
name: 'Role #5'
- created_at: '2021-11-12T21:16:25.294Z'
- updated_at: '2021-11-12T21:16:25.294Z'
+ created_at: '2021-11-16T15:44:18.956Z'
+ updated_at: '2021-11-16T15:44:18.956Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9143,8 +9144,8 @@ paths:
type: role
attributes:
name: 'Role #6'
- created_at: '2021-11-12T21:16:25.337Z'
- updated_at: '2021-11-12T21:16:25.337Z'
+ created_at: '2021-11-16T15:44:19.017Z'
+ updated_at: '2021-11-16T15:44:19.017Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -9194,8 +9195,8 @@ paths:
type: role
attributes:
name: administrator
- created_at: '2021-11-12T21:16:25.405Z'
- updated_at: '2021-11-12T21:16:25.411Z'
+ created_at: '2021-11-16T15:44:19.127Z'
+ updated_at: '2021-11-16T15:44:19.135Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -9319,12 +9320,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H56864396266
+ number: H94608258936
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-12T21:16:25.587Z'
- updated_at: '2021-11-12T21:16:25.590Z'
+ created_at: '2021-11-16T15:44:19.362Z'
+ updated_at: '2021-11-16T15:44:19.366Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9334,11 +9335,12 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$0.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$0.00"
+ tracking_url:
relationships:
order:
data:
@@ -9368,12 +9370,12 @@ paths:
type: shipment
attributes:
tracking: U10000
- number: H07124454524
+ number: H18770551606
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-12T21:16:25.618Z'
- updated_at: '2021-11-12T21:16:25.621Z'
+ created_at: '2021-11-16T15:44:19.403Z'
+ updated_at: '2021-11-16T15:44:19.407Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9383,11 +9385,12 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$0.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$0.00"
+ tracking_url:
relationships:
order:
data:
@@ -9435,6 +9438,97 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
+ post:
+ summary: Create a Shipment
+ tags:
+ - Shipments
+ security:
+ - bearer_auth: []
+ description: Creates a Shipment
+ operationId: create-shipment
+ parameters:
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: line_items,variants,product
+ schema:
+ type: string
+ responses:
+ '201':
+ description: Record created
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '32'
+ type: shipment
+ attributes:
+ tracking:
+ number: H42423392607
+ cost: '0.0'
+ shipped_at:
+ state: pending
+ created_at: '2021-11-16T15:44:19.713Z'
+ updated_at: '2021-11-16T15:44:19.727Z'
+ adjustment_total: '0.0'
+ additional_tax_total: '0.0'
+ promo_total: '0.0'
+ included_tax_total: '0.0'
+ pre_tax_amount: '0.0'
+ taxable_adjustment_total: '0.0'
+ non_taxable_adjustment_total: '0.0'
+ public_metadata: {}
+ private_metadata: {}
+ display_discounted_cost: "$0.00"
+ display_item_cost: "$19.99"
+ display_final_price: "$0.00"
+ display_amount: "$0.00"
+ display_cost: "$0.00"
+ tracking_url:
+ relationships:
+ order:
+ data:
+ id: '82'
+ type: order
+ address:
+ data:
+ stock_location:
+ data:
+ id: '128'
+ type: stock_location
+ adjustments:
+ data: []
+ inventory_units:
+ data:
+ - id: '28'
+ type: inventory_unit
+ shipping_rates:
+ data: []
+ state_changes:
+ data: []
+ selected_shipping_rate:
+ data:
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: order_not_found
+ errors: {}
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/create_shipment_params"
"/api/v2/platform/shipments/{id}":
get:
summary: Return a Shipment
@@ -9442,8 +9536,273 @@ paths:
- Shipments
security:
- bearer_auth: []
- description: Returns a Shipment
- operationId: show-shipment
+ description: Returns a Shipment
+ operationId: show-shipment
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: line_items,variants,product
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '34'
+ type: shipment
+ attributes:
+ tracking: U10000
+ number: H67033263864
+ cost: '100.0'
+ shipped_at:
+ state: pending
+ created_at: '2021-11-16T15:44:20.052Z'
+ updated_at: '2021-11-16T15:44:20.080Z'
+ adjustment_total: '0.0'
+ additional_tax_total: '0.0'
+ promo_total: '0.0'
+ included_tax_total: '0.0'
+ pre_tax_amount: '0.0'
+ taxable_adjustment_total: '0.0'
+ non_taxable_adjustment_total: '0.0'
+ public_metadata: {}
+ private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
+ display_final_price: "$100.00"
+ display_amount: "$100.00"
+ display_cost: "$100.00"
+ tracking_url:
+ relationships:
+ order:
+ data:
+ id: '83'
+ type: order
+ address:
+ data:
+ stock_location:
+ data:
+ id: '131'
+ type: stock_location
+ adjustments:
+ data: []
+ inventory_units:
+ data:
+ - id: '30'
+ type: inventory_unit
+ shipping_rates:
+ data:
+ - id: '37'
+ type: shipping_rate
+ state_changes:
+ data: []
+ selected_shipping_rate:
+ data:
+ id: '37'
+ type: shipping_rate
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ patch:
+ summary: Update a Shipment
+ tags:
+ - Shipments
+ security:
+ - bearer_auth: []
+ description: Updates a Shipment
+ operationId: update-shipment
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: line_items,variants,product
+ schema:
+ type: string
+ responses:
+ '200':
+ description: Record updated
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '38'
+ type: shipment
+ attributes:
+ tracking: MY-TRACKING-NUMBER-1234
+ number: H36181193782
+ cost: '100.0'
+ shipped_at:
+ state: pending
+ created_at: '2021-11-16T15:44:20.625Z'
+ updated_at: '2021-11-16T15:44:20.661Z'
+ adjustment_total: '0.0'
+ additional_tax_total: '0.0'
+ promo_total: '0.0'
+ included_tax_total: '0.0'
+ pre_tax_amount: '0.0'
+ taxable_adjustment_total: '0.0'
+ non_taxable_adjustment_total: '0.0'
+ public_metadata: {}
+ private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
+ display_final_price: "$100.00"
+ display_amount: "$100.00"
+ display_cost: "$100.00"
+ tracking_url:
+ relationships:
+ order:
+ data:
+ id: '85'
+ type: order
+ address:
+ data:
+ stock_location:
+ data:
+ id: '137'
+ type: stock_location
+ adjustments:
+ data: []
+ inventory_units:
+ data:
+ - id: '34'
+ type: inventory_unit
+ shipping_rates:
+ data:
+ - id: '45'
+ type: shipping_rate
+ state_changes:
+ data: []
+ selected_shipping_rate:
+ data:
+ id: '45'
+ type: shipping_rate
+ schema:
+ "$ref": "#/components/schemas/resource"
+ '422':
+ description: Invalid request
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: Stock location can't be blank
+ errors:
+ stock_location:
+ - can't be blank
+ schema:
+ "$ref": "#/components/schemas/validation_errors"
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/update_shipment_params"
+ delete:
+ summary: Delete a Shipment
+ tags:
+ - Shipments
+ security:
+ - bearer_auth: []
+ description: Deletes a Shipment
+ operationId: delete-shipment
+ parameters:
+ - name: id
+ in: path
+ required: true
+ schema:
+ type: string
+ responses:
+ '204':
+ description: Record deleted
+ '404':
+ description: Record not found
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The resource you were looking for could not be found.
+ schema:
+ "$ref": "#/components/schemas/error"
+ '401':
+ description: Authentication Failed
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ error: The access token is invalid
+ schema:
+ "$ref": "#/components/schemas/error"
+ "/api/v2/platform/shipments/{id}/add_item":
+ patch:
+ summary: Adds item (Variant) to an existing Shipment
+ tags:
+ - Shipments
+ security:
+ - bearer_auth: []
+ description: If selected Variant was already added to Order it will increase
+ the quantity of existing Line Item, if not it will create a new Line Item
+ operationId: add-item-shipment
parameters:
- name: id
in: path
@@ -9459,23 +9818,23 @@ paths:
type: string
responses:
'200':
- description: Record found
+ description: Record updated
content:
application/vnd.api+json:
examples:
Example:
value:
data:
- id: '33'
+ id: '48'
type: shipment
attributes:
tracking: U10000
- number: H99670642163
- cost: '100.0'
+ number: H56123465497
+ cost: '0.0'
shipped_at:
state: pending
- created_at: '2021-11-12T21:16:25.920Z'
- updated_at: '2021-11-12T21:16:25.936Z'
+ created_at: '2021-11-16T15:44:22.002Z'
+ updated_at: '2021-11-16T15:44:22.103Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9485,37 +9844,42 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
- display_final_price: "$100.00"
- display_amount: "$100.00"
- display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ display_discounted_cost: "$0.00"
+ display_item_cost: "$29.99"
+ display_final_price: "$0.00"
+ display_amount: "$0.00"
+ display_cost: "$0.00"
+ tracking_url:
relationships:
order:
data:
- id: '82'
+ id: '90'
type: order
address:
data:
stock_location:
data:
- id: '130'
+ id: '152'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '29'
+ - id: '44'
+ type: inventory_unit
+ - id: '45'
type: inventory_unit
shipping_rates:
data:
- - id: '37'
+ - id: '76'
+ type: shipping_rate
+ - id: '77'
type: shipping_rate
state_changes:
data: []
selected_shipping_rate:
data:
- id: '37'
+ id: '77'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -9539,23 +9903,101 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
- delete:
- summary: Delete a Shipment
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/add_item_shipment_params"
+ "/api/v2/platform/shipments/{id}/remove_item":
+ patch:
+ summary: Removes item (Variant) from Shipment
tags:
- Shipments
security:
- bearer_auth: []
- description: Deletes a Shipment
- operationId: delete-shipment
+ description: If selected Variant is removed completely and Shipment doesn't
+ include any other Line Items, Shipment itself will be deleted
+ operationId: remove-item-shipment
parameters:
- name: id
in: path
required: true
schema:
type: string
+ - name: include
+ in: query
+ description: 'Select which associated resources you would like to fetch, see:
+ <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>'
+ example: line_items,variants,product
+ schema:
+ type: string
responses:
'204':
description: Record deleted
+ '200':
+ description: Record updated
+ content:
+ application/vnd.api+json:
+ examples:
+ Example:
+ value:
+ data:
+ id: '54'
+ type: shipment
+ attributes:
+ tracking: U10000
+ number: H00192006453
+ cost: '0.0'
+ shipped_at:
+ state: pending
+ created_at: '2021-11-16T15:44:23.330Z'
+ updated_at: '2021-11-16T15:44:23.503Z'
+ adjustment_total: '0.0'
+ additional_tax_total: '0.0'
+ promo_total: '0.0'
+ included_tax_total: '0.0'
+ pre_tax_amount: '0.0'
+ taxable_adjustment_total: '0.0'
+ non_taxable_adjustment_total: '0.0'
+ public_metadata: {}
+ private_metadata: {}
+ display_discounted_cost: "$0.00"
+ display_item_cost: "$10.00"
+ display_final_price: "$0.00"
+ display_amount: "$0.00"
+ display_cost: "$0.00"
+ tracking_url:
+ relationships:
+ order:
+ data:
+ id: '93'
+ type: order
+ address:
+ data:
+ stock_location:
+ data:
+ id: '162'
+ type: stock_location
+ adjustments:
+ data: []
+ inventory_units:
+ data:
+ - id: '51'
+ type: inventory_unit
+ shipping_rates:
+ data:
+ - id: '100'
+ type: shipping_rate
+ - id: '101'
+ type: shipping_rate
+ state_changes:
+ data: []
+ selected_shipping_rate:
+ data:
+ id: '97'
+ type: shipping_rate
+ schema:
+ "$ref": "#/components/schemas/resource"
'404':
description: Record not found
content:
@@ -9576,6 +10018,11 @@ paths:
error: The access token is invalid
schema:
"$ref": "#/components/schemas/error"
+ requestBody:
+ content:
+ application/json:
+ schema:
+ "$ref": "#/components/schemas/remove_item_shipment_params"
"/api/v2/platform/shipments/{id}/ready":
patch:
summary: Mark Shipment as ready to be shipped
@@ -9607,16 +10054,16 @@ paths:
Example:
value:
data:
- id: '41'
+ id: '58'
type: shipment
attributes:
tracking: U10000
- number: H63995690379
+ number: H68441454133
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-12T21:16:26.699Z'
- updated_at: '2021-11-12T21:16:26.730Z'
+ created_at: '2021-11-16T15:44:24.120Z'
+ updated_at: '2021-11-16T15:44:24.161Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9626,39 +10073,40 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ tracking_url:
relationships:
order:
data:
- id: '86'
+ id: '95'
type: order
address:
data:
stock_location:
data:
- id: '142'
+ id: '168'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '37'
+ - id: '55'
type: inventory_unit
shipping_rates:
data:
- - id: '53'
+ - id: '109'
type: shipping_rate
state_changes:
data:
- - id: '17'
+ - id: '25'
type: state_change
selected_shipping_rate:
data:
- id: '53'
+ id: '109'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -9713,16 +10161,16 @@ paths:
Example:
value:
data:
- id: '45'
+ id: '62'
type: shipment
attributes:
tracking: U10000
- number: H66539867091
+ number: H51286184672
cost: '100.0'
- shipped_at: '2021-11-12T21:16:27.159Z'
+ shipped_at: '2021-11-16T15:44:24.743Z'
state: shipped
- created_at: '2021-11-12T21:16:27.127Z'
- updated_at: '2021-11-12T21:16:27.159Z'
+ created_at: '2021-11-16T15:44:24.699Z'
+ updated_at: '2021-11-16T15:44:24.743Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9732,39 +10180,40 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ tracking_url:
relationships:
order:
data:
- id: '88'
+ id: '97'
type: order
address:
data:
stock_location:
data:
- id: '148'
+ id: '174'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '41'
+ - id: '59'
type: inventory_unit
shipping_rates:
data:
- - id: '61'
+ - id: '117'
type: shipping_rate
state_changes:
data:
- - id: '19'
+ - id: '27'
type: state_change
selected_shipping_rate:
data:
- id: '61'
+ id: '117'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -9819,16 +10268,16 @@ paths:
Example:
value:
data:
- id: '49'
+ id: '66'
type: shipment
attributes:
tracking: U10000
- number: H87884019395
+ number: H21415801551
cost: '100.0'
shipped_at:
state: canceled
- created_at: '2021-11-12T21:16:27.554Z'
- updated_at: '2021-11-12T21:16:27.580Z'
+ created_at: '2021-11-16T15:44:25.299Z'
+ updated_at: '2021-11-16T15:44:25.336Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9838,39 +10287,40 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ tracking_url:
relationships:
order:
data:
- id: '90'
+ id: '99'
type: order
address:
data:
stock_location:
data:
- id: '154'
+ id: '180'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '45'
+ - id: '63'
type: inventory_unit
shipping_rates:
data:
- - id: '69'
+ - id: '125'
type: shipping_rate
state_changes:
data:
- - id: '20'
+ - id: '28'
type: state_change
selected_shipping_rate:
data:
- id: '69'
+ id: '125'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -9925,16 +10375,16 @@ paths:
Example:
value:
data:
- id: '53'
+ id: '70'
type: shipment
attributes:
tracking: U10000
- number: H64318150376
+ number: H27208731620
cost: '100.0'
shipped_at:
state: ready
- created_at: '2021-11-12T21:16:27.985Z'
- updated_at: '2021-11-12T21:16:28.013Z'
+ created_at: '2021-11-16T15:44:25.941Z'
+ updated_at: '2021-11-16T15:44:25.982Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -9944,39 +10394,40 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ tracking_url:
relationships:
order:
data:
- id: '92'
+ id: '101'
type: order
address:
data:
stock_location:
data:
- id: '160'
+ id: '186'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '49'
+ - id: '67'
type: inventory_unit
shipping_rates:
data:
- - id: '77'
+ - id: '133'
type: shipping_rate
state_changes:
data:
- - id: '21'
+ - id: '29'
type: state_change
selected_shipping_rate:
data:
- id: '77'
+ id: '133'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -10031,16 +10482,16 @@ paths:
Example:
value:
data:
- id: '57'
+ id: '75'
type: shipment
attributes:
tracking: U10000
- number: H74380283300
+ number: H89659023392
cost: '100.0'
shipped_at:
state: pending
- created_at: '2021-11-12T21:16:28.408Z'
- updated_at: '2021-11-12T21:16:28.435Z'
+ created_at: '2021-11-16T15:44:26.790Z'
+ updated_at: '2021-11-16T15:44:26.824Z'
adjustment_total: '0.0'
additional_tax_total: '0.0'
promo_total: '0.0'
@@ -10050,39 +10501,40 @@ paths:
non_taxable_adjustment_total: '0.0'
public_metadata: {}
private_metadata: {}
+ display_discounted_cost: "$100.00"
+ display_item_cost: "$10.00"
display_final_price: "$100.00"
display_amount: "$100.00"
display_cost: "$100.00"
- display_discounted_cost: "$100.00"
- display_item_cost: "$10.00"
+ tracking_url:
relationships:
order:
data:
- id: '94'
+ id: '104'
type: order
address:
data:
stock_location:
data:
- id: '166'
+ id: '194'
type: stock_location
adjustments:
data: []
inventory_units:
data:
- - id: '53'
+ - id: '72'
type: inventory_unit
shipping_rates:
data:
- - id: '85'
+ - id: '144'
type: shipping_rate
state_changes:
data:
- - id: '22'
+ - id: '30'
type: state_change
selected_shipping_rate:
data:
- id: '85'
+ id: '144'
type: shipping_rate
schema:
"$ref": "#/components/schemas/resource"
@@ -10141,18 +10593,18 @@ paths:
Example:
value:
data:
- - id: '113'
+ - id: '124'
type: shipping_category
attributes:
- name: 'ShippingCategory #113'
- created_at: '2021-11-12T21:16:28.679Z'
- updated_at: '2021-11-12T21:16:28.679Z'
- - id: '114'
+ name: 'ShippingCategory #124'
+ created_at: '2021-11-16T15:44:27.157Z'
+ updated_at: '2021-11-16T15:44:27.157Z'
+ - id: '125'
type: shipping_category
attributes:
- name: 'ShippingCategory #114'
- created_at: '2021-11-12T21:16:28.680Z'
- updated_at: '2021-11-12T21:16:28.680Z'
+ name: 'ShippingCategory #125'
+ created_at: '2021-11-16T15:44:27.159Z'
+ updated_at: '2021-11-16T15:44:27.159Z'
meta:
count: 2
total_count: 2
@@ -10193,12 +10645,12 @@ paths:
Example:
value:
data:
- id: '117'
+ id: '128'
type: shipping_category
attributes:
- name: 'ShippingCategory #117'
- created_at: '2021-11-12T21:16:28.735Z'
- updated_at: '2021-11-12T21:16:28.735Z'
+ name: 'ShippingCategory #128'
+ created_at: '2021-11-16T15:44:27.254Z'
+ updated_at: '2021-11-16T15:44:27.254Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -10243,12 +10695,12 @@ paths:
Example:
value:
data:
- id: '118'
+ id: '129'
type: shipping_category
attributes:
- name: 'ShippingCategory #118'
- created_at: '2021-11-12T21:16:28.781Z'
- updated_at: '2021-11-12T21:16:28.781Z'
+ name: 'ShippingCategory #129'
+ created_at: '2021-11-16T15:44:27.314Z'
+ updated_at: '2021-11-16T15:44:27.314Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -10294,12 +10746,12 @@ paths:
Example:
value:
data:
- id: '120'
+ id: '131'
type: shipping_category
attributes:
name: Default
- created_at: '2021-11-12T21:16:28.843Z'
- updated_at: '2021-11-12T21:16:28.852Z'
+ created_at: '2021-11-16T15:44:27.416Z'
+ updated_at: '2021-11-16T15:44:27.425Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -10425,7 +10877,7 @@ paths:
Example:
value:
data:
- - id: '60'
+ - id: '77'
type: shipping_method
attributes:
name: UPS Ground
@@ -10433,15 +10885,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-12T21:16:29.000Z'
- updated_at: '2021-11-12T21:16:29.000Z'
+ created_at: '2021-11-16T15:44:27.650Z'
+ updated_at: '2021-11-16T15:44:27.650Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '125'
+ - id: '136'
type: shipping_category
shipping_rates:
data: []
@@ -10449,9 +10901,9 @@ paths:
data:
calculator:
data:
- id: '120'
+ id: '137'
type: calculator
- - id: '61'
+ - id: '78'
type: shipping_method
attributes:
name: UPS Ground
@@ -10459,15 +10911,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-12T21:16:29.009Z'
- updated_at: '2021-11-12T21:16:29.009Z'
+ created_at: '2021-11-16T15:44:27.663Z'
+ updated_at: '2021-11-16T15:44:27.663Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '125'
+ - id: '136'
type: shipping_category
shipping_rates:
data: []
@@ -10475,7 +10927,7 @@ paths:
data:
calculator:
data:
- id: '121'
+ id: '138'
type: calculator
meta:
count: 2
@@ -10524,7 +10976,7 @@ paths:
Example:
value:
data:
- id: '64'
+ id: '81'
type: shipping_method
attributes:
name: DHL Express Domestic
@@ -10532,25 +10984,25 @@ paths:
admin_name: DHL Express- Zone A
display_on: both
tracking_url:
- created_at: '2021-11-12T21:16:29.095Z'
- updated_at: '2021-11-12T21:16:29.095Z'
+ created_at: '2021-11-16T15:44:27.802Z'
+ updated_at: '2021-11-16T15:44:27.802Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '127'
+ - id: '138'
type: shipping_category
shipping_rates:
data: []
tax_category:
data:
- id: '122'
+ id: '133'
type: tax_category
calculator:
data:
- id: '124'
+ id: '141'
type: calculator
schema:
"$ref": "#/components/schemas/resource"
@@ -10611,7 +11063,7 @@ paths:
Example:
value:
data:
- id: '65'
+ id: '82'
type: shipping_method
attributes:
name: UPS Ground
@@ -10619,15 +11071,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-12T21:16:29.153Z'
- updated_at: '2021-11-12T21:16:29.153Z'
+ created_at: '2021-11-16T15:44:27.879Z'
+ updated_at: '2021-11-16T15:44:27.879Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '128'
+ - id: '139'
type: shipping_category
shipping_rates:
data: []
@@ -10635,7 +11087,7 @@ paths:
data:
calculator:
data:
- id: '125'
+ id: '142'
type: calculator
schema:
"$ref": "#/components/schemas/resource"
@@ -10689,7 +11141,7 @@ paths:
Example:
value:
data:
- id: '67'
+ id: '84'
type: shipping_method
attributes:
name: FedEx Expedited
@@ -10697,15 +11149,15 @@ paths:
admin_name:
display_on: both
tracking_url:
- created_at: '2021-11-12T21:16:29.245Z'
- updated_at: '2021-11-12T21:16:29.258Z'
+ created_at: '2021-11-16T15:44:28.014Z'
+ updated_at: '2021-11-16T15:44:28.033Z'
deleted_at:
public_metadata: {}
private_metadata: {}
relationships:
shipping_categories:
data:
- - id: '130'
+ - id: '141'
type: shipping_category
shipping_rates:
data: []
@@ -10713,7 +11165,7 @@ paths:
data:
calculator:
data:
- id: '128'
+ id: '145'
type: calculator
schema:
"$ref": "#/components/schemas/resource"
@@ -10831,14 +11283,14 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2021-11-12T21:16:29.483Z'
- updated_at: '2021-11-12T21:16:29.483Z'
+ created_at: '2021-11-16T15:44:28.312Z'
+ updated_at: '2021-11-16T15:44:28.312Z'
- id: '3'
type: store_credit_category
attributes:
name: Exchange
- created_at: '2021-11-12T21:16:29.484Z'
- updated_at: '2021-11-12T21:16:29.484Z'
+ created_at: '2021-11-16T15:44:28.313Z'
+ updated_at: '2021-11-16T15:44:28.313Z'
meta:
count: 2
total_count: 2
@@ -10883,8 +11335,8 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2021-11-12T21:16:29.543Z'
- updated_at: '2021-11-12T21:16:29.543Z'
+ created_at: '2021-11-16T15:44:28.403Z'
+ updated_at: '2021-11-16T15:44:28.403Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -10933,8 +11385,8 @@ paths:
type: store_credit_category
attributes:
name: Exchange
- created_at: '2021-11-12T21:16:29.582Z'
- updated_at: '2021-11-12T21:16:29.582Z'
+ created_at: '2021-11-16T15:44:28.464Z'
+ updated_at: '2021-11-16T15:44:28.464Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -10984,8 +11436,8 @@ paths:
type: store_credit_category
attributes:
name: refunded
- created_at: '2021-11-12T21:16:29.649Z'
- updated_at: '2021-11-12T21:16:29.655Z'
+ created_at: '2021-11-16T15:44:28.556Z'
+ updated_at: '2021-11-16T15:44:28.564Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -11097,15 +11549,15 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2021-11-12T21:16:29.873Z'
- updated_at: '2021-11-12T21:16:29.873Z'
+ created_at: '2021-11-16T15:44:28.770Z'
+ updated_at: '2021-11-16T15:44:28.770Z'
- id: '3'
type: store_credit_type
attributes:
name: Expiring
priority: 1
- created_at: '2021-11-12T21:16:29.873Z'
- updated_at: '2021-11-12T21:16:29.873Z'
+ created_at: '2021-11-16T15:44:28.771Z'
+ updated_at: '2021-11-16T15:44:28.771Z'
meta:
count: 2
total_count: 2
@@ -11151,8 +11603,8 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2021-11-12T21:16:29.930Z'
- updated_at: '2021-11-12T21:16:29.930Z'
+ created_at: '2021-11-16T15:44:28.847Z'
+ updated_at: '2021-11-16T15:44:28.847Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -11202,8 +11654,8 @@ paths:
attributes:
name: Expiring
priority: 1
- created_at: '2021-11-12T21:16:29.976Z'
- updated_at: '2021-11-12T21:16:29.976Z'
+ created_at: '2021-11-16T15:44:28.918Z'
+ updated_at: '2021-11-16T15:44:28.918Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -11254,8 +11706,8 @@ paths:
attributes:
name: default
priority: 1
- created_at: '2021-11-12T21:16:30.037Z'
- updated_at: '2021-11-12T21:16:30.043Z'
+ created_at: '2021-11-16T15:44:29.009Z'
+ updated_at: '2021-11-16T15:44:29.017Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -11403,8 +11855,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-12T21:16:30.182Z'
- updated_at: '2021-11-12T21:16:30.182Z'
+ created_at: '2021-11-16T15:44:29.227Z'
+ updated_at: '2021-11-16T15:44:29.227Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -11412,11 +11864,11 @@ paths:
relationships:
user:
data:
- id: '97'
+ id: '107'
type: user
created_by:
data:
- id: '98'
+ id: '108'
type: user
store_credit_category:
data:
@@ -11440,8 +11892,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-12T21:16:30.189Z'
- updated_at: '2021-11-12T21:16:30.189Z'
+ created_at: '2021-11-16T15:44:29.236Z'
+ updated_at: '2021-11-16T15:44:29.236Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -11449,11 +11901,11 @@ paths:
relationships:
user:
data:
- id: '97'
+ id: '107'
type: user
created_by:
data:
- id: '99'
+ id: '109'
type: user
store_credit_category:
data:
@@ -11524,8 +11976,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-12T21:16:30.275Z'
- updated_at: '2021-11-12T21:16:30.275Z'
+ created_at: '2021-11-16T15:44:29.352Z'
+ updated_at: '2021-11-16T15:44:29.352Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -11533,11 +11985,11 @@ paths:
relationships:
user:
data:
- id: '103'
+ id: '113'
type: user
created_by:
data:
- id: '104'
+ id: '114'
type: user
store_credit_category:
data:
@@ -11629,8 +12081,8 @@ paths:
currency: USD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-12T21:16:30.326Z'
- updated_at: '2021-11-12T21:16:30.326Z'
+ created_at: '2021-11-16T15:44:29.439Z'
+ updated_at: '2021-11-16T15:44:29.439Z'
public_metadata: {}
private_metadata: {}
display_amount_used: "$0.00"
@@ -11638,11 +12090,11 @@ paths:
relationships:
user:
data:
- id: '105'
+ id: '115'
type: user
created_by:
data:
- id: '106'
+ id: '116'
type: user
store_credit_category:
data:
@@ -11718,8 +12170,8 @@ paths:
currency: CAD
amount_authorized: '0.0'
originator_type:
- created_at: '2021-11-12T21:16:30.411Z'
- updated_at: '2021-11-12T21:16:30.422Z'
+ created_at: '2021-11-16T15:44:29.558Z'
+ updated_at: '2021-11-16T15:44:29.574Z'
public_metadata:
loyalty_reward: true
private_metadata: {}
@@ -11728,11 +12180,11 @@ paths:
relationships:
user:
data:
- id: '109'
+ id: '119'
type: user
created_by:
data:
- id: '110'
+ id: '120'
type: user
store_credit_category:
data:
@@ -11882,29 +12334,29 @@ paths:
Example:
value:
data:
- - id: '123'
+ - id: '134'
type: tax_category
attributes:
- name: TaxCategory - 786117
- description: Ullam eius reprehenderit adipisci quis ipsam
- quod.
+ name: TaxCategory - 260920
+ description: Possimus rerum ex accusantium soluta.
is_default: false
deleted_at:
- created_at: '2021-11-12T21:16:30.592Z'
- updated_at: '2021-11-12T21:16:30.592Z'
+ created_at: '2021-11-16T15:44:29.835Z'
+ updated_at: '2021-11-16T15:44:29.835Z'
tax_code:
relationships:
tax_rates:
data: []
- - id: '124'
+ - id: '135'
type: tax_category
attributes:
- name: TaxCategory - 683867
- description: Eum porro deleniti id ipsum aperiam eveniet.
+ name: TaxCategory - 921018
+ description: Culpa facere et perferendis modi doloremque eos
+ dolorum.
is_default: false
deleted_at:
- created_at: '2021-11-12T21:16:30.593Z'
- updated_at: '2021-11-12T21:16:30.593Z'
+ created_at: '2021-11-16T15:44:29.836Z'
+ updated_at: '2021-11-16T15:44:29.836Z'
tax_code:
relationships:
tax_rates:
@@ -11956,16 +12408,15 @@ paths:
Example:
value:
data:
- id: '127'
+ id: '138'
type: tax_category
attributes:
- name: TaxCategory - 672282
- description: Excepturi consequatur cumque esse iusto cupiditate
- tempore ab.
+ name: TaxCategory - 826541
+ description: Numquam ad dolore ipsa magnam asperiores.
is_default: false
deleted_at:
- created_at: '2021-11-12T21:16:30.648Z'
- updated_at: '2021-11-12T21:16:30.648Z'
+ created_at: '2021-11-16T15:44:29.919Z'
+ updated_at: '2021-11-16T15:44:29.919Z'
tax_code:
relationships:
tax_rates:
@@ -12021,15 +12472,15 @@ paths:
Example:
value:
data:
- id: '128'
+ id: '139'
type: tax_category
attributes:
- name: TaxCategory - 648934
- description: Sint nesciunt illo ut velit dolorum aliquid.
+ name: TaxCategory - 76211
+ description: Minus nemo atque deserunt corporis.
is_default: false
deleted_at:
- created_at: '2021-11-12T21:16:30.696Z'
- updated_at: '2021-11-12T21:16:30.696Z'
+ created_at: '2021-11-16T15:44:29.994Z'
+ updated_at: '2021-11-16T15:44:29.994Z'
tax_code:
relationships:
tax_rates:
@@ -12086,15 +12537,15 @@ paths:
Example:
value:
data:
- id: '130'
+ id: '141'
type: tax_category
attributes:
name: Clothing
description: Men's, women's and children's clothing
is_default: true
deleted_at:
- created_at: '2021-11-12T21:16:30.760Z'
- updated_at: '2021-11-12T21:16:30.768Z'
+ created_at: '2021-11-16T15:44:30.094Z'
+ updated_at: '2021-11-16T15:44:30.104Z'
tax_code: 1233K
relationships:
tax_rates:
@@ -12235,38 +12686,38 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-12T21:16:30.911Z'
- updated_at: '2021-11-12T21:16:30.911Z'
+ created_at: '2021-11-16T15:44:30.331Z'
+ updated_at: '2021-11-16T15:44:30.331Z'
name:
show_rate_in_label: true
deleted_at:
relationships:
zone:
data:
- id: '82'
+ id: '99'
type: zone
tax_category:
data:
- id: '135'
+ id: '146'
type: tax_category
- id: '13'
type: tax_rate
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-12T21:16:30.914Z'
- updated_at: '2021-11-12T21:16:30.914Z'
+ created_at: '2021-11-16T15:44:30.336Z'
+ updated_at: '2021-11-16T15:44:30.336Z'
name:
show_rate_in_label: true
deleted_at:
relationships:
zone:
data:
- id: '83'
+ id: '100'
type: zone
tax_category:
data:
- id: '135'
+ id: '146'
type: tax_category
meta:
count: 2
@@ -12320,8 +12771,8 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-12T21:16:30.986Z'
- updated_at: '2021-11-12T21:16:30.986Z'
+ created_at: '2021-11-16T15:44:30.441Z'
+ updated_at: '2021-11-16T15:44:30.441Z'
name:
show_rate_in_label: true
deleted_at:
@@ -12330,7 +12781,7 @@ paths:
data:
tax_category:
data:
- id: '137'
+ id: '148'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -12393,19 +12844,19 @@ paths:
attributes:
amount: '0.1'
included_in_price: false
- created_at: '2021-11-12T21:16:31.029Z'
- updated_at: '2021-11-12T21:16:31.029Z'
+ created_at: '2021-11-16T15:44:30.523Z'
+ updated_at: '2021-11-16T15:44:30.523Z'
name:
show_rate_in_label: true
deleted_at:
relationships:
zone:
data:
- id: '86'
+ id: '103'
type: zone
tax_category:
data:
- id: '138'
+ id: '149'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -12464,19 +12915,19 @@ paths:
attributes:
amount: '25.9'
included_in_price: true
- created_at: '2021-11-12T21:16:31.106Z'
- updated_at: '2021-11-12T21:16:31.115Z'
+ created_at: '2021-11-16T15:44:30.639Z'
+ updated_at: '2021-11-16T15:44:30.652Z'
name:
show_rate_in_label: true
deleted_at:
relationships:
zone:
data:
- id: '89'
+ id: '106'
type: zone
tax_category:
data:
- id: '140'
+ id: '151'
type: tax_category
schema:
"$ref": "#/components/schemas/resource"
@@ -12601,8 +13052,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_13
- created_at: '2021-11-12T21:16:31.285Z'
- updated_at: '2021-11-12T21:16:31.301Z'
+ created_at: '2021-11-16T15:44:30.913Z'
+ updated_at: '2021-11-16T15:44:30.933Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -12619,8 +13070,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_14
- created_at: '2021-11-12T21:16:31.302Z'
- updated_at: '2021-11-12T21:16:31.317Z'
+ created_at: '2021-11-16T15:44:30.935Z'
+ updated_at: '2021-11-16T15:44:30.954Z'
position: 2
public_metadata: {}
private_metadata: {}
@@ -12684,8 +13135,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_17
- created_at: '2021-11-12T21:16:31.413Z'
- updated_at: '2021-11-12T21:16:31.413Z'
+ created_at: '2021-11-16T15:44:31.081Z'
+ updated_at: '2021-11-16T15:44:31.081Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -12753,8 +13204,8 @@ paths:
type: taxonomy
attributes:
name: taxonomy_18
- created_at: '2021-11-12T21:16:31.470Z'
- updated_at: '2021-11-12T21:16:31.485Z'
+ created_at: '2021-11-16T15:44:31.175Z'
+ updated_at: '2021-11-16T15:44:31.195Z'
position: 1
public_metadata: {}
private_metadata: {}
@@ -12823,8 +13274,8 @@ paths:
type: taxonomy
attributes:
name: Categories
- created_at: '2021-11-12T21:16:31.573Z'
- updated_at: '2021-11-12T21:16:31.595Z'
+ created_at: '2021-11-16T15:44:31.316Z'
+ updated_at: '2021-11-16T15:44:31.345Z'
position: 1
public_metadata:
balanced: true
@@ -12972,8 +13423,8 @@ paths:
lft: 2
rgt: 3
description:
- created_at: '2021-11-12T21:16:31.900Z'
- updated_at: '2021-11-12T21:16:31.904Z'
+ created_at: '2021-11-16T15:44:31.765Z'
+ updated_at: '2021-11-16T15:44:31.770Z'
meta_title:
meta_description:
meta_keywords:
@@ -13009,8 +13460,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2021-11-12T21:16:31.956Z'
- updated_at: '2021-11-12T21:16:31.959Z'
+ created_at: '2021-11-16T15:44:31.859Z'
+ updated_at: '2021-11-16T15:44:31.864Z'
meta_title:
meta_description:
meta_keywords:
@@ -13046,8 +13497,8 @@ paths:
lft: 6
rgt: 7
description:
- created_at: '2021-11-12T21:16:32.011Z'
- updated_at: '2021-11-12T21:16:32.015Z'
+ created_at: '2021-11-16T15:44:31.952Z'
+ updated_at: '2021-11-16T15:44:31.957Z'
meta_title:
meta_description:
meta_keywords:
@@ -13083,8 +13534,8 @@ paths:
lft: 1
rgt: 8
description:
- created_at: '2021-11-12T21:16:31.840Z'
- updated_at: '2021-11-12T21:16:32.024Z'
+ created_at: '2021-11-16T15:44:31.680Z'
+ updated_at: '2021-11-16T15:44:31.979Z'
meta_title:
meta_description:
meta_keywords:
@@ -13169,8 +13620,8 @@ paths:
lft: 4
rgt: 5
description:
- created_at: '2021-11-12T21:16:32.375Z'
- updated_at: '2021-11-12T21:16:32.380Z'
+ created_at: '2021-11-16T15:44:32.553Z'
+ updated_at: '2021-11-16T15:44:32.560Z'
meta_title:
meta_description:
meta_keywords:
@@ -13257,8 +13708,8 @@ paths:
lft: 6
rgt: 7
description:
- created_at: '2021-11-12T21:16:32.651Z'
- updated_at: '2021-11-12T21:16:32.655Z'
+ created_at: '2021-11-16T15:44:32.981Z'
+ updated_at: '2021-11-16T15:44:32.987Z'
meta_title:
meta_description:
meta_keywords:
@@ -13348,8 +13799,8 @@ paths:
lft: 6
rgt: 7
description:
- created_at: '2021-11-12T21:16:33.107Z'
- updated_at: '2021-11-12T21:16:33.133Z'
+ created_at: '2021-11-16T15:44:33.721Z'
+ updated_at: '2021-11-16T15:44:33.756Z'
meta_title:
meta_description:
meta_keywords:
@@ -13487,8 +13938,8 @@ paths:
lft: 3
rgt: 4
description:
- created_at: '2021-11-12T21:16:34.209Z'
- updated_at: '2021-11-12T21:16:34.234Z'
+ created_at: '2021-11-16T15:44:35.530Z'
+ updated_at: '2021-11-16T15:44:35.564Z'
meta_title:
meta_description:
meta_keywords:
@@ -13590,12 +14041,12 @@ paths:
Example:
value:
data:
- - id: '119'
+ - id: '129'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.539Z'
- updated_at: '2021-11-12T21:16:34.539Z'
+ created_at: '2021-11-16T15:44:36.048Z'
+ updated_at: '2021-11-16T15:44:36.048Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13606,12 +14057,12 @@ paths:
data:
ship_address:
data:
- - id: '120'
+ - id: '130'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.545Z'
- updated_at: '2021-11-12T21:16:34.545Z'
+ created_at: '2021-11-16T15:44:36.057Z'
+ updated_at: '2021-11-16T15:44:36.057Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13622,12 +14073,12 @@ paths:
data:
ship_address:
data:
- - id: '121'
+ - id: '131'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.546Z'
- updated_at: '2021-11-12T21:16:34.546Z'
+ created_at: '2021-11-16T15:44:36.060Z'
+ updated_at: '2021-11-16T15:44:36.060Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13685,12 +14136,12 @@ paths:
Example:
value:
data:
- id: '126'
+ id: '136'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.620Z'
- updated_at: '2021-11-12T21:16:34.620Z'
+ created_at: '2021-11-16T15:44:36.202Z'
+ updated_at: '2021-11-16T15:44:36.202Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13752,12 +14203,12 @@ paths:
Example:
value:
data:
- id: '129'
+ id: '139'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.681Z'
- updated_at: '2021-11-12T21:16:34.681Z'
+ created_at: '2021-11-16T15:44:36.285Z'
+ updated_at: '2021-11-16T15:44:36.285Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13820,12 +14271,12 @@ paths:
Example:
value:
data:
- id: '134'
+ id: '144'
type: user
attributes:
- created_at: '2021-11-12T21:16:34.851Z'
- updated_at: '2021-11-12T21:16:34.860Z'
+ created_at: '2021-11-16T15:44:36.427Z'
+ updated_at: '2021-11-16T15:44:36.439Z'
public_metadata: {}
private_metadata: {}
average_order_value: []
@@ -13961,10 +14412,10 @@ paths:
Example:
value:
data:
- - id: '245'
+ - id: '259'
type: variant
attributes:
- sku: SKU-245
+ sku: SKU-259
weight: '0.0'
height:
depth:
@@ -13974,14 +14425,14 @@ paths:
position: 1
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-12T21:16:35.089Z'
+ updated_at: '2021-11-16T15:44:36.776Z'
discontinue_on:
- created_at: '2021-11-12T21:16:35.085Z'
+ created_at: '2021-11-16T15:44:36.768Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #178 - 4456'
+ name: 'Product #192 - 8637'
options_text: ''
total_on_hand: 0
purchasable: true
@@ -13994,7 +14445,7 @@ paths:
relationships:
product:
data:
- id: '178'
+ id: '192'
type: product
tax_category:
data:
@@ -14006,33 +14457,33 @@ paths:
data: []
stock_items:
data:
- - id: '300'
+ - id: '335'
type: stock_item
stock_locations:
data:
- - id: '170'
+ - id: '198'
type: stock_location
- - id: '246'
+ - id: '260'
type: variant
attributes:
- sku: SKU-246
- weight: '9.22'
- height: '198.21'
- depth: '114.74'
+ sku: SKU-260
+ weight: '36.19'
+ height: '101.86'
+ depth: '105.45'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-12T21:16:35.114Z'
+ updated_at: '2021-11-16T15:44:36.813Z'
discontinue_on:
- created_at: '2021-11-12T21:16:35.109Z'
+ created_at: '2021-11-16T15:44:36.804Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #178 - 4456'
+ name: 'Product #192 - 8637'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -14045,7 +14496,7 @@ paths:
relationships:
product:
data:
- id: '178'
+ id: '192'
type: product
tax_category:
data:
@@ -14059,33 +14510,33 @@ paths:
type: option_value
stock_items:
data:
- - id: '301'
+ - id: '336'
type: stock_item
stock_locations:
data:
- - id: '170'
+ - id: '198'
type: stock_location
- - id: '247'
+ - id: '261'
type: variant
attributes:
- sku: SKU-247
- weight: '4.12'
- height: '94.57'
- depth: '198.34'
+ sku: SKU-261
+ weight: '90.77'
+ height: '22.57'
+ depth: '126.44'
deleted_at:
is_master: false
cost_price: '17.0'
position: 3
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-12T21:16:35.131Z'
+ updated_at: '2021-11-16T15:44:36.837Z'
discontinue_on:
- created_at: '2021-11-12T21:16:35.126Z'
+ created_at: '2021-11-16T15:44:36.829Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #178 - 4456'
+ name: 'Product #192 - 8637'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -14098,7 +14549,7 @@ paths:
relationships:
product:
data:
- id: '178'
+ id: '192'
type: product
tax_category:
data:
@@ -14112,11 +14563,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '302'
+ - id: '337'
type: stock_item
stock_locations:
data:
- - id: '170'
+ - id: '198'
type: stock_location
meta:
count: 3
@@ -14171,27 +14622,27 @@ paths:
Example:
value:
data:
- id: '252'
+ id: '266'
type: variant
attributes:
- sku: SKU-252
- weight: '121.6'
- height: '80.44'
- depth: '33.14'
+ sku: SKU-266
+ weight: '11.32'
+ height: '149.44'
+ depth: '178.92'
deleted_at:
is_master: false
cost_price: '17.0'
position: 2
cost_currency: USD
track_inventory: true
- updated_at: '2021-11-12T21:16:35.330Z'
+ updated_at: '2021-11-16T15:44:37.121Z'
discontinue_on:
- created_at: '2021-11-12T21:16:35.324Z'
+ created_at: '2021-11-16T15:44:37.113Z'
public_metadata: {}
private_metadata: {}
display_compare_at_price:
display_price: "$19.99"
- name: 'Product #180 - 4386'
+ name: 'Product #194 - 8884'
options_text: 'Size: S'
total_on_hand: 0
purchasable: true
@@ -14204,7 +14655,7 @@ paths:
relationships:
product:
data:
- id: '180'
+ id: '194'
type: product
tax_category:
data:
@@ -14218,11 +14669,11 @@ paths:
type: option_value
stock_items:
data:
- - id: '307'
+ - id: '342'
type: stock_item
stock_locations:
data:
- - id: '172'
+ - id: '200'
type: stock_location
schema:
"$ref": "#/components/schemas/resource"
@@ -14352,14 +14803,14 @@ paths:
- id: '1'
type: event
attributes:
- execution_time: 49635
+ execution_time: 88449
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url1.com/
- created_at: '2021-11-12T21:16:35.693Z'
- updated_at: '2021-11-12T21:16:35.693Z'
+ created_at: '2021-11-16T15:44:37.581Z'
+ updated_at: '2021-11-16T15:44:37.581Z'
relationships:
subscriber:
data:
@@ -14368,14 +14819,14 @@ paths:
- id: '2'
type: event
attributes:
- execution_time: 11914
+ execution_time: 4857
name: order.canceled
request_errors: ''
response_code: '200'
success: true
url: https://www.url2.com/
- created_at: '2021-11-12T21:16:35.696Z'
- updated_at: '2021-11-12T21:16:35.696Z'
+ created_at: '2021-11-16T15:44:37.584Z'
+ updated_at: '2021-11-16T15:44:37.584Z'
relationships:
subscriber:
data:
@@ -14451,8 +14902,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-12T21:16:35.759Z'
- updated_at: '2021-11-12T21:16:35.759Z'
+ created_at: '2021-11-16T15:44:37.677Z'
+ updated_at: '2021-11-16T15:44:37.677Z'
- id: '6'
type: subscriber
attributes:
@@ -14460,8 +14911,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-12T21:16:35.760Z'
- updated_at: '2021-11-12T21:16:35.760Z'
+ created_at: '2021-11-16T15:44:37.678Z'
+ updated_at: '2021-11-16T15:44:37.678Z'
meta:
count: 2
total_count: 2
@@ -14509,8 +14960,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-12T21:16:35.815Z'
- updated_at: '2021-11-12T21:16:35.815Z'
+ created_at: '2021-11-16T15:44:37.759Z'
+ updated_at: '2021-11-16T15:44:37.759Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -14565,8 +15016,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-12T21:16:35.860Z'
- updated_at: '2021-11-12T21:16:35.860Z'
+ created_at: '2021-11-16T15:44:37.819Z'
+ updated_at: '2021-11-16T15:44:37.819Z'
schema:
"$ref": "#/components/schemas/resource"
'404':
@@ -14619,8 +15070,8 @@ paths:
active: true
subscriptions:
- "*"
- created_at: '2021-11-12T21:16:35.925Z'
- updated_at: '2021-11-12T21:16:35.925Z'
+ created_at: '2021-11-16T15:44:37.926Z'
+ updated_at: '2021-11-16T15:44:37.926Z'
schema:
"$ref": "#/components/schemas/resource"
'422':
@@ -14741,8 +15192,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:36.197Z'
- updated_at: '2021-11-12T21:16:36.197Z'
+ created_at: '2021-11-16T15:44:38.301Z'
+ updated_at: '2021-11-16T15:44:38.301Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14750,14 +15201,14 @@ paths:
relationships:
variant:
data:
- id: '262'
+ id: '276'
type: variant
- id: '2'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:36.244Z'
- updated_at: '2021-11-12T21:16:36.244Z'
+ created_at: '2021-11-16T15:44:38.360Z'
+ updated_at: '2021-11-16T15:44:38.360Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14765,14 +15216,14 @@ paths:
relationships:
variant:
data:
- id: '264'
+ id: '278'
type: variant
- id: '3'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:36.291Z'
- updated_at: '2021-11-12T21:16:36.291Z'
+ created_at: '2021-11-16T15:44:38.420Z'
+ updated_at: '2021-11-16T15:44:38.420Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14780,14 +15231,14 @@ paths:
relationships:
variant:
data:
- id: '266'
+ id: '280'
type: variant
- id: '4'
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:36.335Z'
- updated_at: '2021-11-12T21:16:36.335Z'
+ created_at: '2021-11-16T15:44:38.478Z'
+ updated_at: '2021-11-16T15:44:38.478Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14795,7 +15246,7 @@ paths:
relationships:
variant:
data:
- id: '268'
+ id: '282'
type: variant
meta:
count: 4
@@ -14848,8 +15299,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:36.705Z'
- updated_at: '2021-11-12T21:16:36.705Z'
+ created_at: '2021-11-16T15:44:38.967Z'
+ updated_at: '2021-11-16T15:44:38.967Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14857,7 +15308,7 @@ paths:
relationships:
variant:
data:
- id: '280'
+ id: '294'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -14919,8 +15370,8 @@ paths:
type: wished_item
attributes:
quantity: 1
- created_at: '2021-11-12T21:16:37.006Z'
- updated_at: '2021-11-12T21:16:37.006Z'
+ created_at: '2021-11-16T15:44:39.258Z'
+ updated_at: '2021-11-16T15:44:39.258Z'
display_price: "$19.99"
display_total: "$19.99"
price: '19.99'
@@ -14928,7 +15379,7 @@ paths:
relationships:
variant:
data:
- id: '286'
+ id: '300'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -14986,8 +15437,8 @@ paths:
type: wished_item
attributes:
quantity: 3
- created_at: '2021-11-12T21:16:37.347Z'
- updated_at: '2021-11-12T21:16:37.355Z'
+ created_at: '2021-11-16T15:44:39.714Z'
+ updated_at: '2021-11-16T15:44:39.724Z'
display_price: "$19.99"
display_total: "$59.97"
price: '19.99'
@@ -14995,7 +15446,7 @@ paths:
relationships:
variant:
data:
- id: '296'
+ id: '310'
type: variant
schema:
"$ref": "#/components/schemas/resource"
@@ -15122,9 +15573,9 @@ paths:
name: Black Friday
is_private: true
is_default: false
- created_at: '2021-11-12T21:16:38.038Z'
- updated_at: '2021-11-12T21:16:38.038Z'
- token: KgrbGWAuxGFyQqeSL2ijsQCj
+ created_at: '2021-11-16T15:44:40.654Z'
+ updated_at: '2021-11-16T15:44:40.654Z'
+ token: Z6b6RuRfJ5bx4zT8FVBbQuNy
variant_included: false
relationships:
wished_items:
@@ -15139,9 +15590,9 @@ paths:
name: Birthday
is_private: true
is_default: false
- created_at: '2021-11-12T21:16:38.039Z'
- updated_at: '2021-11-12T21:16:38.039Z'
- token: uthaEh2HHwHDM2zvSuWVAENd
+ created_at: '2021-11-16T15:44:40.657Z'
+ updated_at: '2021-11-16T15:44:40.657Z'
+ token: e6CagVmuP26fLJcHYEetZ6JF
variant_included: false
relationships:
wished_items:
@@ -15203,9 +15654,9 @@ paths:
name: Wishlist_26
is_private: true
is_default: false
- created_at: '2021-11-12T21:16:38.474Z'
- updated_at: '2021-11-12T21:16:38.474Z'
- token: kParYtHmYm26GKx7fTpkgmNh
+ created_at: '2021-11-16T15:44:41.257Z'
+ updated_at: '2021-11-16T15:44:41.257Z'
+ token: hpE3rJbjDbMTYbZzQd8VURgf
variant_included: false
relationships:
wished_items:
@@ -15269,9 +15720,9 @@ paths:
name: My Wishlist
is_private: true
is_default: false
- created_at: '2021-11-12T21:16:38.532Z'
- updated_at: '2021-11-12T21:16:38.532Z'
- token: JLqV6JqcT1taekpkf9kqDCjC
+ created_at: '2021-11-16T15:44:41.325Z'
+ updated_at: '2021-11-16T15:44:41.325Z'
+ token: G1hy66WsxjLEtiHcLAFfXygA
variant_included: false
relationships:
wished_items:
@@ -15334,9 +15785,9 @@ paths:
name: My Super Wishlist
is_private: true
is_default: false
- created_at: '2021-11-12T21:16:38.609Z'
- updated_at: '2021-11-12T21:16:38.617Z'
- token: i1Gx1nMyY8f3i9j3xGuEdBjc
+ created_at: '2021-11-16T15:44:41.445Z'
+ updated_at: '2021-11-16T15:44:41.457Z'
+ token: NVi2YDigxPpTzecpcqqQxy1Y
variant_included: false
relationships:
wished_items:
@@ -15460,28 +15911,28 @@ paths:
Example:
value:
data:
- - id: '96'
+ - id: '113'
type: zone
attributes:
- name: Magnam architecto recusandae nulla ullam quisquam.
- description: Excepturi deserunt voluptatum consequuntur sint.
+ name: Id asperiores perferendis ab ullam rem voluptas.
+ description: Facilis placeat inventore accusantium velit.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-12T21:16:38.778Z'
- updated_at: '2021-11-12T21:16:38.778Z'
+ created_at: '2021-11-16T15:44:41.728Z'
+ updated_at: '2021-11-16T15:44:41.728Z'
kind: state
relationships:
zone_members:
data: []
- - id: '97'
+ - id: '114'
type: zone
attributes:
- name: Hic voluptatem ipsa ipsam voluptatum maxime ad.
- description: Natus exercitationem facilis occaecati dicta.
+ name: Est eum tenetur et reiciendis architecto repudiandae.
+ description: Aliquid reprehenderit alias ipsa optio aliquam.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-12T21:16:38.779Z'
- updated_at: '2021-11-12T21:16:38.779Z'
+ created_at: '2021-11-16T15:44:41.730Z'
+ updated_at: '2021-11-16T15:44:41.730Z'
kind: state
relationships:
zone_members:
@@ -15533,15 +15984,16 @@ paths:
Example:
value:
data:
- id: '100'
+ id: '117'
type: zone
attributes:
- name: Debitis et illo eum praesentium soluta vitae.
- description: Alias neque veritatis perspiciatis laudantium.
+ name: Error eos fugit exercitationem voluptas blanditiis voluptates.
+ description: Veritatis impedit odit tempora odio dolorum magni
+ praesentium molestias.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-12T21:16:38.836Z'
- updated_at: '2021-11-12T21:16:38.836Z'
+ created_at: '2021-11-16T15:44:41.833Z'
+ updated_at: '2021-11-16T15:44:41.833Z'
kind: state
relationships:
zone_members:
@@ -15597,15 +16049,15 @@ paths:
Example:
value:
data:
- id: '101'
+ id: '118'
type: zone
attributes:
- name: Impedit natus illum labore ipsum asperiores.
- description: Dolor officia numquam accusamus praesentium commodi.
+ name: Facilis sapiente aliquam repellat atque fugit quasi.
+ description: Magni sunt accusamus assumenda laudantium.
default_tax: false
zone_members_count: 0
- created_at: '2021-11-12T21:16:38.882Z'
- updated_at: '2021-11-12T21:16:38.882Z'
+ created_at: '2021-11-16T15:44:41.899Z'
+ updated_at: '2021-11-16T15:44:41.899Z'
kind: state
relationships:
zone_members:
@@ -15662,15 +16114,15 @@ paths:
Example:
value:
data:
- id: '103'
+ id: '120'
type: zone
attributes:
name: EU
description: The zone containing all EU countries
default_tax: false
zone_members_count: 0
- created_at: '2021-11-12T21:16:38.950Z'
- updated_at: '2021-11-12T21:16:38.956Z'
+ created_at: '2021-11-16T15:44:42.014Z'
+ updated_at: '2021-11-16T15:44:42.024Z'
kind: state
relationships:
zone_members:
@@ -17680,7 +18132,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2021-11-12 21:15:57 UTC
+ example: 2021-11-16 15:43:34 UTC
bill_address_id:
type: string
example: '1'
@@ -17748,7 +18200,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2021-11-12 21:15:57 UTC
+ example: 2021-11-16 15:43:34 UTC
confirmation_delivered:
type: boolean
example: true
@@ -17819,7 +18271,7 @@ components:
completed_at:
type: string
format: date_time
- example: 2021-11-12 21:15:57 UTC
+ example: 2021-11-16 15:43:34 UTC
bill_address_id:
type: string
example: '1'
@@ -17887,7 +18339,7 @@ components:
approved_at:
type: string
format: date_time
- example: 2021-11-12 21:15:57 UTC
+ example: 2021-11-16 15:43:34 UTC
confirmation_delivered:
type: boolean
example: true
@@ -18626,6 +19078,77 @@ components:
required:
- zone
x-internal: true
+ create_shipment_params:
+ type: object
+ properties:
+ shipment:
+ type: object
+ required:
+ - stock_location_id
+ - order_id
+ - variant_id
+ properties:
+ stock_location_id:
+ type: string
+ example: '101'
+ order_id:
+ type: string
+ example: '101'
+ variant_id:
+ type: string
+ example: '101'
+ quantity:
+ type: integer
+ example: 2
+ required:
+ - shipping_category
+ x-internal: true
+ update_shipment_params:
+ type: object
+ properties:
+ shipment:
+ type: object
+ properties:
+ tracking:
+ type: string
+ example: MY-TRACKING-REF-12324
+ required:
+ - shipping_category
+ x-internal: true
+ add_item_shipment_params:
+ type: object
+ properties:
+ shipment:
+ type: object
+ required:
+ - variant_id
+ properties:
+ variant_id:
+ type: string
+ example: '101'
+ quantity:
+ type: integer
+ example: 2
+ required:
+ - shipping_category
+ x-internal: true
+ remove_item_shipment_params:
+ type: object
+ properties:
+ shipment:
+ type: object
+ required:
+ - variant_id
+ properties:
+ variant_id:
+ type: string
+ example: '101'
+ quantity:
+ type: integer
+ example: 2
+ required:
+ - shipping_category
+ x-internal: true
create_shipping_category_params:
type: object
properties:
diff --git a/api/spec/integration/api/v2/platform/shipments_spec.rb b/api/spec/integration/api/v2/platform/shipments_spec.rb
index 466328f520..681d2098a1 100644
--- a/api/spec/integration/api/v2/platform/shipments_spec.rb
+++ b/api/spec/integration/api/v2/platform/shipments_spec.rb
@@ -68,7 +68,7 @@ describe 'Shipments API', swagger: true do
operationId "add-item-shipment"
consumes 'application/json'
parameter name: :id, in: :path, type: :string
- parameter name: :shipment, in: :body#, schema: custom_update_params
+ parameter name: :shipment, in: :body, schema: { '$ref' => '#/components/schemas/add_item_shipment_params' }
json_api_include_parameter(options[:include_example])
it_behaves_like 'record updated'
@@ -96,7 +96,7 @@ describe 'Shipments API', swagger: true do
operationId "remove-item-shipment"
consumes 'application/json'
parameter name: :id, in: :path, type: :string
- parameter name: :shipment, in: :body#, schema: custom_update_params
+ parameter name: :shipment, in: :body, schema: { '$ref' => '#/components/schemas/remove_item_shipment_params' }
json_api_include_parameter(options[:include_example])
context 'removes all the quantity' do
diff --git a/api/spec/swagger_helper.rb b/api/spec/swagger_helper.rb
index 55c2cb0bba..e1ed219b88 100644
--- a/api/spec/swagger_helper.rb
+++ b/api/spec/swagger_helper.rb
@@ -1500,6 +1500,67 @@ RSpec.configure do |config|
'x-internal': true
},
+ # Shopment
+ create_shipment_params: {
+ type: :object,
+ properties: {
+ shipment: {
+ type: :object,
+ required: %w[stock_location_id order_id variant_id],
+ properties: {
+ stock_location_id: { type: :string, example: '101' },
+ order_id: { type: :string, example: '101' },
+ variant_id: { type: :string, example: '101' },
+ quantity: { type: :integer, example: 2 }
+ }
+ }
+ },
+ required: %w[shipping_category],
+ 'x-internal': true
+ },
+ update_shipment_params: {
+ type: :object,
+ properties: {
+ shipment: {
+ type: :object,
+ properties: {
+ tracking: { type: :string, example: 'MY-TRACKING-REF-12324' }
+ }
+ }
+ },
+ required: %w[shipping_category],
+ 'x-internal': true
+ },
+ add_item_shipment_params: {
+ type: :object,
+ properties: {
+ shipment: {
+ type: :object,
+ required: %w[variant_id],
+ properties: {
+ variant_id: { type: :string, example: '101' },
+ quantity: { type: :integer, example: 2 }
+ }
+ }
+ },
+ required: %w[shipping_category],
+ 'x-internal': true
+ },
+ remove_item_shipment_params: {
+ type: :object,
+ properties: {
+ shipment: {
+ type: :object,
+ required: %w[variant_id],
+ properties: {
+ variant_id: { type: :string, example: '101' },
+ quantity: { type: :integer, example: 2 }
+ }
+ }
+ },
+ required: %w[shipping_category],
+ 'x-internal': true
+ },
# Shipping Category
create_shipping_category_params: {
type: :object,