spree_api 6.0.6 → 6.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -0
- data/app/controllers/concerns/spree/api/v3/admin/product_membership.rb +2 -2
- data/app/controllers/concerns/spree/api/v3/admin/validation_details.rb +34 -13
- data/app/controllers/concerns/spree/api/v3/authentication_strategies.rb +14 -8
- data/app/controllers/concerns/spree/api/v3/error_handler.rb +31 -4
- data/app/controllers/concerns/spree/api/v3/invitation_resend.rb +28 -0
- data/app/controllers/concerns/spree/api/v3/locale_and_currency.rb +1 -1
- data/app/controllers/concerns/spree/api/v3/resource_serializer.rb +5 -0
- data/app/controllers/concerns/spree/api/v3/scoped_authorization.rb +20 -3
- data/app/controllers/spree/api/v3/admin/admin_users_controller.rb +8 -3
- data/app/controllers/spree/api/v3/admin/api_keys_controller.rb +6 -1
- data/app/controllers/spree/api/v3/admin/auth_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/catalogs_controller.rb +2 -1
- data/app/controllers/spree/api/v3/admin/channels_controller.rb +2 -2
- data/app/controllers/spree/api/v3/admin/collection_rules_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/delivery_methods_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/email_templates_controller.rb +2 -2
- data/app/controllers/spree/api/v3/admin/exports_controller.rb +49 -0
- data/app/controllers/spree/api/v3/admin/gift_cards_controller.rb +9 -0
- data/app/controllers/spree/api/v3/admin/integrations_controller.rb +4 -2
- data/app/controllers/spree/api/v3/admin/invitation_acceptances_controller.rb +10 -3
- data/app/controllers/spree/api/v3/admin/invitations_controller.rb +4 -5
- data/app/controllers/spree/api/v3/admin/order_routing_rules_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/orders/payments_controller.rb +11 -3
- data/app/controllers/spree/api/v3/admin/password_resets_controller.rb +14 -2
- data/app/controllers/spree/api/v3/admin/payment_methods_controller.rb +23 -2
- data/app/controllers/spree/api/v3/admin/permissions_controller.rb +9 -3
- data/app/controllers/spree/api/v3/admin/products_controller.rb +18 -6
- data/app/controllers/spree/api/v3/admin/promotion_actions_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/promotion_rules_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/reporting_controller.rb +1 -5
- data/app/controllers/spree/api/v3/admin/sellers/invitations_controller.rb +12 -12
- data/app/controllers/spree/api/v3/admin/setup_controller.rb +2 -18
- data/app/controllers/spree/api/v3/admin/stock_levels_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/tags_controller.rb +1 -1
- data/app/controllers/spree/api/v3/admin/tax_providers_controller.rb +20 -0
- data/app/controllers/spree/api/v3/admin/translatable_resources_controller.rb +3 -1
- data/app/controllers/spree/api/v3/admin/translations_coverage_controller.rb +11 -9
- data/app/controllers/spree/api/v3/admin/webhook_events_controller.rb +9 -3
- data/app/controllers/spree/api/v3/base_controller.rb +39 -0
- data/app/controllers/spree/api/v3/resource_controller.rb +0 -18
- data/app/controllers/spree/api/v3/seller/invitation_acceptances_controller.rb +2 -2
- data/app/controllers/spree/api/v3/seller/invitations_controller.rb +11 -11
- data/app/controllers/spree/api/v3/seller/onboarding_controller.rb +1 -1
- data/app/controllers/spree/api/v3/seller/password_resets_controller.rb +12 -2
- data/app/controllers/spree/api/v3/seller/products_controller.rb +1 -1
- data/app/controllers/spree/api/v3/store/account/companies_controller.rb +7 -7
- data/app/controllers/spree/api/v3/store/auth_controller.rb +2 -2
- data/app/controllers/spree/api/v3/store/company_invitations_controller.rb +7 -4
- data/app/controllers/spree/api/v3/store/customer/password_resets_controller.rb +11 -1
- data/app/controllers/spree/api/v3/store/newsletter_subscribers_controller.rb +4 -3
- data/app/serializers/spree/api/v3/admin/api_key_serializer.rb +2 -1
- data/app/serializers/spree/api/v3/admin/bulk_product_result_serializer.rb +33 -0
- data/app/serializers/spree/api/v3/admin/bulk_stock_level_result_serializer.rb +17 -0
- data/app/serializers/spree/api/v3/admin/calculator_type_serializer.rb +19 -0
- data/app/serializers/spree/api/v3/admin/company_invitation_serializer.rb +5 -0
- data/app/serializers/spree/api/v3/admin/company_membership_serializer.rb +1 -0
- data/app/serializers/spree/api/v3/admin/country_serializer.rb +8 -0
- data/app/serializers/spree/api/v3/admin/delivery_method_serializer.rb +2 -1
- data/app/serializers/spree/api/v3/admin/fulfillment_serializer.rb +3 -0
- data/app/serializers/spree/api/v3/admin/integration_connection_result_serializer.rb +18 -0
- data/app/serializers/spree/api/v3/admin/integration_type_definition_serializer.rb +25 -0
- data/app/serializers/spree/api/v3/admin/password_reset_acknowledgement_serializer.rb +18 -0
- data/app/serializers/spree/api/v3/admin/payment_method_type_serializer.rb +17 -0
- data/app/serializers/spree/api/v3/admin/product_membership_result_serializer.rb +19 -0
- data/app/serializers/spree/api/v3/admin/reporting_dimension_value_serializer.rb +22 -0
- data/app/serializers/spree/api/v3/admin/reporting_metric_value_serializer.rb +49 -0
- data/app/serializers/spree/api/v3/admin/reporting_result_meta_serializer.rb +44 -0
- data/app/serializers/spree/api/v3/admin/reporting_result_serializer.rb +18 -55
- data/app/serializers/spree/api/v3/admin/reporting_row_serializer.rb +35 -0
- data/app/serializers/spree/api/v3/admin/resource_type_definition_serializer.rb +29 -0
- data/app/serializers/spree/api/v3/admin/setup_status_serializer.rb +17 -0
- data/app/serializers/spree/api/v3/admin/tag_serializer.rb +17 -0
- data/app/serializers/spree/api/v3/admin/translatable_resource_serializer.rb +28 -0
- data/app/serializers/spree/api/v3/admin/translation_coverage_serializer.rb +37 -0
- data/app/serializers/spree/api/v3/company_invitation_serializer.rb +10 -1
- data/app/serializers/spree/api/v3/company_membership_serializer.rb +2 -0
- data/app/serializers/spree/api/v3/fulfillment_serializer.rb +7 -6
- data/app/serializers/spree/api/v3/product_category_serializer.rb +2 -10
- data/app/serializers/spree/api/v3/product_collection_serializer.rb +2 -10
- data/app/serializers/spree/api/v3/seller/bulk_product_result_serializer.rb +22 -0
- data/app/serializers/spree/api/v3/seller/fulfillment_serializer.rb +1 -3
- data/app/serializers/spree/api/v3/seller/password_reset_acknowledgement_serializer.rb +18 -0
- data/app/serializers/spree/api/v3/seller/payout_account_link_serializer.rb +18 -0
- data/app/serializers/spree/api/v3/seller/stock_location_serializer.rb +8 -3
- data/app/services/spree/api/v3/filters_aggregator.rb +1 -5
- data/config/routes.rb +3 -1
- data/lib/spree/api/dependencies.rb +7 -2
- data/lib/spree/api/openapi/schema_helper.rb +86 -2
- data/lib/spree/api/preference_types.rb +8 -0
- data/lib/spree/api/testing_support/deterministic_openapi.rb +87 -0
- data/lib/spree/api/testing_support/openapi.rb +2 -1
- data/lib/spree/api/testing_support/openapi_tasks.rb +3 -0
- data/lib/spree/api/testing_support/response_schema.rb +64 -0
- data/lib/spree/api.rb +1 -0
- data/lib/typelizer/nullable_references.rb +31 -0
- data/openapi/admin.yaml +3571 -524
- data/openapi/store.yaml +353 -153
- metadata +29 -6
data/openapi/store.yaml
CHANGED
|
@@ -708,7 +708,7 @@ paths:
|
|
|
708
708
|
content:
|
|
709
709
|
application/json:
|
|
710
710
|
example:
|
|
711
|
-
signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwiZXhwIjoiMjAyNi0wMS0xNlQxMjowMDowMC4wMDBaIiwicHVyIjoiYmxvYl9pZCJ9fQ==--
|
|
711
|
+
signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwiZXhwIjoiMjAyNi0wMS0xNlQxMjowMDowMC4wMDBaIiwicHVyIjoiYmxvYl9pZCJ9fQ==--0468b7e2435909651c9d949339d3259311ccc43b
|
|
712
712
|
filename: purchase-order.pdf
|
|
713
713
|
content_type: application/pdf
|
|
714
714
|
byte_size: 48210
|
|
@@ -716,7 +716,7 @@ paths:
|
|
|
716
716
|
expires_at: '2026-01-16T12:00:00.000Z'
|
|
717
717
|
upload:
|
|
718
718
|
method: PUT
|
|
719
|
-
url: http://www.example.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiIwc3NuNW5kM3RneWtwcWJndXdybGprZjNwbjc4IiwiY29udGVudF90eXBlIjoiYXBwbGljYXRpb24vcGRmIiwiY29udGVudF9sZW5ndGgiOjQ4MjEwLCJjaGVja3N1bSI6IjVXMjhrY2ZxcDlLMGY1djRZN2VyUkE9PSIsInNlcnZpY2VfbmFtZSI6InRlc3QifSwiZXhwIjoiMjAyNi0wMS0xNVQxMjowNTowMC4wMDBaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--
|
|
719
|
+
url: http://www.example.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiIwc3NuNW5kM3RneWtwcWJndXdybGprZjNwbjc4IiwiY29udGVudF90eXBlIjoiYXBwbGljYXRpb24vcGRmIiwiY29udGVudF9sZW5ndGgiOjQ4MjEwLCJjaGVja3N1bSI6IjVXMjhrY2ZxcDlLMGY1djRZN2VyUkE9PSIsInNlcnZpY2VfbmFtZSI6InRlc3QifSwiZXhwIjoiMjAyNi0wMS0xNVQxMjowNTowMC4wMDBaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--cee9c4f609156bda814bc7f4b04f309a54974432
|
|
720
720
|
headers:
|
|
721
721
|
Content-Type: application/pdf
|
|
722
722
|
schema:
|
|
@@ -814,30 +814,6 @@ paths:
|
|
|
814
814
|
required: true
|
|
815
815
|
schema:
|
|
816
816
|
type: string
|
|
817
|
-
- name: q[complete]
|
|
818
|
-
in: query
|
|
819
|
-
required: false
|
|
820
|
-
schema:
|
|
821
|
-
type: boolean
|
|
822
|
-
description: Set to `true` to apply `complete`.
|
|
823
|
-
- name: q[incomplete]
|
|
824
|
-
in: query
|
|
825
|
-
required: false
|
|
826
|
-
schema:
|
|
827
|
-
type: boolean
|
|
828
|
-
description: Set to `true` to apply `incomplete`.
|
|
829
|
-
- name: q[partially_refunded]
|
|
830
|
-
in: query
|
|
831
|
-
required: false
|
|
832
|
-
schema:
|
|
833
|
-
type: boolean
|
|
834
|
-
description: Set to `true` to apply `partially_refunded`.
|
|
835
|
-
- name: q[refunded]
|
|
836
|
-
in: query
|
|
837
|
-
required: false
|
|
838
|
-
schema:
|
|
839
|
-
type: boolean
|
|
840
|
-
description: Set to `true` to apply `refunded`.
|
|
841
817
|
- name: page
|
|
842
818
|
in: query
|
|
843
819
|
required: false
|
|
@@ -886,56 +862,26 @@ paths:
|
|
|
886
862
|
content: |-
|
|
887
863
|
## Filters
|
|
888
864
|
|
|
889
|
-
Filter with `q[<attribute>_<predicate>]=value`, for example `q[
|
|
865
|
+
Filter with `q[<attribute>_<predicate>]=value`, for example `q[email_cont]=…`. Send a list as `q[<attribute>_in][]=a&q[<attribute>_in][]=b`. [How filters work](/api-reference/store-api/querying#which-filters-an-endpoint-accepts).
|
|
890
866
|
|
|
891
867
|
| Attribute | Kind | Predicates |
|
|
892
868
|
|---|---|---|
|
|
893
|
-
| `channel_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
894
869
|
| `completed_at` | Date and time | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
895
870
|
| `created_at` | Date and time | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
896
|
-
| `
|
|
897
|
-
| `customer_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
898
|
-
| `delivery_total` | Amount | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
899
|
-
| `fulfillment_status` | One of `backorder`, `canceled`, `partial`, `unfulfilled`, `fulfilled`, `delivered`, `pending`, `ready`, `shipped` | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
871
|
+
| `email` | Text | `eq` `not_eq` `in` `not_in` `cont` `i_cont` `not_cont` `start` `end` `null` `not_null` `present` `blank` |
|
|
900
872
|
| `id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
901
|
-
| `
|
|
902
|
-
| `locale` | One of the `LocaleCode` codes | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
903
|
-
| `market_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
904
|
-
| `number` | Text | `eq` `not_eq` `in` `not_in` `cont` `i_cont` `not_cont` `start` `end` `null` `not_null` `present` `blank` |
|
|
905
|
-
| `order_group_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
906
|
-
| `payment_status` | One of `none`, `authorized`, `partially_paid`, `paid`, `partially_refunded`, `refunded`, `overcharged`, `voided`, `balance_due`, `credit_owed`, `failed`, `void` | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
907
|
-
| `po_number` | Text | `eq` `not_eq` `in` `not_in` `cont` `i_cont` `not_cont` `start` `end` `null` `not_null` `present` `blank` |
|
|
908
|
-
| `seller_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
909
|
-
| `status` | One of `draft`, `placed`, `canceled` | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
910
|
-
| `total` | Amount | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
911
|
-
| `total_quantity` | Number | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
873
|
+
| `token` | Text | `eq` `not_eq` `in` `not_in` `cont` `i_cont` `not_cont` `start` `end` `null` `not_null` `present` `blank` |
|
|
912
874
|
| `updated_at` | Date and time | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
913
875
|
|
|
914
|
-
**Sort by:** `
|
|
876
|
+
**Sort by:** `completed_at`, `created_at`, `email`, `id`, `token`, `updated_at`. Prefix a field with `-` to sort descending.
|
|
915
877
|
x-spree-filters:
|
|
916
|
-
table:
|
|
878
|
+
table: Cart
|
|
917
879
|
sortable:
|
|
918
|
-
- channel_id
|
|
919
880
|
- completed_at
|
|
920
881
|
- created_at
|
|
921
|
-
-
|
|
922
|
-
- customer_id
|
|
923
|
-
- delivery_total
|
|
924
|
-
- fulfillment_status
|
|
882
|
+
- email
|
|
925
883
|
- id
|
|
926
|
-
-
|
|
927
|
-
- locale
|
|
928
|
-
- market_id
|
|
929
|
-
- number
|
|
930
|
-
- order_group_id
|
|
931
|
-
- payment_state
|
|
932
|
-
- payment_status
|
|
933
|
-
- po_number
|
|
934
|
-
- seller_id
|
|
935
|
-
- shipment_state
|
|
936
|
-
- status
|
|
937
|
-
- total
|
|
938
|
-
- total_quantity
|
|
884
|
+
- token
|
|
939
885
|
- updated_at
|
|
940
886
|
responses:
|
|
941
887
|
'200':
|
|
@@ -1196,6 +1142,18 @@ paths:
|
|
|
1196
1142
|
in: 2
|
|
1197
1143
|
previous:
|
|
1198
1144
|
next:
|
|
1145
|
+
schema:
|
|
1146
|
+
type: object
|
|
1147
|
+
properties:
|
|
1148
|
+
data:
|
|
1149
|
+
type: array
|
|
1150
|
+
items:
|
|
1151
|
+
"$ref": "#/components/schemas/Cart"
|
|
1152
|
+
meta:
|
|
1153
|
+
"$ref": "#/components/schemas/PaginationMeta"
|
|
1154
|
+
required:
|
|
1155
|
+
- data
|
|
1156
|
+
- meta
|
|
1199
1157
|
'401':
|
|
1200
1158
|
description: unauthorized
|
|
1201
1159
|
content:
|
|
@@ -2131,7 +2089,7 @@ paths:
|
|
|
2131
2089
|
name: Spree Commerce
|
|
2132
2090
|
default: false
|
|
2133
2091
|
gateway_payment_profile_id:
|
|
2134
|
-
payment_method_id:
|
|
2092
|
+
payment_method_id: pm_gbHJdmfrXB
|
|
2135
2093
|
payment_method:
|
|
2136
2094
|
id: pm_UkLWZg9DAJ
|
|
2137
2095
|
name: Check 9
|
|
@@ -2206,8 +2164,8 @@ paths:
|
|
|
2206
2164
|
deliveries: []
|
|
2207
2165
|
delivery_method:
|
|
2208
2166
|
id: dm_UkLWZg9DAJ
|
|
2209
|
-
name: UPS Ground
|
|
2210
|
-
code:
|
|
2167
|
+
name: UPS Ground 186
|
|
2168
|
+
code: UPS_GROUND_204
|
|
2211
2169
|
estimated_transit_business_days_min:
|
|
2212
2170
|
estimated_transit_business_days_max:
|
|
2213
2171
|
digital: false
|
|
@@ -2227,10 +2185,11 @@ paths:
|
|
|
2227
2185
|
state_abbr: AL
|
|
2228
2186
|
pickup_ready_in_minutes:
|
|
2229
2187
|
pickup_instructions:
|
|
2188
|
+
pickup_location:
|
|
2230
2189
|
delivery_rates:
|
|
2231
2190
|
- id: dr_gbHJdmfrXB
|
|
2232
2191
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
2233
|
-
name: UPS Ground
|
|
2192
|
+
name: UPS Ground 186
|
|
2234
2193
|
selected: true
|
|
2235
2194
|
cost: '10.00'
|
|
2236
2195
|
total: '10.00'
|
|
@@ -2249,8 +2208,8 @@ paths:
|
|
|
2249
2208
|
display_tax_total: "$0.00"
|
|
2250
2209
|
delivery_method:
|
|
2251
2210
|
id: dm_UkLWZg9DAJ
|
|
2252
|
-
name: UPS Ground
|
|
2253
|
-
code:
|
|
2211
|
+
name: UPS Ground 186
|
|
2212
|
+
code: UPS_GROUND_204
|
|
2254
2213
|
estimated_transit_business_days_min:
|
|
2255
2214
|
estimated_transit_business_days_max:
|
|
2256
2215
|
digital: false
|
|
@@ -2325,12 +2284,23 @@ paths:
|
|
|
2325
2284
|
example:
|
|
2326
2285
|
error:
|
|
2327
2286
|
code: cart_cannot_complete
|
|
2328
|
-
message:
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2287
|
+
message: Email address is required, Select a delivery method for
|
|
2288
|
+
all fulfillments, Add a payment method
|
|
2289
|
+
details:
|
|
2290
|
+
code: validation_failed
|
|
2291
|
+
errors:
|
|
2292
|
+
- code: email_required
|
|
2293
|
+
step: address
|
|
2294
|
+
field: email
|
|
2295
|
+
message: Email address is required
|
|
2296
|
+
- code: delivery_method_required
|
|
2297
|
+
step: delivery
|
|
2298
|
+
field: delivery_method
|
|
2299
|
+
message: Select a delivery method for all fulfillments
|
|
2300
|
+
- code: payment_required
|
|
2301
|
+
step: payment
|
|
2302
|
+
field: payment
|
|
2303
|
+
message: Add a payment method
|
|
2334
2304
|
schema:
|
|
2335
2305
|
"$ref": "#/components/schemas/ErrorResponse"
|
|
2336
2306
|
"/api/v3/store/carts/{cart_id}/discount_codes":
|
|
@@ -2911,8 +2881,8 @@ paths:
|
|
|
2911
2881
|
deliveries: []
|
|
2912
2882
|
delivery_method:
|
|
2913
2883
|
id: dm_UkLWZg9DAJ
|
|
2914
|
-
name: UPS Ground
|
|
2915
|
-
code:
|
|
2884
|
+
name: UPS Ground 207
|
|
2885
|
+
code: UPS_GROUND_226
|
|
2916
2886
|
estimated_transit_business_days_min:
|
|
2917
2887
|
estimated_transit_business_days_max:
|
|
2918
2888
|
digital: false
|
|
@@ -2932,10 +2902,11 @@ paths:
|
|
|
2932
2902
|
state_abbr: AL
|
|
2933
2903
|
pickup_ready_in_minutes:
|
|
2934
2904
|
pickup_instructions:
|
|
2905
|
+
pickup_location:
|
|
2935
2906
|
delivery_rates:
|
|
2936
2907
|
- id: dr_gbHJdmfrXB
|
|
2937
2908
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
2938
|
-
name: UPS Ground
|
|
2909
|
+
name: UPS Ground 207
|
|
2939
2910
|
selected: true
|
|
2940
2911
|
cost: '10.00'
|
|
2941
2912
|
total: '10.00'
|
|
@@ -2954,8 +2925,8 @@ paths:
|
|
|
2954
2925
|
display_tax_total: "$0.00"
|
|
2955
2926
|
delivery_method:
|
|
2956
2927
|
id: dm_UkLWZg9DAJ
|
|
2957
|
-
name: UPS Ground
|
|
2958
|
-
code:
|
|
2928
|
+
name: UPS Ground 207
|
|
2929
|
+
code: UPS_GROUND_226
|
|
2959
2930
|
estimated_transit_business_days_min:
|
|
2960
2931
|
estimated_transit_business_days_max:
|
|
2961
2932
|
digital: false
|
|
@@ -5046,6 +5017,15 @@ paths:
|
|
|
5046
5017
|
po_number_required: false
|
|
5047
5018
|
parent_id:
|
|
5048
5019
|
ancestors: []
|
|
5020
|
+
schema:
|
|
5021
|
+
type: object
|
|
5022
|
+
properties:
|
|
5023
|
+
data:
|
|
5024
|
+
type: array
|
|
5025
|
+
items:
|
|
5026
|
+
"$ref": "#/components/schemas/CompanyMembership"
|
|
5027
|
+
required:
|
|
5028
|
+
- data
|
|
5049
5029
|
'401':
|
|
5050
5030
|
description: not authenticated
|
|
5051
5031
|
content:
|
|
@@ -5108,6 +5088,8 @@ paths:
|
|
|
5108
5088
|
po_number_required: false
|
|
5109
5089
|
parent_id:
|
|
5110
5090
|
ancestors: []
|
|
5091
|
+
schema:
|
|
5092
|
+
"$ref": "#/components/schemas/Company"
|
|
5111
5093
|
'404':
|
|
5112
5094
|
description: no standing over this node
|
|
5113
5095
|
content:
|
|
@@ -5148,6 +5130,8 @@ paths:
|
|
|
5148
5130
|
po_number_required: false
|
|
5149
5131
|
parent_id:
|
|
5150
5132
|
ancestors: []
|
|
5133
|
+
schema:
|
|
5134
|
+
"$ref": "#/components/schemas/Company"
|
|
5151
5135
|
requestBody:
|
|
5152
5136
|
content:
|
|
5153
5137
|
application/json:
|
|
@@ -5232,6 +5216,18 @@ paths:
|
|
|
5232
5216
|
in: 1
|
|
5233
5217
|
previous:
|
|
5234
5218
|
next:
|
|
5219
|
+
schema:
|
|
5220
|
+
type: object
|
|
5221
|
+
properties:
|
|
5222
|
+
data:
|
|
5223
|
+
type: array
|
|
5224
|
+
items:
|
|
5225
|
+
"$ref": "#/components/schemas/CompanyMembership"
|
|
5226
|
+
meta:
|
|
5227
|
+
"$ref": "#/components/schemas/PaginationMeta"
|
|
5228
|
+
required:
|
|
5229
|
+
- data
|
|
5230
|
+
- meta
|
|
5235
5231
|
post:
|
|
5236
5232
|
summary: Add a member by email
|
|
5237
5233
|
tags:
|
|
@@ -5284,6 +5280,8 @@ paths:
|
|
|
5284
5280
|
expires_at: '2026-02-14T12:00:00.000Z'
|
|
5285
5281
|
company_id: comp_UkLWZg9DAJ
|
|
5286
5282
|
status: pending
|
|
5283
|
+
schema:
|
|
5284
|
+
"$ref": "#/components/schemas/CompanyInvitation"
|
|
5287
5285
|
requestBody:
|
|
5288
5286
|
content:
|
|
5289
5287
|
application/json:
|
|
@@ -5502,6 +5500,18 @@ paths:
|
|
|
5502
5500
|
in: 1
|
|
5503
5501
|
previous:
|
|
5504
5502
|
next:
|
|
5503
|
+
schema:
|
|
5504
|
+
type: object
|
|
5505
|
+
properties:
|
|
5506
|
+
data:
|
|
5507
|
+
type: array
|
|
5508
|
+
items:
|
|
5509
|
+
"$ref": "#/components/schemas/Address"
|
|
5510
|
+
meta:
|
|
5511
|
+
"$ref": "#/components/schemas/PaginationMeta"
|
|
5512
|
+
required:
|
|
5513
|
+
- data
|
|
5514
|
+
- meta
|
|
5505
5515
|
post:
|
|
5506
5516
|
summary: Add an address book entry
|
|
5507
5517
|
tags:
|
|
@@ -5939,8 +5949,8 @@ paths:
|
|
|
5939
5949
|
delivered_at:
|
|
5940
5950
|
delivery_method:
|
|
5941
5951
|
id: dm_UkLWZg9DAJ
|
|
5942
|
-
name: UPS Ground
|
|
5943
|
-
code:
|
|
5952
|
+
name: UPS Ground 190
|
|
5953
|
+
code: UPS_GROUND_208
|
|
5944
5954
|
estimated_transit_business_days_min:
|
|
5945
5955
|
estimated_transit_business_days_max:
|
|
5946
5956
|
digital: false
|
|
@@ -5960,10 +5970,11 @@ paths:
|
|
|
5960
5970
|
state_abbr: AL
|
|
5961
5971
|
pickup_ready_in_minutes:
|
|
5962
5972
|
pickup_instructions:
|
|
5973
|
+
pickup_location:
|
|
5963
5974
|
delivery_rates:
|
|
5964
5975
|
- id: dr_gbHJdmfrXB
|
|
5965
5976
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
5966
|
-
name: UPS Ground
|
|
5977
|
+
name: UPS Ground 190
|
|
5967
5978
|
selected: true
|
|
5968
5979
|
cost: '10.00'
|
|
5969
5980
|
total: '10.00'
|
|
@@ -5982,8 +5993,8 @@ paths:
|
|
|
5982
5993
|
display_tax_total: "$0.00"
|
|
5983
5994
|
delivery_method:
|
|
5984
5995
|
id: dm_UkLWZg9DAJ
|
|
5985
|
-
name: UPS Ground
|
|
5986
|
-
code:
|
|
5996
|
+
name: UPS Ground 190
|
|
5997
|
+
code: UPS_GROUND_208
|
|
5987
5998
|
estimated_transit_business_days_min:
|
|
5988
5999
|
estimated_transit_business_days_max:
|
|
5989
6000
|
digital: false
|
|
@@ -6059,6 +6070,18 @@ paths:
|
|
|
6059
6070
|
in: 1
|
|
6060
6071
|
previous:
|
|
6061
6072
|
next:
|
|
6073
|
+
schema:
|
|
6074
|
+
type: object
|
|
6075
|
+
properties:
|
|
6076
|
+
data:
|
|
6077
|
+
type: array
|
|
6078
|
+
items:
|
|
6079
|
+
"$ref": "#/components/schemas/Order"
|
|
6080
|
+
meta:
|
|
6081
|
+
"$ref": "#/components/schemas/PaginationMeta"
|
|
6082
|
+
required:
|
|
6083
|
+
- data
|
|
6084
|
+
- meta
|
|
6062
6085
|
"/api/v3/store/company_invitations/{token}":
|
|
6063
6086
|
parameters:
|
|
6064
6087
|
- name: token
|
|
@@ -6083,6 +6106,12 @@ paths:
|
|
|
6083
6106
|
required: true
|
|
6084
6107
|
schema:
|
|
6085
6108
|
type: string
|
|
6109
|
+
- name: expand
|
|
6110
|
+
in: query
|
|
6111
|
+
required: false
|
|
6112
|
+
description: Send `company` to include the company the invitation is to.
|
|
6113
|
+
schema:
|
|
6114
|
+
type: string
|
|
6086
6115
|
responses:
|
|
6087
6116
|
'200':
|
|
6088
6117
|
description: invitation found
|
|
@@ -6094,8 +6123,17 @@ paths:
|
|
|
6094
6123
|
expires_at: '2026-02-14T12:00:00.000Z'
|
|
6095
6124
|
company_id: comp_UkLWZg9DAJ
|
|
6096
6125
|
status: pending
|
|
6126
|
+
company:
|
|
6127
|
+
id: comp_UkLWZg9DAJ
|
|
6128
|
+
name: Acme Industrial
|
|
6129
|
+
kind: company
|
|
6130
|
+
po_number_required: false
|
|
6131
|
+
parent_id:
|
|
6132
|
+
ancestors: []
|
|
6097
6133
|
company_name: Acme Industrial
|
|
6098
6134
|
store_name: Spree Test Store
|
|
6135
|
+
schema:
|
|
6136
|
+
"$ref": "#/components/schemas/CompanyInvitation"
|
|
6099
6137
|
'404':
|
|
6100
6138
|
description: token spent, revoked or expired
|
|
6101
6139
|
content:
|
|
@@ -6156,6 +6194,8 @@ paths:
|
|
|
6156
6194
|
company_id: comp_UkLWZg9DAJ
|
|
6157
6195
|
customer_id: cust_UkLWZg9DAJ
|
|
6158
6196
|
email: new@acme.test
|
|
6197
|
+
schema:
|
|
6198
|
+
"$ref": "#/components/schemas/CompanyMembership"
|
|
6159
6199
|
requestBody:
|
|
6160
6200
|
content:
|
|
6161
6201
|
application/json:
|
|
@@ -6781,15 +6821,17 @@ paths:
|
|
|
6781
6821
|
| `created_at` | Date and time | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
6782
6822
|
| `id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
6783
6823
|
| `name` | Text | `eq` `not_eq` `in` `not_in` `cont` `i_cont` `not_cont` `start` `end` `null` `not_null` `present` `blank` |
|
|
6824
|
+
| `payment_method_id` | Prefixed ID | `eq` `not_eq` `in` `not_in` `null` `not_null` |
|
|
6784
6825
|
| `updated_at` | Date and time | `eq` `not_eq` `in` `not_in` `lt` `lteq` `gt` `gteq` `null` `not_null` |
|
|
6785
6826
|
|
|
6786
|
-
**Sort by:** `created_at`, `id`, `name`, `updated_at`. Prefix a field with `-` to sort descending.
|
|
6827
|
+
**Sort by:** `created_at`, `id`, `name`, `payment_method_id`, `updated_at`. Prefix a field with `-` to sort descending.
|
|
6787
6828
|
x-spree-filters:
|
|
6788
6829
|
table: CreditCard
|
|
6789
6830
|
sortable:
|
|
6790
6831
|
- created_at
|
|
6791
6832
|
- id
|
|
6792
6833
|
- name
|
|
6834
|
+
- payment_method_id
|
|
6793
6835
|
- updated_at
|
|
6794
6836
|
responses:
|
|
6795
6837
|
'200':
|
|
@@ -7251,8 +7293,8 @@ paths:
|
|
|
7251
7293
|
delivered_at:
|
|
7252
7294
|
delivery_method:
|
|
7253
7295
|
id: dm_UkLWZg9DAJ
|
|
7254
|
-
name: UPS Ground
|
|
7255
|
-
code:
|
|
7296
|
+
name: UPS Ground 199
|
|
7297
|
+
code: UPS_GROUND_217
|
|
7256
7298
|
estimated_transit_business_days_min:
|
|
7257
7299
|
estimated_transit_business_days_max:
|
|
7258
7300
|
digital: false
|
|
@@ -7272,10 +7314,11 @@ paths:
|
|
|
7272
7314
|
state_abbr: AL
|
|
7273
7315
|
pickup_ready_in_minutes:
|
|
7274
7316
|
pickup_instructions:
|
|
7317
|
+
pickup_location:
|
|
7275
7318
|
delivery_rates:
|
|
7276
7319
|
- id: dr_gbHJdmfrXB
|
|
7277
7320
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
7278
|
-
name: UPS Ground
|
|
7321
|
+
name: UPS Ground 199
|
|
7279
7322
|
selected: true
|
|
7280
7323
|
cost: '10.00'
|
|
7281
7324
|
total: '10.00'
|
|
@@ -7294,8 +7337,8 @@ paths:
|
|
|
7294
7337
|
display_tax_total: "$0.00"
|
|
7295
7338
|
delivery_method:
|
|
7296
7339
|
id: dm_UkLWZg9DAJ
|
|
7297
|
-
name: UPS Ground
|
|
7298
|
-
code:
|
|
7340
|
+
name: UPS Ground 199
|
|
7341
|
+
code: UPS_GROUND_217
|
|
7299
7342
|
estimated_transit_business_days_min:
|
|
7300
7343
|
estimated_transit_business_days_max:
|
|
7301
7344
|
digital: false
|
|
@@ -7580,8 +7623,8 @@ paths:
|
|
|
7580
7623
|
delivered_at:
|
|
7581
7624
|
delivery_method:
|
|
7582
7625
|
id: dm_UkLWZg9DAJ
|
|
7583
|
-
name: UPS Ground
|
|
7584
|
-
code:
|
|
7626
|
+
name: UPS Ground 201
|
|
7627
|
+
code: UPS_GROUND_219
|
|
7585
7628
|
estimated_transit_business_days_min:
|
|
7586
7629
|
estimated_transit_business_days_max:
|
|
7587
7630
|
digital: false
|
|
@@ -7601,10 +7644,11 @@ paths:
|
|
|
7601
7644
|
state_abbr: AL
|
|
7602
7645
|
pickup_ready_in_minutes:
|
|
7603
7646
|
pickup_instructions:
|
|
7647
|
+
pickup_location:
|
|
7604
7648
|
delivery_rates:
|
|
7605
7649
|
- id: dr_gbHJdmfrXB
|
|
7606
7650
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
7607
|
-
name: UPS Ground
|
|
7651
|
+
name: UPS Ground 201
|
|
7608
7652
|
selected: true
|
|
7609
7653
|
cost: '10.00'
|
|
7610
7654
|
total: '10.00'
|
|
@@ -7623,8 +7667,8 @@ paths:
|
|
|
7623
7667
|
display_tax_total: "$0.00"
|
|
7624
7668
|
delivery_method:
|
|
7625
7669
|
id: dm_UkLWZg9DAJ
|
|
7626
|
-
name: UPS Ground
|
|
7627
|
-
code:
|
|
7670
|
+
name: UPS Ground 201
|
|
7671
|
+
code: UPS_GROUND_219
|
|
7628
7672
|
estimated_transit_business_days_min:
|
|
7629
7673
|
estimated_transit_business_days_max:
|
|
7630
7674
|
digital: false
|
|
@@ -9318,6 +9362,18 @@ paths:
|
|
|
9318
9362
|
in: 1
|
|
9319
9363
|
previous:
|
|
9320
9364
|
next:
|
|
9365
|
+
schema:
|
|
9366
|
+
type: object
|
|
9367
|
+
properties:
|
|
9368
|
+
data:
|
|
9369
|
+
type: array
|
|
9370
|
+
items:
|
|
9371
|
+
"$ref": "#/components/schemas/DeliveryMethod"
|
|
9372
|
+
meta:
|
|
9373
|
+
"$ref": "#/components/schemas/PaginationMeta"
|
|
9374
|
+
required:
|
|
9375
|
+
- data
|
|
9376
|
+
- meta
|
|
9321
9377
|
"/api/v3/store/delivery_methods/{id}/pickup_locations":
|
|
9322
9378
|
get:
|
|
9323
9379
|
summary: List pickup locations
|
|
@@ -9380,6 +9436,15 @@ paths:
|
|
|
9380
9436
|
state_abbr: AL
|
|
9381
9437
|
pickup_ready_in_minutes:
|
|
9382
9438
|
pickup_instructions:
|
|
9439
|
+
schema:
|
|
9440
|
+
type: object
|
|
9441
|
+
properties:
|
|
9442
|
+
data:
|
|
9443
|
+
type: array
|
|
9444
|
+
items:
|
|
9445
|
+
"$ref": "#/components/schemas/StockLocation"
|
|
9446
|
+
required:
|
|
9447
|
+
- data
|
|
9383
9448
|
"/api/v3/store/customers/me/digital_links":
|
|
9384
9449
|
get:
|
|
9385
9450
|
summary: List my digital links
|
|
@@ -10835,8 +10900,8 @@ paths:
|
|
|
10835
10900
|
delivered_at:
|
|
10836
10901
|
delivery_method:
|
|
10837
10902
|
id: dm_UkLWZg9DAJ
|
|
10838
|
-
name: UPS Ground
|
|
10839
|
-
code:
|
|
10903
|
+
name: UPS Ground 221
|
|
10904
|
+
code: UPS_GROUND_240
|
|
10840
10905
|
estimated_transit_business_days_min:
|
|
10841
10906
|
estimated_transit_business_days_max:
|
|
10842
10907
|
digital: false
|
|
@@ -10856,10 +10921,11 @@ paths:
|
|
|
10856
10921
|
state_abbr: AL
|
|
10857
10922
|
pickup_ready_in_minutes:
|
|
10858
10923
|
pickup_instructions:
|
|
10924
|
+
pickup_location:
|
|
10859
10925
|
delivery_rates:
|
|
10860
10926
|
- id: dr_gbHJdmfrXB
|
|
10861
10927
|
delivery_method_id: dm_UkLWZg9DAJ
|
|
10862
|
-
name: UPS Ground
|
|
10928
|
+
name: UPS Ground 221
|
|
10863
10929
|
selected: true
|
|
10864
10930
|
cost: '10.00'
|
|
10865
10931
|
total: '10.00'
|
|
@@ -10878,8 +10944,8 @@ paths:
|
|
|
10878
10944
|
display_tax_total: "$0.00"
|
|
10879
10945
|
delivery_method:
|
|
10880
10946
|
id: dm_UkLWZg9DAJ
|
|
10881
|
-
name: UPS Ground
|
|
10882
|
-
code:
|
|
10947
|
+
name: UPS Ground 221
|
|
10948
|
+
code: UPS_GROUND_240
|
|
10883
10949
|
estimated_transit_business_days_min:
|
|
10884
10950
|
estimated_transit_business_days_max:
|
|
10885
10951
|
digital: false
|
|
@@ -11216,7 +11282,7 @@ paths:
|
|
|
11216
11282
|
slug: privacy-policy
|
|
11217
11283
|
body: ''
|
|
11218
11284
|
body_html: ''
|
|
11219
|
-
updated_at: '2026-
|
|
11285
|
+
updated_at: '2026-01-15T12:00:00.000Z'
|
|
11220
11286
|
- id: pol_OIJLhNcSbf
|
|
11221
11287
|
name: Privacy Policy
|
|
11222
11288
|
slug: privacy-policy-f4e5666d-52c2-4d89-aec5-cc55d69c7174
|
|
@@ -11234,19 +11300,19 @@ paths:
|
|
|
11234
11300
|
slug: returns-policy
|
|
11235
11301
|
body: ''
|
|
11236
11302
|
body_html: ''
|
|
11237
|
-
updated_at: '2026-
|
|
11303
|
+
updated_at: '2026-01-15T12:00:00.000Z'
|
|
11238
11304
|
- id: pol_VqXmZF31wY
|
|
11239
11305
|
name: Shipping Policy
|
|
11240
11306
|
slug: shipping-policy
|
|
11241
11307
|
body: ''
|
|
11242
11308
|
body_html: ''
|
|
11243
|
-
updated_at: '2026-
|
|
11309
|
+
updated_at: '2026-01-15T12:00:00.000Z'
|
|
11244
11310
|
- id: pol_UkLWZg9DAJ
|
|
11245
11311
|
name: Terms of Service
|
|
11246
11312
|
slug: terms-of-service
|
|
11247
11313
|
body: ''
|
|
11248
11314
|
body_html: ''
|
|
11249
|
-
updated_at: '2026-
|
|
11315
|
+
updated_at: '2026-01-15T12:00:00.000Z'
|
|
11250
11316
|
meta:
|
|
11251
11317
|
page: 1
|
|
11252
11318
|
limit: 25
|
|
@@ -12503,7 +12569,7 @@ paths:
|
|
|
12503
12569
|
original_price:
|
|
12504
12570
|
seller_id:
|
|
12505
12571
|
prior_price:
|
|
12506
|
-
id:
|
|
12572
|
+
id: pricehist_AXs1igzRC6
|
|
12507
12573
|
currency: USD
|
|
12508
12574
|
amount: '9.99'
|
|
12509
12575
|
amount_in_cents: 999
|
|
@@ -14215,9 +14281,12 @@ components:
|
|
|
14215
14281
|
type: string
|
|
14216
14282
|
nullable: true
|
|
14217
14283
|
owner:
|
|
14218
|
-
|
|
14284
|
+
anyOf:
|
|
14219
14285
|
- "$ref": "#/components/schemas/AddressOwner"
|
|
14220
|
-
|
|
14286
|
+
- type: object
|
|
14287
|
+
nullable: true
|
|
14288
|
+
enum:
|
|
14289
|
+
-
|
|
14221
14290
|
custom_fields:
|
|
14222
14291
|
type: array
|
|
14223
14292
|
items:
|
|
@@ -14916,9 +14985,12 @@ components:
|
|
|
14916
14985
|
type: boolean
|
|
14917
14986
|
nullable: true
|
|
14918
14987
|
freight_summary:
|
|
14919
|
-
|
|
14988
|
+
anyOf:
|
|
14920
14989
|
- "$ref": "#/components/schemas/FreightSummary"
|
|
14921
|
-
|
|
14990
|
+
- type: object
|
|
14991
|
+
nullable: true
|
|
14992
|
+
enum:
|
|
14993
|
+
-
|
|
14922
14994
|
shipping_eq_billing_address:
|
|
14923
14995
|
type: boolean
|
|
14924
14996
|
discounts:
|
|
@@ -14938,25 +15010,37 @@ components:
|
|
|
14938
15010
|
items:
|
|
14939
15011
|
"$ref": "#/components/schemas/Fulfillment"
|
|
14940
15012
|
billing_address:
|
|
14941
|
-
|
|
15013
|
+
anyOf:
|
|
14942
15014
|
- "$ref": "#/components/schemas/Address"
|
|
14943
|
-
|
|
15015
|
+
- type: object
|
|
15016
|
+
nullable: true
|
|
15017
|
+
enum:
|
|
15018
|
+
-
|
|
14944
15019
|
shipping_address:
|
|
14945
|
-
|
|
15020
|
+
anyOf:
|
|
14946
15021
|
- "$ref": "#/components/schemas/Address"
|
|
14947
|
-
|
|
15022
|
+
- type: object
|
|
15023
|
+
nullable: true
|
|
15024
|
+
enum:
|
|
15025
|
+
-
|
|
14948
15026
|
payment_methods:
|
|
14949
15027
|
type: array
|
|
14950
15028
|
items:
|
|
14951
15029
|
"$ref": "#/components/schemas/PaymentMethod"
|
|
14952
15030
|
gift_card:
|
|
14953
|
-
|
|
15031
|
+
anyOf:
|
|
14954
15032
|
- "$ref": "#/components/schemas/GiftCard"
|
|
14955
|
-
|
|
15033
|
+
- type: object
|
|
15034
|
+
nullable: true
|
|
15035
|
+
enum:
|
|
15036
|
+
-
|
|
14956
15037
|
market:
|
|
14957
|
-
|
|
15038
|
+
anyOf:
|
|
14958
15039
|
- "$ref": "#/components/schemas/Market"
|
|
14959
|
-
|
|
15040
|
+
- type: object
|
|
15041
|
+
nullable: true
|
|
15042
|
+
enum:
|
|
15043
|
+
-
|
|
14960
15044
|
required:
|
|
14961
15045
|
- id
|
|
14962
15046
|
- market_id
|
|
@@ -15358,6 +15442,14 @@ components:
|
|
|
15358
15442
|
- accepted
|
|
15359
15443
|
- revoked
|
|
15360
15444
|
- expired
|
|
15445
|
+
company:
|
|
15446
|
+
"$ref": "#/components/schemas/Company"
|
|
15447
|
+
company_name:
|
|
15448
|
+
type: string
|
|
15449
|
+
deprecated: true
|
|
15450
|
+
store_name:
|
|
15451
|
+
type: string
|
|
15452
|
+
deprecated: true
|
|
15361
15453
|
required:
|
|
15362
15454
|
- id
|
|
15363
15455
|
- email
|
|
@@ -15377,6 +15469,8 @@ components:
|
|
|
15377
15469
|
email:
|
|
15378
15470
|
type: string
|
|
15379
15471
|
nullable: true
|
|
15472
|
+
company:
|
|
15473
|
+
"$ref": "#/components/schemas/Company"
|
|
15380
15474
|
required:
|
|
15381
15475
|
- id
|
|
15382
15476
|
- company_id
|
|
@@ -15687,9 +15781,12 @@ components:
|
|
|
15687
15781
|
items:
|
|
15688
15782
|
"$ref": "#/components/schemas/State"
|
|
15689
15783
|
market:
|
|
15690
|
-
|
|
15784
|
+
anyOf:
|
|
15691
15785
|
- "$ref": "#/components/schemas/Market"
|
|
15692
|
-
|
|
15786
|
+
- type: object
|
|
15787
|
+
nullable: true
|
|
15788
|
+
enum:
|
|
15789
|
+
-
|
|
15693
15790
|
required:
|
|
15694
15791
|
- iso
|
|
15695
15792
|
- iso3
|
|
@@ -16008,17 +16105,26 @@ components:
|
|
|
16008
16105
|
items:
|
|
16009
16106
|
"$ref": "#/components/schemas/Address"
|
|
16010
16107
|
default_billing_address:
|
|
16011
|
-
|
|
16108
|
+
anyOf:
|
|
16012
16109
|
- "$ref": "#/components/schemas/Address"
|
|
16013
|
-
|
|
16110
|
+
- type: object
|
|
16111
|
+
nullable: true
|
|
16112
|
+
enum:
|
|
16113
|
+
-
|
|
16014
16114
|
default_shipping_address:
|
|
16015
|
-
|
|
16115
|
+
anyOf:
|
|
16016
16116
|
- "$ref": "#/components/schemas/Address"
|
|
16017
|
-
|
|
16117
|
+
- type: object
|
|
16118
|
+
nullable: true
|
|
16119
|
+
enum:
|
|
16120
|
+
-
|
|
16018
16121
|
newsletter_subscriber:
|
|
16019
|
-
|
|
16122
|
+
anyOf:
|
|
16020
16123
|
- "$ref": "#/components/schemas/NewsletterSubscriber"
|
|
16021
|
-
|
|
16124
|
+
- type: object
|
|
16125
|
+
nullable: true
|
|
16126
|
+
enum:
|
|
16127
|
+
-
|
|
16022
16128
|
customer_groups:
|
|
16023
16129
|
type: array
|
|
16024
16130
|
items:
|
|
@@ -16254,9 +16360,12 @@ components:
|
|
|
16254
16360
|
unpriced:
|
|
16255
16361
|
type: boolean
|
|
16256
16362
|
freight_summary:
|
|
16257
|
-
|
|
16363
|
+
anyOf:
|
|
16258
16364
|
- "$ref": "#/components/schemas/FreightSummary"
|
|
16259
|
-
|
|
16365
|
+
- type: object
|
|
16366
|
+
nullable: true
|
|
16367
|
+
enum:
|
|
16368
|
+
-
|
|
16260
16369
|
display_cost:
|
|
16261
16370
|
type: string
|
|
16262
16371
|
nullable: true
|
|
@@ -16983,9 +17092,12 @@ components:
|
|
|
16983
17092
|
expires_at:
|
|
16984
17093
|
type: string
|
|
16985
17094
|
upload:
|
|
16986
|
-
|
|
17095
|
+
anyOf:
|
|
16987
17096
|
- "$ref": "#/components/schemas/FileUploadTarget"
|
|
16988
|
-
|
|
17097
|
+
- type: object
|
|
17098
|
+
nullable: true
|
|
17099
|
+
enum:
|
|
17100
|
+
-
|
|
16989
17101
|
required:
|
|
16990
17102
|
- signed_id
|
|
16991
17103
|
- filename
|
|
@@ -17159,6 +17271,16 @@ components:
|
|
|
17159
17271
|
"$ref": "#/components/schemas/DeliveryMethod"
|
|
17160
17272
|
stock_location:
|
|
17161
17273
|
"$ref": "#/components/schemas/StockLocation"
|
|
17274
|
+
pickup_location:
|
|
17275
|
+
anyOf:
|
|
17276
|
+
- "$ref": "#/components/schemas/StockLocation"
|
|
17277
|
+
- type: object
|
|
17278
|
+
nullable: true
|
|
17279
|
+
enum:
|
|
17280
|
+
-
|
|
17281
|
+
description: Where the customer collects a pickup — the counter chosen at
|
|
17282
|
+
checkout, which can differ from the stock location it ships from. Null
|
|
17283
|
+
unless the delivery is a pickup.
|
|
17162
17284
|
delivery_rates:
|
|
17163
17285
|
type: array
|
|
17164
17286
|
items:
|
|
@@ -17199,6 +17321,7 @@ components:
|
|
|
17199
17321
|
- deliveries
|
|
17200
17322
|
- delivery_method
|
|
17201
17323
|
- stock_location
|
|
17324
|
+
- pickup_location
|
|
17202
17325
|
- delivery_rates
|
|
17203
17326
|
x-typelizer: true
|
|
17204
17327
|
GiftCardBatch:
|
|
@@ -19867,13 +19990,19 @@ components:
|
|
|
19867
19990
|
type: string
|
|
19868
19991
|
nullable: true
|
|
19869
19992
|
billing_address:
|
|
19870
|
-
|
|
19993
|
+
anyOf:
|
|
19871
19994
|
- "$ref": "#/components/schemas/Address"
|
|
19872
|
-
|
|
19995
|
+
- type: object
|
|
19996
|
+
nullable: true
|
|
19997
|
+
enum:
|
|
19998
|
+
-
|
|
19873
19999
|
shipping_address:
|
|
19874
|
-
|
|
20000
|
+
anyOf:
|
|
19875
20001
|
- "$ref": "#/components/schemas/Address"
|
|
19876
|
-
|
|
20002
|
+
- type: object
|
|
20003
|
+
nullable: true
|
|
20004
|
+
enum:
|
|
20005
|
+
-
|
|
19877
20006
|
orders:
|
|
19878
20007
|
type: array
|
|
19879
20008
|
items:
|
|
@@ -20524,21 +20653,33 @@ components:
|
|
|
20524
20653
|
items:
|
|
20525
20654
|
"$ref": "#/components/schemas/Fulfillment"
|
|
20526
20655
|
billing_address:
|
|
20527
|
-
|
|
20656
|
+
anyOf:
|
|
20528
20657
|
- "$ref": "#/components/schemas/Address"
|
|
20529
|
-
|
|
20658
|
+
- type: object
|
|
20659
|
+
nullable: true
|
|
20660
|
+
enum:
|
|
20661
|
+
-
|
|
20530
20662
|
shipping_address:
|
|
20531
|
-
|
|
20663
|
+
anyOf:
|
|
20532
20664
|
- "$ref": "#/components/schemas/Address"
|
|
20533
|
-
|
|
20665
|
+
- type: object
|
|
20666
|
+
nullable: true
|
|
20667
|
+
enum:
|
|
20668
|
+
-
|
|
20534
20669
|
gift_card:
|
|
20535
|
-
|
|
20670
|
+
anyOf:
|
|
20536
20671
|
- "$ref": "#/components/schemas/GiftCard"
|
|
20537
|
-
|
|
20672
|
+
- type: object
|
|
20673
|
+
nullable: true
|
|
20674
|
+
enum:
|
|
20675
|
+
-
|
|
20538
20676
|
market:
|
|
20539
|
-
|
|
20677
|
+
anyOf:
|
|
20540
20678
|
- "$ref": "#/components/schemas/Market"
|
|
20541
|
-
|
|
20679
|
+
- type: object
|
|
20680
|
+
nullable: true
|
|
20681
|
+
enum:
|
|
20682
|
+
-
|
|
20542
20683
|
custom_fields:
|
|
20543
20684
|
type: array
|
|
20544
20685
|
items:
|
|
@@ -20671,13 +20812,14 @@ components:
|
|
|
20671
20812
|
- checkout
|
|
20672
20813
|
- processing
|
|
20673
20814
|
- pending
|
|
20815
|
+
- requested
|
|
20674
20816
|
- completed
|
|
20675
20817
|
- failed
|
|
20676
20818
|
- void
|
|
20677
20819
|
- invalid
|
|
20678
20820
|
- type: string
|
|
20679
|
-
description:
|
|
20680
|
-
|
|
20821
|
+
description: "`requested` means the payment provider accepted a capture
|
|
20822
|
+
or void and has not answered yet. Extensions may add statuses."
|
|
20681
20823
|
amount:
|
|
20682
20824
|
type: string
|
|
20683
20825
|
nullable: true
|
|
@@ -20702,7 +20844,10 @@ components:
|
|
|
20702
20844
|
- "$ref": "#/components/schemas/CreditCard"
|
|
20703
20845
|
- "$ref": "#/components/schemas/StoreCredit"
|
|
20704
20846
|
- "$ref": "#/components/schemas/PaymentSource"
|
|
20705
|
-
|
|
20847
|
+
- type: object
|
|
20848
|
+
nullable: true
|
|
20849
|
+
enum:
|
|
20850
|
+
-
|
|
20706
20851
|
payment_method:
|
|
20707
20852
|
"$ref": "#/components/schemas/PaymentMethod"
|
|
20708
20853
|
custom_fields:
|
|
@@ -21488,6 +21633,38 @@ components:
|
|
|
21488
21633
|
- display_compare_at_amount
|
|
21489
21634
|
- price_list_id
|
|
21490
21635
|
x-typelizer: true
|
|
21636
|
+
ProductCategory:
|
|
21637
|
+
type: object
|
|
21638
|
+
properties:
|
|
21639
|
+
id:
|
|
21640
|
+
type: string
|
|
21641
|
+
product_id:
|
|
21642
|
+
type: string
|
|
21643
|
+
nullable: true
|
|
21644
|
+
category_id:
|
|
21645
|
+
type: string
|
|
21646
|
+
nullable: true
|
|
21647
|
+
required:
|
|
21648
|
+
- id
|
|
21649
|
+
- product_id
|
|
21650
|
+
- category_id
|
|
21651
|
+
x-typelizer: true
|
|
21652
|
+
ProductCollection:
|
|
21653
|
+
type: object
|
|
21654
|
+
properties:
|
|
21655
|
+
id:
|
|
21656
|
+
type: string
|
|
21657
|
+
product_id:
|
|
21658
|
+
type: string
|
|
21659
|
+
nullable: true
|
|
21660
|
+
collection_id:
|
|
21661
|
+
type: string
|
|
21662
|
+
nullable: true
|
|
21663
|
+
required:
|
|
21664
|
+
- id
|
|
21665
|
+
- product_id
|
|
21666
|
+
- collection_id
|
|
21667
|
+
x-typelizer: true
|
|
21491
21668
|
ProductFilterAvailabilityOption:
|
|
21492
21669
|
type: object
|
|
21493
21670
|
properties:
|
|
@@ -21934,9 +22111,12 @@ components:
|
|
|
21934
22111
|
price:
|
|
21935
22112
|
"$ref": "#/components/schemas/Price"
|
|
21936
22113
|
original_price:
|
|
21937
|
-
|
|
22114
|
+
anyOf:
|
|
21938
22115
|
- "$ref": "#/components/schemas/Price"
|
|
21939
|
-
|
|
22116
|
+
- type: object
|
|
22117
|
+
nullable: true
|
|
22118
|
+
enum:
|
|
22119
|
+
-
|
|
21940
22120
|
seller_id:
|
|
21941
22121
|
type: string
|
|
21942
22122
|
nullable: true
|
|
@@ -21971,9 +22151,12 @@ components:
|
|
|
21971
22151
|
items:
|
|
21972
22152
|
"$ref": "#/components/schemas/CustomField"
|
|
21973
22153
|
prior_price:
|
|
21974
|
-
|
|
22154
|
+
anyOf:
|
|
21975
22155
|
- "$ref": "#/components/schemas/PriceHistory"
|
|
21976
|
-
|
|
22156
|
+
- type: object
|
|
22157
|
+
nullable: true
|
|
22158
|
+
enum:
|
|
22159
|
+
-
|
|
21977
22160
|
required:
|
|
21978
22161
|
- id
|
|
21979
22162
|
- name
|
|
@@ -23336,9 +23519,12 @@ components:
|
|
|
23336
23519
|
price:
|
|
23337
23520
|
"$ref": "#/components/schemas/Price"
|
|
23338
23521
|
original_price:
|
|
23339
|
-
|
|
23522
|
+
anyOf:
|
|
23340
23523
|
- "$ref": "#/components/schemas/Price"
|
|
23341
|
-
|
|
23524
|
+
- type: object
|
|
23525
|
+
nullable: true
|
|
23526
|
+
enum:
|
|
23527
|
+
-
|
|
23342
23528
|
seller_id:
|
|
23343
23529
|
type: string
|
|
23344
23530
|
nullable: true
|
|
@@ -23359,9 +23545,12 @@ components:
|
|
|
23359
23545
|
items:
|
|
23360
23546
|
"$ref": "#/components/schemas/CustomField"
|
|
23361
23547
|
prior_price:
|
|
23362
|
-
|
|
23548
|
+
anyOf:
|
|
23363
23549
|
- "$ref": "#/components/schemas/PriceHistory"
|
|
23364
|
-
|
|
23550
|
+
- type: object
|
|
23551
|
+
nullable: true
|
|
23552
|
+
enum:
|
|
23553
|
+
-
|
|
23365
23554
|
required:
|
|
23366
23555
|
- id
|
|
23367
23556
|
- product_id
|
|
@@ -24959,6 +25148,16 @@ components:
|
|
|
24959
25148
|
updated_at: datetime
|
|
24960
25149
|
associations: {}
|
|
24961
25150
|
scopes: {}
|
|
25151
|
+
Cart:
|
|
25152
|
+
attributes:
|
|
25153
|
+
completed_at: datetime
|
|
25154
|
+
created_at: datetime
|
|
25155
|
+
email: text
|
|
25156
|
+
id: id
|
|
25157
|
+
token: text
|
|
25158
|
+
updated_at: datetime
|
|
25159
|
+
associations: {}
|
|
25160
|
+
scopes: {}
|
|
24962
25161
|
Category:
|
|
24963
25162
|
attributes:
|
|
24964
25163
|
automatic: boolean
|
|
@@ -25035,6 +25234,7 @@ components:
|
|
|
25035
25234
|
created_at: datetime
|
|
25036
25235
|
id: id
|
|
25037
25236
|
name: text
|
|
25237
|
+
payment_method_id: id
|
|
25038
25238
|
updated_at: datetime
|
|
25039
25239
|
associations: {}
|
|
25040
25240
|
scopes: {}
|