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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Regenerate the API references after rebasing on main
Damian Legawiec825f9ba6aa35
diff --git a/docs/api-reference/admin.yaml b/docs/api-reference/admin.yamlindex c66b6857c5..d6341df41c 100644--- a/docs/api-reference/admin.yaml+++ b/docs/api-reference/admin.yaml@@ -3786,6 +3786,7 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'stock_location_ids: []+ default_catalog_id:- id: ch_gbHJdmfrXBname: Wholesalecode: wholesale@@ -3799,6 +3800,7 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'stock_location_ids: []+ default_catalog_id:meta:page: 1limit: 25@@ -3886,6 +3888,7 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'stock_location_ids: []+ default_catalog_id:requestBody:content:application/json:@@ -3986,6 +3989,7 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'stock_location_ids: []+ default_catalog_id:patch:summary: Update a channeltags:@@ -4042,6 +4046,7 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'stock_location_ids: []+ default_catalog_id:requestBody:content:application/json:@@ -12970,6 +12975,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -13034,10 +13041,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -13215,6 +13220,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -13279,10 +13286,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -13437,6 +13442,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1002email: [email protected]customer_note:@@ -13501,10 +13508,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id: sloc_UkLWZg9DAJ- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -13692,6 +13697,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -13756,10 +13763,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -13835,6 +13840,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -13899,10 +13906,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -14090,6 +14095,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -14154,10 +14161,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -14245,6 +14250,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -14309,10 +14316,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -14384,6 +14389,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -14448,10 +14455,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -14514,6 +14519,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -14578,10 +14585,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -14644,6 +14649,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -14708,10 +14715,8 @@ paths:created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'preferred_stock_location_id:- company_location_id:seller_id:order_group_id:- company_id:tags: []internal_note:internal_note_html:@@ -20016,15 +20021,15 @@ paths:label: Countrydescription:preference_schema:- - key: country_code- type: string- default:- key: country_codestype: arraydefault: []- key: country_idtype: integerdefault:+ - key: country_code+ type: string+ default:- type: currencylabel: Currencydescription:@@ -25319,6 +25324,236 @@ paths:reason:type: stringexample: Investigating elevated 5xx rate+ "/api/v3/admin/catalogs":+ get:+ summary: List catalogs+ tags:+ - Catalogs+ security:+ - api_key: []+ bearer_auth: []+ description: |-+ Returns the store catalogs — product assortments with an optional price list, shown to audiences through assignments.++ **Required scope:** `read_products` (for API-key authentication).+ x-codeSamples:+ - lang: javascript+ label: Spree Admin SDK+ source: |-+ import { createAdminClient } from '@spree/admin-sdk'++ const client = createAdminClient({+ baseUrl: 'https://your-store.com',+ secretKey: 'sk_xxx',+ })++ const { data: catalogs } = await client.catalogs.list({ active_eq: true })+ - lang: bash+ label: Spree CLI+ source: spree api get /catalogs -d '{"active_eq":true}'+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '200':+ description: catalogs found+ content:+ application/json:+ example:+ data:+ - id: cat_UkLWZg9DAJ+ name: Wholesale+ active: true+ position: 1+ metadata: {}+ created_at: '2026-01-15T12:00:00.000Z'+ updated_at: '2026-01-15T12:00:00.000Z'+ price_list_id:+ products_count: 0+ meta:+ page: 1+ limit: 25+ count: 1+ pages: 1+ from: 1+ to: 1+ in: 1+ previous:+ next:+ post:+ summary: Create a catalog+ tags:+ - Catalogs+ security:+ - api_key: []+ bearer_auth: []+ description: |-+ Creates a catalog. Add products and assign audiences (channel, customer group, market, or company subtree) afterwards.++ **Required scope:** `write_products` (for API-key authentication).+ x-codeSamples:+ - lang: javascript+ label: Spree Admin SDK+ source: |-+ import { createAdminClient } from '@spree/admin-sdk'++ const client = createAdminClient({+ baseUrl: 'https://your-store.com',+ secretKey: 'sk_xxx',+ })++ const catalog = await client.catalogs.create({+ name: 'VIP Assortment',+ price_list_id: 'pl_86Rf07xd4z',+ })+ - lang: bash+ label: Spree CLI+ source: spree api post /catalogs -d '{"name":"VIP Assortment","price_list_id":"pl_86Rf07xd4z"}'+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '201':+ description: catalog created+ content:+ application/json:+ example:+ id: cat_gbHJdmfrXB+ name: VIP Assortment+ active: true+ position: 2+ metadata: {}+ created_at: '2026-01-15T12:00:00.000Z'+ updated_at: '2026-01-15T12:00:00.000Z'+ price_list_id:+ products_count: 0+ '422':+ description: invalid request+ content:+ application/json:+ example:+ error:+ code: validation_error+ message: Name can't be blank+ details:+ name:+ - can't be blank+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ type: string+ example: VIP Assortment+ active:+ type: boolean+ example: true+ price_list_id:+ type: string+ nullable: true+ description: Price list pricing this catalog; omit for assortment-only+ (base prices). A catalog with an empty assortment prices without+ restricting visibility; import or curate products to make it restrictive.+ example: pl_86Rf07xd4z+ required:+ - name+ "/api/v3/admin/catalogs/{id}/assign":+ post:+ summary: Assign a catalog to an audience+ tags:+ - Catalogs+ security:+ - api_key: []+ bearer_auth: []+ description: |-+ Shows the catalog to an audience. A company assignment covers the node and its whole subtree.++ **Required scope:** `write_products` (for API-key authentication).+ x-codeSamples:+ - lang: javascript+ label: Spree Admin SDK+ source: |-+ import { createAdminClient } from '@spree/admin-sdk'++ const client = createAdminClient({+ baseUrl: 'https://your-store.com',+ secretKey: 'sk_xxx',+ })++ // A company assignment covers the node and its whole subtree.+ const assignment = await client.catalogs.assign('cat_86Rf07xd4z', {+ assignable_type: 'company',+ assignable_id: 'comp_86Rf07xd4z',+ })+ - lang: bash+ label: Spree CLI+ source: spree api post /catalogs/{id}/assign -d '{"assignable_type":"company","assignable_id":"comp_86Rf07xd4z"}'+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '201':+ description: catalog assigned+ content:+ application/json:+ example:+ id: cata_UkLWZg9DAJ+ created_at: '2026-01-15T12:00:00.000Z'+ catalog_id: cat_UkLWZg9DAJ+ assignable_type: company+ assignable_id: comp_UkLWZg9DAJ+ assignable_name: Acme Corp 1+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ assignable_type:+ type: string+ enum:+ - channel+ - customer_group+ - market+ - company+ example: company+ assignable_id:+ type: string+ example: comp_86Rf07xd4z+ required:+ - assignable_type+ - assignable_id"/api/v3/admin/collections":get:summary: List collections@@ -26910,16 +27145,32 @@ paths:responses:'204':description: commission rate deleted- "/api/v3/admin/companies/{company_id}/locations":+ "/api/v3/admin/companies/{company_id}/memberships":+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ - name: company_id+ in: path+ required: true+ schema:+ type: stringget:- summary: List company locations+ summary: List company memberstags:- Companiessecurity:- api_key: []bearer_auth: []description: |-- Returns the branches of a business customer. Each branch owns its own addresses and the buyers authorised to purchase for it.+ Returns the people with standing over this node. Standing covers the node and everything below it in the tree.**Required scope:** `read_customers` (for API-key authentication).x-codeSamples:@@ -26933,43 +27184,23 @@ paths:secretKey: 'sk_xxx',})- const { data: locations } = await client.companies.locations.list('comp_UkLWZg9DAJ')+ const { data: members } = await client.companies.memberships.list('comp_86Rf07xd4z')- lang: bashlabel: Spree CLI- source: spree api get /companies/{company_id}/locations- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- - name: company_id- in: path- required: true- schema:- type: string+ source: spree api get /companies/{company_id}/membershipsresponses:'200':- description: locations found+ description: members foundcontent:application/json:example:data:- - id: cloc_UkLWZg9DAJ- external_references: {}- name: Berlin- metadata: {}+ - id: cmem_UkLWZg9DAJ+ company_id: comp_UkLWZg9DAJ+ customer_id: cust_UkLWZg9DAJ+ email: [email protected]created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'- company_id: comp_UkLWZg9DAJ- contacts_count: 0- billing_address:- shipping_address:meta:page: 1limit: 25@@ -26981,14 +27212,17 @@ paths:previous:next:post:- summary: Create a company location+ summary: Add a member by emailtags:- Companiessecurity:- api_key: []bearer_auth: []description: |-- Creates a branch. Addresses are supplied inline and belong to the branch, so editing one later changes the branch's own record rather than an address the buyer also uses.+ Adds a person to the node by email. An email matching an existing customer becomes a+ membership immediately (a `cmem_…` id); an unknown email becomes an invitation+ (a `cinv_…` id) and the invite email goes out.+**Required scope:** `write_customers` (for API-key authentication).x-codeSamples:@@ -27002,273 +27236,38 @@ paths:secretKey: 'sk_xxx',})- const location = await client.companies.locations.create('comp_UkLWZg9DAJ', {- name: 'Hamburg warehouse',- billing_address: {- first_name: 'Anna',- last_name: 'Muller',- address1: 'Hafenstr 1',- city: 'Hamburg',- postal_code: '20095',- country_code: 'DE',- },+ // An existing customer becomes a member immediately; an unknown email+ // becomes an invitation (check the returned id prefix: cmem_ vs cinv_).+ const member = await client.companies.memberships.create('comp_86Rf07xd4z', {+ customer_email: '[email protected]',})- lang: bashlabel: Spree CLI- source: spree api post /companies/{company_id}/locations -d '{"name":"Hamburg- warehouse","billing_address":{"first_name":"Anna","last_name":"Muller","address1":"Hafenstr- 1","city":"Hamburg","postal_code":"20095","country_code":"DE"}}'- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- - name: company_id- in: path- required: true- schema:- type: string+ source: spree api post /companies/{company_id}/memberships -d '{"customer_email":"[email protected]"}'+ parameters: []responses:'201':- description: location created- content:- application/json:- example:- id: cloc_gbHJdmfrXB- external_references: {}- name: Hamburg warehouse- metadata: {}- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- company_id: comp_UkLWZg9DAJ- contacts_count: 0- billing_address:- id: addr_UkLWZg9DAJ- first_name: Anna- last_name: Muller- full_name: Anna Muller- address1: Hafenstr 1- address2:- postal_code: '20095'- city: Hamburg- phone:- company:- country_name: Germany- country_code: DE- state_text:- state_code:- quick_checkout: false- is_default_billing: false- is_default_shipping: false- state_abbr:- country_iso: DE- state_name:- label:- metadata: {}- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- latitude:- longitude:- customer_id:- shipping_address:- '422':- description: invalid request- content:- application/json:- example:- error:- code: validation_error- message: Name can't be blank- details:- name:- - can't be blank- requestBody:- content:- application/json:- schema:- type: object- properties:- name:- type: string- example: Hamburg warehouse- external_id:- type: string- nullable: true- example: HAM-01- billing_address:- type: object- description: Created inline and owned by the branch.- properties:- first_name:- type: string- last_name:- type: string- address1:- type: string- city:- type: string- postal_code:- type: string- country_code:- type: string- example: DE- required:- - name- "/api/v3/admin/company_locations/{id}":- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- - name: id- in: path- required: true- schema:- type: string- get:- summary: Get a company location- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Branches are addressed by their own id once you hold one — the company id is not needed.-- **Required scope:** `read_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- const location = await client.companyLocations.get('cloc_UkLWZg9DAJ')- - lang: bash- label: Spree CLI- source: spree api get /company_locations/{id}- responses:- '200':- description: location found+ description: member addedcontent:application/json:example:- id: cloc_UkLWZg9DAJ- external_references: {}- name: Berlin- metadata: {}- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'+ id: cmem_UkLWZg9DAJcompany_id: comp_UkLWZg9DAJ- contacts_count: 0- billing_address:- shipping_address:- patch:- summary: Update a company location- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Address fields sent here edit the branch's existing address in place; send only what changes.-- **Required scope:** `write_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- // Address fields edit the branch's existing address in place.- const location = await client.companyLocations.update('cloc_UkLWZg9DAJ', {- name: 'Berlin Mitte',- billing_address: { city: 'Berlin' },- })- - lang: bash- label: Spree CLI- source: spree api patch /company_locations/{id} -d '{"name":"Berlin Mitte","billing_address":{"city":"Berlin"}}'- parameters: []- responses:- '200':- description: location updated- content:- application/json:- example:- id: cloc_UkLWZg9DAJ- external_references: {}- name: Berlin Mitte- metadata: {}+ customer_id: cust_UkLWZg9DAJ+ email: [email protected]created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'- company_id: comp_UkLWZg9DAJ- contacts_count: 0- billing_address:- shipping_address:requestBody:content:application/json:schema:type: objectproperties:- name:+ customer_email:type: string- example: Berlin Mitte- billing_address:- type: object- properties:- city:- type: string- delete:- summary: Delete a company location- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Removes the branch, its buyers and the addresses it owned.-- **Required scope:** `write_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- await client.companyLocations.delete('cloc_UkLWZg9DAJ')- - lang: bash- label: Spree CLI- source: spree api delete /company_locations/{id}- responses:- '204':- description: location deleted+ example: [email protected]+ required:+ - customer_email"/api/v3/admin/companies/{company_id}/tax_exemption_certificates":parameters:- name: x-spree-api-key@@ -27960,12 +27959,16 @@ paths:data:- id: comp_UkLWZg9DAJname: Acme Industrial+ kind: company+ parent_id:+ ancestors: []external_references:erp: ACME-1metadata: {}created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'- locations_count: 0+ children_count: 0+ members_count: 0meta:page: 1limit: 25@@ -27984,7 +27987,7 @@ paths:- api_key: []bearer_auth: []description: |-- Creates a business customer. Exemption certificates and tax registrations hang off it.+ Creates a company node. A root node is a legal entity; pass parent_id and kind to build the organization tree. Exemption certificates and tax registrations hang off legal-entity nodes.**Required scope:** `write_customers` (for API-key authentication).x-codeSamples:@@ -27999,300 +28002,94 @@ paths:})const company = await client.companies.create({- name: 'Globex Corporation',- external_references: { erp: 'GLBX-42' },- })- - lang: bash- label: Spree CLI- source: spree api post /companies -d '{"name":"Globex Corporation","external_references":{"erp":"GLBX-42"}}'- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- responses:- '201':- description: company created- content:- application/json:- example:- id: comp_gbHJdmfrXB- name: Globex Corporation- external_references:- erp: GLBX-42- metadata: {}- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- locations_count: 0- '422':- description: invalid request- content:- application/json:- example:- error:- code: validation_error- message: Name can't be blank- details:- name:- - can't be blank- requestBody:- content:- application/json:- schema:- type: object- properties:- name:- type: string- example: Globex Corporation- external_references:- type: array- description: Identities this business has in your own systems. A- system you do not name keeps the reference it already has, and- creating with a reference that already exists updates that business- instead.- items:- type: object- properties:- system:- type: string- example: erp- external_id:- type: string- example: GLBX-42- required:- - system- - external_id- required:- - name- "/api/v3/admin/company_locations/{company_location_id}/contacts":- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- - name: company_location_id- in: path- required: true- schema:- type: string- get:- summary: List company contacts- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Returns the customers authorised to purchase for a branch. A customer may act for more than one branch.-- **Required scope:** `read_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- const { data: contacts } = await client.companyLocations.contacts.list('cloc_UkLWZg9DAJ')- - lang: bash- label: Spree CLI- source: spree api get /company_locations/{company_location_id}/contacts- responses:- '200':- description: contacts found- content:- application/json:- example:- data:- - id: cc_UkLWZg9DAJ- role: buyer- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- company_location_id: cloc_UkLWZg9DAJ- customer_id: cust_UkLWZg9DAJ- email: [email protected]- meta:- page: 1- limit: 25- count: 1- pages: 1- from: 1- to: 1- in: 1- previous:- next:- post:- summary: Create a company contact- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Authorises a customer to purchase for a branch. A customer who acts for exactly one branch has- their orders attributed to it automatically; one who acts for several needs the branch set on- the order, because guessing would invoice the wrong business.--- **Required scope:** `write_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- const contact = await client.companyLocations.contacts.create('cloc_UkLWZg9DAJ', {- customer_id: 'cus_UkLWZg9DAJ',- role: 'buyer',- })- - lang: bash- label: Spree CLI- source: spree api post /company_locations/{company_location_id}/contacts -d- '{"customer_id":"cus_UkLWZg9DAJ","role":"buyer"}'- parameters: []- responses:- '201':- description: contact created- content:- application/json:- example:- id: cc_gbHJdmfrXB- role: admin- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- company_location_id: cloc_UkLWZg9DAJ- customer_id: cust_gbHJdmfrXB- email: [email protected]- '422':- description: invalid request- content:- application/json:- example:- error:- code: validation_error- message: Customer has already been taken- details:- customer_id:- - has already been taken- requestBody:- content:- application/json:- schema:- type: object- properties:- customer_id:- type: string- example: cus_UkLWZg9DAJ- role:- type: string- description: Free-form label; carries no permissions in 6.0.- example: buyer- required:- - customer_id- "/api/v3/admin/company_contacts/{id}":- parameters:- - name: x-spree-api-key- in: header- required: true- schema:- type: string- - name: Authorization- in: header- required: true- schema:- type: string- - name: id- in: path- required: true- schema:- type: string- get:- summary: Get a company contact- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: "**Required scope:** `read_customers` (for API-key authentication)."- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',- })-- const contact = await client.companyContacts.get('cc_UkLWZg9DAJ')- - lang: bash- label: Spree CLI- source: spree api get /company_contacts/{id}- responses:- '200':- description: contact found- content:- application/json:- example:- id: cc_UkLWZg9DAJ- role: buyer- created_at: '2026-01-15T12:00:00.000Z'- updated_at: '2026-01-15T12:00:00.000Z'- company_location_id: cloc_UkLWZg9DAJ- customer_id: cust_UkLWZg9DAJ- email: [email protected]- delete:- summary: Delete a company contact- tags:- - Companies- security:- - api_key: []- bearer_auth: []- description: |-- Withdraws the customer's authority to purchase for the branch. The customer account itself is untouched.-- **Required scope:** `write_customers` (for API-key authentication).- x-codeSamples:- - lang: javascript- label: Spree Admin SDK- source: |-- import { createAdminClient } from '@spree/admin-sdk'-- const client = createAdminClient({- baseUrl: 'https://your-store.com',- secretKey: 'sk_xxx',+ name: 'Globex Corporation',+ external_references: { erp: 'GLBX-42' },})-- // Withdraws the buyer's authority; the customer account is untouched.- await client.companyContacts.delete('cc_UkLWZg9DAJ')- lang: bashlabel: Spree CLI- source: spree api delete /company_contacts/{id}+ source: spree api post /companies -d '{"name":"Globex Corporation","external_references":{"erp":"GLBX-42"}}'+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: stringresponses:- '204':- description: contact deleted+ '201':+ description: company created+ content:+ application/json:+ example:+ id: comp_gbHJdmfrXB+ name: Globex Corporation+ kind: company+ parent_id:+ ancestors: []+ external_references:+ erp: GLBX-42+ metadata: {}+ created_at: '2026-01-15T12:00:00.000Z'+ updated_at: '2026-01-15T12:00:00.000Z'+ children_count: 0+ members_count: 0+ '422':+ description: invalid request+ content:+ application/json:+ example:+ error:+ code: validation_error+ message: Name can't be blank+ details:+ name:+ - can't be blank+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ type: string+ example: Globex Corporation+ kind:+ type: string+ enum:+ - company+ - division+ description: company = legal entity (may hold tax registrations),+ division = organizational unit. Roots must be company.+ example: company+ parent_id:+ type: string+ nullable: true+ description: The parent node. Omit for a root.+ example: comp_86Rf07xd4z+ external_references:+ type: array+ description: Identities this business has in your own systems. A+ system you do not name keeps the reference it already has, and+ creating with a reference that already exists updates that business+ instead.+ items:+ type: object+ properties:+ system:+ type: string+ example: erp+ external_id:+ type: string+ example: GLBX-42+ required:+ - system+ - external_id+ required:+ - name"/api/v3/admin/custom_field_definitions/resource_types":get:summary: List what custom fields can be attached to@@ -29102,15 +28899,15 @@ paths:- type: Spree::Calculator::Shipping::PerItemname: Flat rate per package itempreference_schema:+ - key: amounts+ type: hash+ default: {}- key: amounttype: decimaldefault: 0- key: currencytype: stringdefault: USD- - key: amounts- type: hash- default: {}- type: Spree::Calculator::Shipping::PriceSackname: Price sackpreference_schema:@@ -29120,24 +28917,24 @@ paths:- key: normal_amounttype: decimaldefault: 0- - key: discount_amount- type: decimal- default: 0- key: currencytype: stringdefault: USD+ - key: discount_amount+ type: decimal+ default: 0- type: Spree::Calculator::Shipping::DigitalDeliveryname: Digital Deliverypreference_schema:+ - key: amounts+ type: hash+ default: {}- key: amounttype: decimaldefault: 0- key: currencytype: stringdefault: USD- - key: amounts- type: hash- default: {}"/api/v3/admin/delivery_zones":post:summary: Create delivery zone@@ -29591,13 +29388,13 @@ paths:video_embed_url:video_url:poster_url:- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b4fdca80742482d33891bf229e1ada5ef52f97f2/thinking-cat.jpg- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e1af0e4dee9872ed57300d1a76dd05789e09819b/thinking-cat.jpg- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b79acb58d868a24b8cbeb21c17995269ea350926/thinking-cat.jpg- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--f326dc231706dceae653f168b050ec48126373f4/thinking-cat.jpg- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--641dedabe2c54d21584e60fc1c7e284d76b90a3d/thinking-cat.jpg- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--d8027178bc9184f1f089ca097f0b20aaa9c98235/thinking-cat.jpg+ original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/thinking-cat.jpg+ mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--208d5157d77b471fdc896c3f844803385eb8caa5/thinking-cat.jpg+ small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--29e31a64675aae7aa9a80f5c04f349c67012b148/thinking-cat.jpg+ medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--fbd4314a0623f3c6e162e9d5b48fc099fc2534ba/thinking-cat.jpg+ large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b6467590202c56fa8900361fef3a7a32d15a5a53/thinking-cat.jpg+ xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--5a70b9d5fd3b078ebdb5e64d0ee651da86fb6b9a/thinking-cat.jpg+ og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--c87a50a2d03b35b3789ee4c7c9499c820fe55b3d/thinking-cat.jpgexternal_references: {}created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'@@ -29605,10 +29402,10 @@ paths:filename: thinking-cat.jpgcontent_type: image/jpegbyte_size: 18090- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/thinking-cat.jpg- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--64ddb6bd970edb5eae924b8d4bac5e71dd65d068/thinking-cat.jpg+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0eviewable_id: prod_UkLWZg9DAJ- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg?disposition=attachment+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/thinking-cat.jpg?disposition=attachmentmetadata: {}viewable_type: productmeta:@@ -29679,13 +29476,13 @@ paths:video_embed_url:video_url:poster_url:- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/library-upload.jpg- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b4fdca80742482d33891bf229e1ada5ef52f97f2/library-upload.jpg- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e1af0e4dee9872ed57300d1a76dd05789e09819b/library-upload.jpg- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b79acb58d868a24b8cbeb21c17995269ea350926/library-upload.jpg- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--f326dc231706dceae653f168b050ec48126373f4/library-upload.jpg- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--641dedabe2c54d21584e60fc1c7e284d76b90a3d/library-upload.jpg- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--d8027178bc9184f1f089ca097f0b20aaa9c98235/library-upload.jpg+ original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/library-upload.jpg+ mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--208d5157d77b471fdc896c3f844803385eb8caa5/library-upload.jpg+ small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--29e31a64675aae7aa9a80f5c04f349c67012b148/library-upload.jpg+ medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--fbd4314a0623f3c6e162e9d5b48fc099fc2534ba/library-upload.jpg+ large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b6467590202c56fa8900361fef3a7a32d15a5a53/library-upload.jpg+ xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--5a70b9d5fd3b078ebdb5e64d0ee651da86fb6b9a/library-upload.jpg+ og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--c87a50a2d03b35b3789ee4c7c9499c820fe55b3d/library-upload.jpgexternal_references: {}created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'@@ -29693,10 +29490,10 @@ paths:filename: library-upload.jpgcontent_type: image/jpegbyte_size: 18090- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/library-upload.jpg- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--64ddb6bd970edb5eae924b8d4bac5e71dd65d068/library-upload.jpg+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602aviewable_id:- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/library-upload.jpg?disposition=attachment+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--3f7bc86cf316457e1639084ee443991b57c4602a/library-upload.jpg?disposition=attachmentmetadata: {}viewable_type:schema:@@ -29853,13 +29650,13 @@ paths:video_embed_url:video_url:poster_url:- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b4fdca80742482d33891bf229e1ada5ef52f97f2/thinking-cat.jpg- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e1af0e4dee9872ed57300d1a76dd05789e09819b/thinking-cat.jpg- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b79acb58d868a24b8cbeb21c17995269ea350926/thinking-cat.jpg- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--f326dc231706dceae653f168b050ec48126373f4/thinking-cat.jpg- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--641dedabe2c54d21584e60fc1c7e284d76b90a3d/thinking-cat.jpg- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--d8027178bc9184f1f089ca097f0b20aaa9c98235/thinking-cat.jpg+ original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/thinking-cat.jpg+ mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--208d5157d77b471fdc896c3f844803385eb8caa5/thinking-cat.jpg+ small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--29e31a64675aae7aa9a80f5c04f349c67012b148/thinking-cat.jpg+ medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--fbd4314a0623f3c6e162e9d5b48fc099fc2534ba/thinking-cat.jpg+ large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--b6467590202c56fa8900361fef3a7a32d15a5a53/thinking-cat.jpg+ xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--5a70b9d5fd3b078ebdb5e64d0ee651da86fb6b9a/thinking-cat.jpg+ og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--c87a50a2d03b35b3789ee4c7c9499c820fe55b3d/thinking-cat.jpgexternal_references: {}created_at: '2026-01-15T12:00:00.000Z'updated_at: '2026-01-15T12:00:00.000Z'@@ -29867,10 +29664,10 @@ paths:filename: thinking-cat.jpgcontent_type: image/jpegbyte_size: 18090- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/thinking-cat.jpg- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--64ddb6bd970edb5eae924b8d4bac5e71dd65d068/thinking-cat.jpg+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0eviewable_id: prod_gbHJdmfrXB- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg?disposition=attachment+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0e/thinking-cat.jpg?disposition=attachmentmetadata: {}viewable_type: productschema:@@ -30603,9 +30400,6 @@ paths:accepted_content_types: []association_fields: []preference_schema:- - key: require_about- type: boolean- default: true- key: require_logotype: booleandefault: true@@ -30615,6 +30409,9 @@ paths:- key: require_contact_emailtype: booleandefault: true+ - key: require_about+ type: boolean+ default: true- type: billing_addressname: Billing addressdescription: The seller has given a billing address@@ -32975,6 +32772,12 @@ components:preferred_stock_location_id:type: stringnullable: true+ company_id:+ type: string+ nullable: true+ company_name:+ type: string+ nullable: truenumber:type: stringtoken:@@ -33117,6 +32920,8 @@ components:- market_id- channel_id- preferred_stock_location_id+ - company_id+ - company_name- number- token@@ -33164,6 +32969,69 @@ components:- updated_at- applied_promotionsx-typelizer: true+ CatalogAssignment:+ type: object+ properties:+ id:+ type: string+ created_at:+ type: string+ catalog_id:+ type: string+ assignable_type:+ type: string+ assignable_id:+ type: string+ assignable_name:+ type: string+ nullable: true+ required:+ - id+ - created_at+ - catalog_id+ - assignable_type+ - assignable_id+ - assignable_name+ x-typelizer: true+ Catalog:+ type: object+ properties:+ id:+ type: string+ name:+ type: string+ active:+ type: boolean+ position:+ type: number+ nullable: true+ metadata:+ type: object+ nullable: true+ created_at:+ type: string+ updated_at:+ type: string+ price_list_id:+ type: string+ nullable: true+ products_count:+ type: number+ assignments:+ type: array+ items:+ "$ref": "#/components/schemas/CatalogAssignment"+ required:+ - id+ - name+ - active+ - position+ - metadata+ - created_at+ - updated_at+ - price_list_id+ - products_count+ x-typelizer: trueCategory:type: objectproperties:@@ -33300,6 +33168,9 @@ components:type: arrayitems:type: string+ default_catalog_id:+ type: string+ nullable: truerequired:- id- name@@ -33314,6 +33185,7 @@ components:- created_at- updated_at- stock_location_ids+ - default_catalog_idx-typelizer: trueClaimLineItem:type: object@@ -33736,72 +33608,94 @@ components:- label- descriptionx-typelizer: true- CompanyContact:+ CompanyAddress:type: objectproperties:id:type: string- role:+ label:type: string+ nullable: true+ default_billing:+ type: boolean+ default_shipping:+ type: booleancreated_at:type: stringupdated_at:type: string- company_location_id:+ company_id:type: string- customer_id:+ address:+ "$ref": "#/components/schemas/Address"+ required:+ - id+ - label+ - default_billing+ - default_shipping+ - created_at+ - updated_at+ - company_id+ - address+ x-typelizer: true+ CompanyInvitation:+ type: object+ properties:+ id:type: stringemail:type: string+ expires_at:+ type: string+ nullable: true+ company_id:+ type: string+ status:+ type: string+ accepted_at:+ type: stringnullable: true+ revoked_at:+ type: string+ nullable: true+ created_at:+ type: string+ updated_at:+ type: stringrequired:- id- - role+ - expires_at+ - company_id+ - status+ - accepted_at+ - revoked_at- created_at- updated_at- - company_location_id- - customer_idx-typelizer: true- CompanyLocation:+ CompanyMembership:type: objectproperties:id:type: string- external_references:- type: object- name:+ company_id:+ type: string+ customer_id:+ type: string+ email:type: string- metadata:- type: objectnullable: truecreated_at:type: stringupdated_at:type: string- company_id:- type: string- contacts_count:- type: number- billing_address:- "$ref": "#/components/schemas/Address"- shipping_address:- "$ref": "#/components/schemas/Address"- company_contacts:- type: array- items:- "$ref": "#/components/schemas/CompanyContact"required:- id- - external_references- - name- - metadata+ - company_id+ - customer_id- created_at- updated_at- - company_id- - contacts_count- - billing_address- - shipping_addressx-typelizer: trueCompany:type: object@@ -33810,6 +33704,13 @@ components:type: stringname:type: string+ kind:+ type: string+ parent_id:+ type: string+ nullable: true+ ancestors:+ type: objectexternal_references:type: objectmetadata:@@ -33819,20 +33720,34 @@ components:type: stringupdated_at:type: string- locations_count:+ children_count:type: number- company_locations:+ members_count:+ type: number+ children:+ type: array+ items:+ "$ref": "#/components/schemas/Company"+ addresses:+ type: array+ items:+ "$ref": "#/components/schemas/CompanyAddress"+ memberships:type: arrayitems:- "$ref": "#/components/schemas/CompanyLocation"+ "$ref": "#/components/schemas/CompanyMembership"required:- id- name+ - kind+ - parent_id+ - ancestors- external_references- metadata- created_at- updated_at- - locations_count+ - children_count+ - members_countx-typelizer: trueCountry:type: object@@ -35955,6 +35870,12 @@ components:channel_id:type: stringnullable: true+ company_id:+ type: string+ nullable: true+ company_name:+ type: string+ nullable: truenumber:type: stringemail:@@ -36091,9 +36012,6 @@ components:preferred_stock_location_id:type: stringnullable: true- company_location_id:- type: string- nullable: trueseller_id:type: stringnullable: true@@ -36102,9 +36020,6 @@ components:order_group_id:type: stringnullable: true- company_id:- type: string- nullable: truetags:type: arrayitems:@@ -36166,6 +36081,8 @@ components:- market_id- cart_id- channel_id+ - company_id+ - company_name- number- customer_note@@ -36217,10 +36134,8 @@ components:- created_at- updated_at- preferred_stock_location_id- - company_location_id- seller_id- order_group_id- - company_id- tags- internal_note- internal_note_htmldiff --git a/docs/api-reference/seller.yaml b/docs/api-reference/seller.yamlindex d31d60174f..31efe06506 100644--- a/docs/api-reference/seller.yaml+++ b/docs/api-reference/seller.yaml@@ -461,6 +461,27 @@ paths:subjects:- Spree::ProductPublicationhas_conditions: false+ - allow: true+ actions:+ - read+ - admin+ subjects:+ - Spree::Catalog+ has_conditions: false+ - allow: true+ actions:+ - read+ - admin+ subjects:+ - Spree::CatalogProduct+ has_conditions: false+ - allow: true+ actions:+ - read+ - admin+ subjects:+ - Spree::CatalogAssignment+ has_conditions: false- allow: trueactions:- read@@ -522,6 +543,24 @@ paths:subjects:- Spree::ProductPublicationhas_conditions: false+ - allow: true+ actions:+ - manage+ subjects:+ - Spree::Catalog+ has_conditions: false+ - allow: true+ actions:+ - manage+ subjects:+ - Spree::CatalogProduct+ has_conditions: false+ - allow: true+ actions:+ - manage+ subjects:+ - Spree::CatalogAssignment+ has_conditions: false- allow: trueactions:- manage@@ -13620,10 +13659,10 @@ paths:application/json:example:direct_upload:- url: http://www.example.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiJuem5oOGdra3VxendvbDc1ODBxNHNwZmpmMjVxIiwiY29udGVudF90eXBlIjoiYXBwbGljYXRpb24vcGRmIiwiY29udGVudF9sZW5ndGgiOjUxMjM0LCJjaGVja3N1bSI6IlZqaHowNGxRdUVHdXY0bkR2aHNhTlE9PSIsInNlcnZpY2VfbmFtZSI6InRlc3QifSwiZXhwIjoiMjAyNi0wMS0xNVQxMjowNTowMC4wMDBaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--c79d164b6cf3869619d5c5d61ce1ef2d5ffd7f10+ url: http://www.example.com/rails/active_storage/disk/eyJfcmFpbHMiOnsiZGF0YSI6eyJrZXkiOiJuem5oOGdra3VxendvbDc1ODBxNHNwZmpmMjVxIiwiY29udGVudF90eXBlIjoiYXBwbGljYXRpb24vcGRmIiwiY29udGVudF9sZW5ndGgiOjUxMjM0LCJjaGVja3N1bSI6IlZqaHowNGxRdUVHdXY0bkR2aHNhTlE9PSIsInNlcnZpY2VfbmFtZSI6InRlc3QifSwiZXhwIjoiMjAyNi0wMS0xNVQxMjowNTowMC4wMDBaIiwicHVyIjoiYmxvYl90b2tlbiJ9fQ==--49e6b0135727894334d5773bcd61cbc79c9007cbheaders:Content-Type: application/pdf- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--7d6eceb54cf8a3e8a38c69a13e85670ab0448b0eschema:"$ref": "#/components/schemas/DirectUploadResponse"requestBody:diff --git a/docs/api-reference/store.yaml b/docs/api-reference/store.yamlindex 0d196c33d4..f07f1fefdc 100644--- a/docs/api-reference/store.yaml+++ b/docs/api-reference/store.yaml@@ -1051,8 +1051,8 @@ paths:example:data:- id: prod_UkLWZg9DAJ- name: Product 2029085- slug: product-2029085+ name: Product 2039085+ slug: product-2039085meta_title:meta_description:meta_keywords:@@ -1083,8 +1083,8 @@ paths:original_price:seller_id:- id: prod_gbHJdmfrXB- name: Product 2038209- slug: product-2038209+ name: Product 2048209+ slug: product-2048209meta_title:meta_description:meta_keywords:@@ -1212,8 +1212,8 @@ paths:application/json:example:id: prod_UkLWZg9DAJ- name: Product 2306885- slug: product-2306885+ name: Product 2316885+ slug: product-2316885meta_title:meta_description:meta_keywords:@@ -1498,6 +1498,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: ckMf2iQ6r5adLceTPfKVH9BPemail:@@ -1607,6 +1609,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_gbHJdmfrXBtoken: pvLw1ZWLLQNxh1uvSPUCdSmtemail:@@ -1787,6 +1791,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: jBrNbC8FSNyavqebdqu7e3uLemail:@@ -1955,6 +1961,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: HnnryvFFwjfx9P6ykByF4Gg2email:@@ -2112,6 +2120,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: PMVmxRAiLqMivU5QgJqfpQMDemail:@@ -2391,6 +2401,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: rrGvkDXx3KcQVwLVk8XiVCVkemail: [email protected]@@ -2607,6 +2619,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id: cart_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -2918,6 +2932,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: 4ryA4ms4Nim9TfxNW4fZi3auemail:@@ -2981,8 +2997,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1684241- slug: product-1684241+ name: Product 1694241+ slug: product-1694241options_text: ''price: '10.0'display_price: "$10.00"@@ -3110,6 +3126,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: gvr8TwNVJpxWf27uUHDj5Lj4email:@@ -3170,8 +3188,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1703461- slug: product-1703461+ name: Product 1713461+ slug: product-1713461options_text: ''price: '10.0'display_price: "$10.00"@@ -3293,6 +3311,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: KLLfFWg9T6dGonBb65hHjaZremail: [email protected]@@ -3347,8 +3367,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1728182- slug: product-1728182+ name: Product 1738182+ slug: product-1738182options_text: ''price: '10.0'display_price: "$10.00"@@ -3457,7 +3477,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 199 Lovely Street+ address1: 226 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -3577,6 +3597,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: nZjAPYSKrNaHf2ZVT6eZfNJVemail:@@ -3633,8 +3655,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1745702- slug: product-1745702+ name: Product 1755702+ slug: product-1755702options_text: ''price: '10.0'display_price: "$10.00"@@ -3817,6 +3839,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: Wgq8NrLX3TUQLroJRYWFdQd5email:@@ -3877,8 +3901,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1789569- slug: product-1789569+ name: Product 1799569+ slug: product-1799569options_text: ''price: '10.0'display_price: "$10.00"@@ -4016,6 +4040,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: d12LXVnL3KtzGjXePqRawnPcemail:@@ -4025,10 +4051,10 @@ paths:total_quantity: 2warnings:- code: delivery_unavailable- message: Product 18163 cannot be delivered to the selected address+ message: Product 18263 cannot be delivered to the selected addressline_item_id: li_UkLWZg9DAJ- code: delivery_unavailable- message: Product 182298 cannot be delivered to the selected address+ message: Product 183298 cannot be delivered to the selected addressline_item_id: li_gbHJdmfrXBcoupon_code:item_total: '29.99'@@ -4082,8 +4108,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 18163- slug: product-18163+ name: Product 18263+ slug: product-18263options_text: ''price: '10.0'display_price: "$10.00"@@ -4113,8 +4139,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 182298- slug: product-182298+ name: Product 183298+ slug: product-183298options_text: ''price: '19.99'display_price: "$19.99"@@ -4269,6 +4295,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: Yq5XuZqq7KS7y7n2dMsChnZMemail:@@ -4333,8 +4361,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1889165- slug: product-1889165+ name: Product 1899165+ slug: product-1899165options_text: ''price: '10.0'display_price: "$10.00"@@ -4451,6 +4479,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: arTvbVzmU1krWKLbRnWDZ3cLemail:@@ -5087,6 +5117,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: acfBZtWemHae74Y3g18LQg1femail:@@ -5143,8 +5175,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 2509789- slug: product-2509789+ name: Product 2519789+ slug: product-2519789options_text: ''price: '10.0'display_price: "$10.00"@@ -5291,6 +5323,8 @@ paths:market_id: mkt_UkLWZg9DAJchannel_id: ch_UkLWZg9DAJpreferred_stock_location_id:+ company_id:+ company_name:number: cart_UkLWZg9DAJtoken: BHWevnp2PQxC1jSWU3ZFLejTemail:@@ -5351,8 +5385,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 252179- slug: product-252179+ name: Product 253179+ slug: product-253179options_text: ''price: '10.0'display_price: "$10.00"@@ -5471,6 +5505,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -5516,8 +5552,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 192496- slug: product-192496+ name: Product 193496+ slug: product-193496options_text: ''price: '10.0'display_price: "$10.00"@@ -5625,7 +5661,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 255 Lovely Street+ address1: 282 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -5646,7 +5682,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 256 Lovely Street+ address1: 283 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -6571,6 +6607,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -6616,8 +6654,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1585270- slug: product-1585270+ name: Product 1595270+ slug: product-1595270options_text: ''price: '10.0'display_price: "$10.00"@@ -6725,7 +6763,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 159 Lovely Street+ address1: 186 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -6746,7 +6784,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 160 Lovely Street+ address1: 187 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -6875,6 +6913,8 @@ paths:market_id: mkt_UkLWZg9DAJcart_id:channel_id: ch_UkLWZg9DAJ+ company_id:+ company_name:number: R1001email: [email protected]customer_note:@@ -6920,8 +6960,8 @@ paths:preorder_ships_at:quantity: 1currency: USD- name: Product 1605633- slug: product-1605633+ name: Product 1615633+ slug: product-1615633options_text: ''price: '10.0'display_price: "$10.00"@@ -7029,7 +7069,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 165 Lovely Street+ address1: 192 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7050,7 +7090,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 166 Lovely Street+ address1: 193 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7268,7 +7308,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 171 Lovely Street+ address1: 198 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7288,7 +7328,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 172 Lovely Street+ address1: 199 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7309,7 +7349,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 172 Lovely Street+ address1: 199 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7330,7 +7370,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 171 Lovely Street+ address1: 198 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7420,7 +7460,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 173 Lovely Street+ address1: 200 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7440,7 +7480,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 174 Lovely Street+ address1: 201 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7461,7 +7501,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 174 Lovely Street+ address1: 201 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -7482,7 +7522,7 @@ paths:first_name: Johnlast_name: Doefull_name: John Doe- address1: 173 Lovely Street+ address1: 200 Lovely Streetaddress2: Northwestpostal_code: '10118'city: New York@@ -9278,7 +9318,7 @@ paths:variant:id: variant_gbHJdmfrXBproduct_id: prod_gbHJdmfrXB- sku: SKU-306+ sku: SKU-307options_text: ''track_inventory: truemedia_count: 0@@ -9927,15 +9967,18 @@ paths:message: Valid API key requiredschema:"$ref": "#/components/schemas/ErrorResponse"- "/api/v3/store/delivery_methods":+ "/api/v3/store/account/companies":get:- summary: List delivery methods+ summary: List my company membershipstags:- - Delivery+ - Companiessecurity:- api_key: []- description: Storefront-visible delivery methods. Filter by fulfillment_type- to discover pickup options.+ bearer_auth: []+ description: |+ Returns the authenticated customer's company memberships, each with the node it+ is held on and the path of nodes above it. Standing covers the node and every+ node below it, so a membership on a parent authorizes buying for its divisions.x-codeSamples:- lang: javascriptlabel: Spree SDK@@ -9947,56 +9990,63 @@ paths:publishableKey: '<api-key>',})- const { data: pickupMethods } = await client.deliveryMethods.list({- fulfillment_type: 'pickup',- })+ // The buyer's memberships, each carrying its node and the path above it.+ const { data: memberships } = await client.account.companies({ token: '<token>' })parameters:- name: x-spree-api-keyin: headerrequired: trueschema:type: string- - name: fulfillment_type- in: query- required: false- description: 'Filter: shipping, digital, pickup'+ - name: Authorization+ in: header+ required: trueschema:type: stringresponses:'200':- description: delivery methods found+ description: memberships listedcontent:application/json:example:data:- - id: dm_gbHJdmfrXB- name: Store pickup- code: PICKUP- estimated_transit_business_days_min:- estimated_transit_business_days_max:- digital: false- pickup: true- pickup_point: false- meta:- page: 1- limit: 25- count: 1- pages: 1- from: 1- to: 1- in: 1- previous:- next:- "/api/v3/store/delivery_methods/{id}/pickup_locations":+ - id: cmem_UkLWZg9DAJ+ company_id: comp_UkLWZg9DAJ+ customer_id: cust_UkLWZg9DAJ+ email: [email protected]+ company:+ id: comp_UkLWZg9DAJ+ name: Acme Industrial+ kind: company+ parent_id:+ ancestors: []+ '401':+ description: not authenticated+ content:+ application/json:+ example:+ error:+ code: authentication_required+ message: Authentication required+ "/api/v3/store/companies/{id}":+ parameters:+ - name: id+ in: path+ required: true+ description: Company node ID (comp_...)+ schema:+ type: stringget:- summary: List pickup locations+ summary: Get a company nodetags:- - Delivery+ - Companiessecurity:- api_key: []- description: Pickup-enabled stock locations for a pickup delivery method. Pass- cart_id to keep only locations that can fulfill the whole cart from local- stock.+ bearer_auth: []+ description: |+ Returns one node of the buyer's organization. Requires standing — a membership on+ the node or on one of its ancestors; any other node is not found rather than+ refused, so its existence is not disclosed.x-codeSamples:- lang: javascriptlabel: Spree SDK@@ -10008,104 +10058,116 @@ paths:publishableKey: '<api-key>',})- const { data: pickupLocations } = await client.deliveryMethods.pickupLocations('dm_abc123', {- cart_id: 'cart_abc123',- })+ const company = await client.companies.get('comp_86Rf07xd4z', { token: '<token>' })parameters:- name: x-spree-api-keyin: headerrequired: trueschema:type: string- - name: id- in: path+ - name: Authorization+ in: headerrequired: true- description: Delivery method prefixed ID- schema:- type: string- - name: cart_id- in: query- required: false- description: Cart prefixed ID for availability filteringschema:type: stringresponses:'200':- description: pickup locations found+ description: company foundcontent:application/json:example:- data:- - id: sloc_UkLWZg9DAJ- name: Downtown- address1: 1600 Pennsylvania Ave NW- city: Washington- zipcode: '20500'- country_code: US- country_name: United States- state_code: AL- state_text: AL- pickup_ready_in_minutes:- pickup_instructions:- "/api/v3/store/sellers":- get:- summary: List sellers+ id: comp_UkLWZg9DAJ+ name: Acme Industrial+ kind: company+ parent_id:+ ancestors: []+ '404':+ description: no standing over this node+ content:+ application/json:+ example:+ error:+ code: record_not_found+ message: Company not found+ patch:+ summary: Update a company nodetags:- - Sellers+ - Companiessecurity:- api_key: []- description: |- Returns the sellers on this marketplace that a shopper can currently- buy from. A seller still onboarding, suspended, or away on holiday is- not listed — showing them would advertise a seller whose products- cannot be bought.-- The payload is the seller's public profile only. Nothing about how the- marketplace runs them — status, payout schedule, tax handling, contact- addresses — is exposed here.+ bearer_auth: []+ description: Renames the node. Structure — the parent and the kind — is managed+ by the merchant, not by buyers.parameters:- name: x-spree-api-keyin: headerrequired: trueschema:type: string- - name: page- in: query- required: false- schema:- type: integer- - name: limit- in: query- required: false+ - name: Authorization+ in: header+ required: trueschema:- type: integer- - name: q[name_cont]- in: query- required: false- description: Filter by name+ type: string+ responses:+ '200':+ description: company updated+ content:+ application/json:+ example:+ id: comp_UkLWZg9DAJ+ name: Acme Industrial Group+ kind: company+ parent_id:+ ancestors: []+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ name:+ type: string+ example: Acme Industrial Group+ "/api/v3/store/companies/{company_id}/members":+ parameters:+ - name: company_id+ in: path+ required: true+ description: Company node ID (comp_...)+ schema:+ type: string+ get:+ summary: List company members+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: The people with standing over this node. Within a company every+ member may read and manage the directory.+ parameters:+ - name: x-spree-api-key+ in: header+ required: trueschema:type: string- - name: fields- in: query- required: false- description: Comma-separated list of fields to include. id is always included.+ - name: Authorization+ in: header+ required: trueschema:type: stringresponses:'200':- description: sellers found+ description: members listedcontent:application/json:example:data:- - id: sel_UkLWZg9DAJ- name: Sparks Audio- slug: sparks-audio- about: ''- about_html: ''- logo_url:- square_logo_url:- cover_photo_url:+ - id: cmem_UkLWZg9DAJ+ company_id: comp_UkLWZg9DAJ+ customer_id: cust_UkLWZg9DAJ+ email: [email protected]meta:page: 1limit: 25@@ -10116,66 +10178,882 @@ paths:in: 1previous:next:- schema:- type: object- properties:- data:- type: array- items:- "$ref": "#/components/schemas/Seller"- meta:- "$ref": "#/components/schemas/PaginationMeta"- '401':- description: unauthorized- content:- application/json:- example:- error:- code: invalid_token- message: Valid API key required- schema:- "$ref": "#/components/schemas/ErrorResponse"- "/api/v3/store/sellers/{id}":- get:- summary: Get a seller+ post:+ summary: Add a member by emailtags:- - Sellers+ - Companiessecurity:- api_key: []+ bearer_auth: []description: |- Returns a single seller's public profile, by slug or prefixed ID, so a- storefront can route `/sellers/sparks-audio` without holding an id.+ Adds a person to the node by email. An email that already belongs to a customer of+ this store becomes a membership immediately (a `cmem_...` id); any other email+ becomes an invitation (a `cinv_...` id) and the invite email goes out.+ x-codeSamples:+ - lang: javascript+ label: Spree SDK+ source: |-+ import { createClient } from '@spree/sdk'- A seller who cannot currently sell returns 404 rather than a profile.+ const client = createClient({+ baseUrl: 'https://your-store.com',+ publishableKey: '<api-key>',+ })++ // An existing customer joins immediately (cmem_…); anyone else is emailed an+ // invitation (cinv_…).+ const member = await client.companies.members.create(+ 'comp_86Rf07xd4z',+ { customer_email: '[email protected]' },+ { token: '<token>' },+ )parameters:- name: x-spree-api-keyin: headerrequired: trueschema:type: string- - name: id- in: path+ - name: Authorization+ in: headerrequired: true- description: Seller slug (e.g., sparks-audio) or prefixed ID (e.g., sel_abc123)schema:type: string- - name: fields- in: query- required: false- description: Comma-separated list of fields to include. id is always included.+ responses:+ '201':+ description: member added or invitation sent+ content:+ application/json:+ example:+ id: cmem_gbHJdmfrXB+ company_id: comp_UkLWZg9DAJ+ customer_id: cust_gbHJdmfrXB+ email: [email protected]+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ customer_email:+ type: string+ example: [email protected]+ required:+ - customer_email+ "/api/v3/store/companies/{company_id}/addresses":+ parameters:+ - name: company_id+ in: path+ required: true+ description: Company node ID (comp_...)+ schema:+ type: string+ get:+ summary: List the company address book+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: The labeled ship-to and bill-to sites this node owns. A node with+ no default of its own falls back to its nearest ancestor when prefilling checkout.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: trueschema:type: stringresponses:'200':- description: seller found by slug+ description: addresses listedcontent:application/json:example:- id: sel_UkLWZg9DAJ- name: Sparks Audio- slug: sparks-audio- about: ''- about_html: ''+ data:+ - id: caddr_UkLWZg9DAJ+ label: Headquarters+ default_billing: false+ default_shipping: false+ company_id: comp_UkLWZg9DAJ+ address:+ id: addr_EfhxLZ9ck8+ first_name: John+ last_name: Doe+ full_name: John Doe+ address1: 159 Lovely Street+ address2: Northwest+ postal_code: '10118'+ city: New York+ phone: 555-555-0199+ company: Company+ country_name: United States+ country_code: US+ state_text: NY+ state_code: NY+ quick_checkout: false+ is_default_billing: false+ is_default_shipping: false+ state_abbr: NY+ country_iso: US+ state_name: New York+ meta:+ page: 1+ limit: 25+ count: 1+ pages: 1+ from: 1+ to: 1+ in: 1+ previous:+ next:+ "/api/v3/store/company_addresses/{id}":+ parameters:+ - name: id+ in: path+ required: true+ description: Address book entry ID (caddr_...)+ schema:+ type: string+ patch:+ summary: Update an address book entry+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: Renames a site or moves the default ship-to or bill-to flag to+ it. Only one entry per node holds each default.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '200':+ description: address book entry updated+ content:+ application/json:+ example:+ id: caddr_UkLWZg9DAJ+ label: Northern Warehouse+ default_billing: false+ default_shipping: true+ company_id: comp_UkLWZg9DAJ+ address:+ id: addr_EfhxLZ9ck8+ first_name: John+ last_name: Doe+ full_name: John Doe+ address1: 162 Lovely Street+ address2: Northwest+ postal_code: '10118'+ city: New York+ phone: 555-555-0199+ company: Company+ country_name: United States+ country_code: US+ state_text: NY+ state_code: NY+ quick_checkout: false+ is_default_billing: false+ is_default_shipping: false+ state_abbr: NY+ country_iso: US+ state_name: New York+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ label:+ type: string+ example: Northern Warehouse+ default_shipping:+ type: boolean+ example: true+ delete:+ summary: Remove an address book entry+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: Takes the site out of the address book. Orders already placed to+ it keep their own copy of the address.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '204':+ description: address book entry removed+ "/api/v3/store/company_invitations/{id}":+ parameters:+ - name: id+ in: path+ required: true+ description: Invitation ID (cinv_...)+ schema:+ type: string+ delete:+ summary: Revoke an invitation+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: Withdraws a pending invitation, spending its token. Any member+ with standing over the node may revoke.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '204':+ description: invitation revoked+ "/api/v3/store/companies/{company_id}/orders":+ parameters:+ - name: company_id+ in: path+ required: true+ description: Company node ID (comp_...)+ schema:+ type: string+ get:+ summary: List the company purchases+ tags:+ - Companies+ security:+ - api_key: []+ bearer_auth: []+ description: Completed orders placed for this node and every node below it,+ so a parent sees what its divisions bought.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: Authorization+ in: header+ required: true+ schema:+ type: string+ responses:+ '200':+ description: orders listed+ content:+ application/json:+ example:+ data:+ - id: or_UkLWZg9DAJ+ market_id: mkt_UkLWZg9DAJ+ cart_id:+ channel_id: ch_UkLWZg9DAJ+ company_id: comp_UkLWZg9DAJ+ company_name: Acme Industrial+ number: R1001+ email: [email protected]+ customer_note:+ currency: USD+ locale: en+ total_quantity: 1+ coupon_code:+ fulfillment_status:+ payment_status:+ completed_at: '2026-01-15T12:00:00.000Z'+ item_total: '10.0'+ display_item_total: "$10.00"+ adjustment_total: '0.0'+ display_adjustment_total: "$0.00"+ discount_total: '0.0'+ display_discount_total: "$0.00"+ tax_total: '0.0'+ display_tax_total: "$0.00"+ included_tax_total: '0.0'+ display_included_tax_total: "$0.00"+ additional_tax_total: '0.0'+ display_additional_tax_total: "$0.00"+ total: '110.0'+ display_total: "$110.00"+ gift_card_total: '0.0'+ display_gift_card_total: "$0.00"+ amount_due: '110.0'+ display_amount_due: "$110.00"+ delivery_total: '100.0'+ display_delivery_total: "$100.00"+ fee_total: '0.0'+ display_fee_total: "$0.00"+ store_credit_total: '0.0'+ display_store_credit_total: "$0.00"+ covered_by_store_credit: false+ discounts: []+ fees: []+ items:+ - id: li_UkLWZg9DAJ+ variant_id: variant_UkLWZg9DAJ+ seller_id:+ preorder: false+ preorder_ships_at:+ quantity: 1+ currency: USD+ name: Product 1585649+ slug: product-1585649+ options_text: ''+ price: '10.0'+ display_price: "$10.00"+ total: '10.0'+ display_total: "$10.00"+ adjustment_total: '0.0'+ display_adjustment_total: "$0.00"+ additional_tax_total: '0.0'+ display_additional_tax_total: "$0.00"+ included_tax_total: '0.0'+ display_included_tax_total: "$0.00"+ discount_total: '0.0'+ display_discount_total: "$0.00"+ pre_tax_amount: '10.0'+ display_pre_tax_amount: "$10.00"+ discounted_amount: '10.0'+ display_discounted_amount: "$10.00"+ display_compare_at_amount: "$0.00"+ compare_at_amount:+ thumbnail_url:+ option_values: []+ digital_links: []+ fulfillments:+ - id: ful_UkLWZg9DAJ+ number: R1001-F1+ tracking: U10000+ tracking_url:+ tracking_carrier:+ tracking_carrier_name:+ pickup_point_data:+ selected_delivery_rate_id: dr_gbHJdmfrXB+ cost: '100.0'+ display_cost: "$100.00"+ total: '100.0'+ display_total: "$100.00"+ discount_total: '0.0'+ display_discount_total: "$0.00"+ additional_tax_total: '0.0'+ display_additional_tax_total: "$0.00"+ included_tax_total: '0.0'+ display_included_tax_total: "$0.00"+ tax_total: '0.0'+ display_tax_total: "$0.00"+ status: unfulfilled+ fulfillment_type: shipping+ fulfilled_at:+ tracking_status:+ estimated_delivery_at:+ delivered_at:+ items:+ - item_id: li_UkLWZg9DAJ+ variant_id: variant_UkLWZg9DAJ+ quantity: 1+ delivery_method:+ id: dm_UkLWZg9DAJ+ name: UPS Ground+ code: UPS_GROUND+ estimated_transit_business_days_min:+ estimated_transit_business_days_max:+ digital: false+ pickup: false+ pickup_point: false+ stock_location:+ id: sloc_UkLWZg9DAJ+ name: Kali Pacocha+ address1: 1600 Pennsylvania Ave NW+ city: Washington+ zipcode: '20500'+ country_code: US+ country_name: United States+ state_code: AL+ state_text: AL+ pickup_ready_in_minutes:+ pickup_instructions:+ delivery_rates:+ - id: dr_gbHJdmfrXB+ delivery_method_id: dm_UkLWZg9DAJ+ name: UPS Ground+ selected: true+ cost: '10.0'+ total: '10.0'+ additional_tax_total: '0.0'+ included_tax_total: '0.0'+ tax_total: '0.0'+ carrier:+ service_level:+ estimated_delivery_date:+ display_cost: "$10.00"+ display_total: "$10.00"+ display_additional_tax_total: "$0.00"+ display_included_tax_total: "$0.00"+ display_tax_total: "$0.00"+ delivery_method:+ id: dm_UkLWZg9DAJ+ name: UPS Ground+ code: UPS_GROUND+ estimated_transit_business_days_min:+ estimated_transit_business_days_max:+ digital: false+ pickup: false+ pickup_point: false+ payments: []+ billing_address:+ id: addr_EfhxLZ9ck8+ first_name: John+ last_name: Doe+ full_name: John Doe+ address1: 170 Lovely Street+ address2: Northwest+ postal_code: '10118'+ city: New York+ phone: 555-555-0199+ company: Company+ country_name: United States+ country_code: US+ state_text: NY+ state_code: NY+ quick_checkout: false+ is_default_billing: false+ is_default_shipping: false+ state_abbr: NY+ country_iso: US+ state_name: New York+ shipping_address:+ id: addr_VqXmZF31wY+ first_name: John+ last_name: Doe+ full_name: John Doe+ address1: 171 Lovely Street+ address2: Northwest+ postal_code: '10118'+ city: New York+ phone: 555-555-0199+ company: Company+ country_name: United States+ country_code: US+ state_text: NY+ state_code: NY+ quick_checkout: false+ is_default_billing: false+ is_default_shipping: false+ state_abbr: NY+ country_iso: US+ state_name: New York+ gift_card:+ market:+ id: mkt_UkLWZg9DAJ+ name: United States+ currency: USD+ default_locale: en+ tax_inclusive: false+ default: true+ country_codes:+ - US+ supported_locales:+ - en+ meta:+ page: 1+ limit: 25+ count: 1+ pages: 1+ from: 1+ to: 1+ in: 1+ previous:+ next:+ "/api/v3/store/company_invitations/{token}":+ parameters:+ - name: token+ in: path+ required: true+ description: Plaintext invitation token from the invite email+ schema:+ type: string+ get:+ summary: Look up an invitation+ tags:+ - Companies+ security:+ - api_key: []+ description: |+ Shows what is being joined, so the acceptance page can render before the invitee+ has an account. Deliberately unauthenticated — the token from the email is the+ credential. Spent, revoked and expired tokens are not found.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ responses:+ '200':+ description: invitation found+ content:+ application/json:+ example:+ id: cinv_UkLWZg9DAJ+ email: [email protected]+ expires_at: '2026-02-14T12:00:00.000Z'+ company_id: comp_UkLWZg9DAJ+ status: pending+ company_name: Acme Industrial+ store_name: Spree Test Store+ '404':+ description: token spent, revoked or expired+ content:+ application/json:+ example:+ error:+ code: record_not_found+ message: Company invitation not found+ "/api/v3/store/company_invitations/{token}/accept":+ parameters:+ - name: token+ in: path+ required: true+ description: Plaintext invitation token from the invite email+ schema:+ type: string+ post:+ summary: Accept an invitation+ tags:+ - Companies+ security:+ - api_key: []+ description: |+ Turns the invitation into a membership. Send a registration payload to create the+ account — it is always created with the invited email — or call it authenticated as+ the customer who owns that email to bind the invitation to the existing account.+ x-codeSamples:+ - lang: javascript+ label: Spree SDK+ source: |-+ import { createClient } from '@spree/sdk'++ const client = createClient({+ baseUrl: 'https://your-store.com',+ publishableKey: '<api-key>',+ })++ // Unauthenticated: the token from the invite email is the credential, and the+ // registration payload creates the account with the invited address.+ const membership = await client.companyInvitations.accept('<invitation-token>', {+ first_name: 'Ada',+ password: 'a-strong-password',+ password_confirmation: 'a-strong-password',+ })+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ responses:+ '201':+ description: membership created+ content:+ application/json:+ example:+ id: cmem_UkLWZg9DAJ+ company_id: comp_UkLWZg9DAJ+ customer_id: cust_UkLWZg9DAJ+ email: [email protected]+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ first_name:+ type: string+ example: Ada+ last_name:+ type: string+ example: Lovelace+ password:+ type: string+ example: a-strong-password+ password_confirmation:+ type: string+ example: a-strong-password+ "/api/v3/store/delivery_methods":+ get:+ summary: List delivery methods+ tags:+ - Delivery+ security:+ - api_key: []+ description: Storefront-visible delivery methods. Filter by fulfillment_type+ to discover pickup options.+ x-codeSamples:+ - lang: javascript+ label: Spree SDK+ source: |-+ import { createClient } from '@spree/sdk'++ const client = createClient({+ baseUrl: 'https://your-store.com',+ publishableKey: '<api-key>',+ })++ const { data: pickupMethods } = await client.deliveryMethods.list({+ fulfillment_type: 'pickup',+ })+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: fulfillment_type+ in: query+ required: false+ description: 'Filter: shipping, digital, pickup'+ schema:+ type: string+ responses:+ '200':+ description: delivery methods found+ content:+ application/json:+ example:+ data:+ - id: dm_gbHJdmfrXB+ name: Store pickup+ code: PICKUP+ estimated_transit_business_days_min:+ estimated_transit_business_days_max:+ digital: false+ pickup: true+ pickup_point: false+ meta:+ page: 1+ limit: 25+ count: 1+ pages: 1+ from: 1+ to: 1+ in: 1+ previous:+ next:+ "/api/v3/store/delivery_methods/{id}/pickup_locations":+ get:+ summary: List pickup locations+ tags:+ - Delivery+ security:+ - api_key: []+ description: Pickup-enabled stock locations for a pickup delivery method. Pass+ cart_id to keep only locations that can fulfill the whole cart from local+ stock.+ x-codeSamples:+ - lang: javascript+ label: Spree SDK+ source: |-+ import { createClient } from '@spree/sdk'++ const client = createClient({+ baseUrl: 'https://your-store.com',+ publishableKey: '<api-key>',+ })++ const { data: pickupLocations } = await client.deliveryMethods.pickupLocations('dm_abc123', {+ cart_id: 'cart_abc123',+ })+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: id+ in: path+ required: true+ description: Delivery method prefixed ID+ schema:+ type: string+ - name: cart_id+ in: query+ required: false+ description: Cart prefixed ID for availability filtering+ schema:+ type: string+ responses:+ '200':+ description: pickup locations found+ content:+ application/json:+ example:+ data:+ - id: sloc_UkLWZg9DAJ+ name: Downtown+ address1: 1600 Pennsylvania Ave NW+ city: Washington+ zipcode: '20500'+ country_code: US+ country_name: United States+ state_code: AL+ state_text: AL+ pickup_ready_in_minutes:+ pickup_instructions:+ "/api/v3/store/sellers":+ get:+ summary: List sellers+ tags:+ - Sellers+ security:+ - api_key: []+ description: |+ Returns the sellers on this marketplace that a shopper can currently+ buy from. A seller still onboarding, suspended, or away on holiday is+ not listed — showing them would advertise a seller whose products+ cannot be bought.++ The payload is the seller's public profile only. Nothing about how the+ marketplace runs them — status, payout schedule, tax handling, contact+ addresses — is exposed here.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: page+ in: query+ required: false+ schema:+ type: integer+ - name: limit+ in: query+ required: false+ schema:+ type: integer+ - name: q[name_cont]+ in: query+ required: false+ description: Filter by name+ schema:+ type: string+ - name: fields+ in: query+ required: false+ description: Comma-separated list of fields to include. id is always included.+ schema:+ type: string+ responses:+ '200':+ description: sellers found+ content:+ application/json:+ example:+ data:+ - id: sel_UkLWZg9DAJ+ name: Sparks Audio+ slug: sparks-audio+ about: ''+ about_html: ''+ logo_url:+ square_logo_url:+ cover_photo_url:+ meta:+ page: 1+ limit: 25+ count: 1+ pages: 1+ from: 1+ to: 1+ in: 1+ previous:+ next:+ schema:+ type: object+ properties:+ data:+ type: array+ items:+ "$ref": "#/components/schemas/Seller"+ meta:+ "$ref": "#/components/schemas/PaginationMeta"+ '401':+ description: unauthorized+ content:+ application/json:+ example:+ error:+ code: invalid_token+ message: Valid API key required+ schema:+ "$ref": "#/components/schemas/ErrorResponse"+ "/api/v3/store/sellers/{id}":+ get:+ summary: Get a seller+ tags:+ - Sellers+ security:+ - api_key: []+ description: |+ Returns a single seller's public profile, by slug or prefixed ID, so a+ storefront can route `/sellers/sparks-audio` without holding an id.++ A seller who cannot currently sell returns 404 rather than a profile.+ parameters:+ - name: x-spree-api-key+ in: header+ required: true+ schema:+ type: string+ - name: id+ in: path+ required: true+ description: Seller slug (e.g., sparks-audio) or prefixed ID (e.g., sel_abc123)+ schema:+ type: string+ - name: fields+ in: query+ required: false+ description: Comma-separated list of fields to include. id is always included.+ schema:+ type: string+ responses:+ '200':+ description: seller found by slug+ content:+ application/json:+ example:+ id: sel_UkLWZg9DAJ+ name: Sparks Audio+ slug: sparks-audio+ about: ''+ about_html: ''logo_url:square_logo_url:cover_photo_url:@@ -10681,6 +11559,12 @@ components:preferred_stock_location_id:type: stringnullable: true+ company_id:+ type: string+ nullable: true+ company_name:+ type: string+ nullable: truenumber:type: stringtoken:@@ -10836,6 +11720,8 @@ components:- market_id- channel_id- preferred_stock_location_id+ - company_id+ - company_name- number- token@@ -11149,6 +12035,90 @@ components:- image_url- square_image_urlx-typelizer: true+ CompanyAddress:+ type: object+ properties:+ id:+ type: string+ label:+ type: string+ nullable: true+ default_billing:+ type: boolean+ default_shipping:+ type: boolean+ company_id:+ type: string+ address:+ "$ref": "#/components/schemas/Address"+ required:+ - id+ - label+ - default_billing+ - default_shipping+ - company_id+ - address+ x-typelizer: true+ CompanyInvitation:+ type: object+ properties:+ id:+ type: string+ email:+ type: string+ expires_at:+ type: string+ nullable: true+ company_id:+ type: string+ status:+ type: string+ required:+ - id+ - expires_at+ - company_id+ - status+ x-typelizer: true+ CompanyMembership:+ type: object+ properties:+ id:+ type: string+ company_id:+ type: string+ customer_id:+ type: string+ email:+ type: string+ nullable: true+ required:+ - id+ - company_id+ - customer_id+ x-typelizer: true+ Company:+ type: object+ properties:+ id:+ type: string+ name:+ type: string+ kind:+ type: string+ parent_id:+ type: string+ nullable: true+ ancestors:+ type: object+ required:+ - id+ - name+ - kind+ - parent_id+ - ancestors+ x-typelizer: trueCountry:type: objectproperties:@@ -12330,6 +13300,12 @@ components:channel_id:type: stringnullable: true+ company_id:+ type: string+ nullable: true+ company_name:+ type: string+ nullable: truenumber:type: stringemail:@@ -12471,6 +13447,8 @@ components:- market_id- cart_id- channel_id+ - company_id+ - company_name- number- customer_note