Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Regenerate the Store and Admin API specs

Damian Legawiec4b1ac6a713ff
diff --git a/docs/api-reference/admin.yaml b/docs/api-reference/admin.yaml
index 29a744318c..c66b6857c5 100644
--- a/docs/api-reference/admin.yaml
+++ b/docs/api-reference/admin.yaml
@@ -289,7 +289,11 @@ paths:
})
const me = await client.me.get()
- if (me.permissions.some((r) => r.allow && r.actions.includes('manage') && r.subjects.includes('Spree::Product'))) {
+ if (
+ me.permissions.some(
+ (r) => r.allow && r.actions.includes('manage') && r.subjects.includes('Spree::Product'),
+ )
+ ) {
// show "Create product" button
}
- lang: bash
@@ -2630,8 +2634,9 @@ paths:
const key = await client.apiKeys.create({
name: 'Backend integration',
key_type: 'secret',
- scopes: ['read_orders', 'write_orders']
+ scopes: ['read_orders', 'write_orders'],
})
+
// `key.plaintext_token` is available only on this response.
- lang: bash
label: Spree CLI
@@ -5715,11 +5720,9 @@ paths:
secretKey: 'sk_xxx',
})
- const address = await client.customers.addresses.update(
- 'cus_UkLWZg9DAJ',
- 'addr_UkLWZg9DAJ',
- { city: 'Manhattan' },
- )
+ const address = await client.customers.addresses.update('cus_UkLWZg9DAJ', 'addr_UkLWZg9DAJ', {
+ city: 'Manhattan',
+ })
- lang: bash
label: Spree CLI
source: spree api patch /customers/{customer_id}/addresses/{id} -d '{"city":"Manhattan"}'
@@ -6252,11 +6255,9 @@ paths:
secretKey: 'sk_xxx',
})
- const credit = await client.customers.storeCredits.update(
- 'cus_UkLWZg9DAJ',
- 'sc_UkLWZg9DAJ',
- { memo: 'Reissued for damaged shipment' },
- )
+ const credit = await client.customers.storeCredits.update('cus_UkLWZg9DAJ', 'sc_UkLWZg9DAJ', {
+ memo: 'Reissued for damaged shipment',
+ })
- lang: bash
label: Spree CLI
source: spree api patch /customers/{customer_id}/store_credits/{id} -d '{"memo":"Reissued
@@ -7226,7 +7227,7 @@ paths:
const exp = await client.exports.create({
type: 'Spree::Exports::Products',
- search_params: { name_cont: 'shirt' }
+ search_params: { name_cont: 'shirt' },
})
- lang: bash
label: Spree CLI
@@ -7429,13 +7430,13 @@ paths:
// Fetch with the Bearer token, then drive the browser download:
const res = await fetch(exp.download_url, {
- headers: { Authorization: `Bearer ${token}` }
+ headers: { Authorization: `Bearer ${token}` },
})
const blob = await res.blob()
const url = URL.createObjectURL(blob)
const a = Object.assign(document.createElement('a'), {
href: url,
- download: exp.filename
+ download: exp.filename,
})
a.click()
URL.revokeObjectURL(url)
@@ -20015,15 +20016,15 @@ paths:
label: Country
description:
preference_schema:
+ - key: country_code
+ type: string
+ default:
- key: country_codes
type: array
default: []
- key: country_id
type: integer
default:
- - key: country_code
- type: string
- default:
- type: currency
label: Currency
description:
@@ -20637,7 +20638,7 @@ paths:
})
const store = await client.store.update({
- name: 'My Store'
+ name: 'My Store',
})
- lang: bash
label: Spree CLI
@@ -21748,7 +21749,7 @@ paths:
const staff = await client.adminUsers.update('admin_xxx', {
first_name: 'Ada',
- role_ids: ['role_xxx']
+ role_ids: ['role_xxx'],
})
- lang: bash
label: Spree CLI
@@ -21945,7 +21946,7 @@ paths:
const invitation = await client.invitations.create({
- role_id: 'role_xxx'
+ role_id: 'role_xxx',
})
- lang: bash
label: Spree CLI
@@ -22902,6 +22903,8 @@ paths:
pickup_stock_policy: local
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
+ seller_id:
+ seller_name:
meta:
page: 1
limit: 25
@@ -23018,6 +23021,8 @@ paths:
pickup_stock_policy: local
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
+ seller_id:
+ seller_name:
schema:
"$ref": "#/components/schemas/StockLocation"
'422':
@@ -23197,6 +23202,8 @@ paths:
pickup_stock_policy: local
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
+ seller_id:
+ seller_name:
schema:
"$ref": "#/components/schemas/StockLocation"
'404':
@@ -23288,6 +23295,8 @@ paths:
pickup_stock_policy: local
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
+ seller_id:
+ seller_name:
schema:
"$ref": "#/components/schemas/StockLocation"
'422':
@@ -24777,7 +24786,7 @@ paths:
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
disabled_at:
- secret_key: f44b508d518f47b9d42ae8a67ba913f7f7c4ee25be2e4dda1fbc06370fe29854
+ secret_key: 507fa8041773b106ae4242f7458a20bdbf22bcda1eaaafaafe5199e035271094
last_delivery_at:
recent_delivery_count: 0
recent_failure_count: 0
@@ -25142,7 +25151,7 @@ paths:
updated_at: '2026-01-15T12:00:00.000Z'
delivered_at:
payload:
- id: 98bd6b06-c704-47e3-a821-f23f15825658
+ id: 163e6ba9-6301-4d28-a9a3-a65cd4861bd1
name: webhook.test
created_at: '2026-01-15T12:00:00Z'
data:
@@ -28870,9 +28879,9 @@ paths:
stock_location_ids: []
calculator_type: Spree::Calculator::Shipping::FlatRate
calculator_preferences:
+ amounts: {}
amount: '10.0'
currency: USD
- amounts: {}
meta:
page: 1
limit: 25
@@ -28959,9 +28968,9 @@ paths:
stock_location_ids: []
calculator_type: Spree::Calculator::Shipping::FlatRate
calculator_preferences:
+ amounts: {}
amount: '12.5'
currency: USD
- amounts: {}
requestBody:
content:
application/json:
@@ -29066,21 +29075,18 @@ paths:
- type: Spree::Calculator::Shipping::FlatRate
name: Flat rate
preference_schema:
+ - key: amounts
+ type: hash
+ default: {}
- key: amount
type: decimal
default: 0
- key: currency
type: string
default: USD
- - key: amounts
- type: hash
- default: {}
- type: Spree::Calculator::Shipping::FlexiRate
name: Flexible Rate per package item
preference_schema:
- - key: currency
- type: string
- default: USD
- key: first_item
type: decimal
default: 0.0
@@ -29090,6 +29096,9 @@ paths:
- key: max_items
type: integer
default: 0
+ - key: currency
+ type: string
+ default: USD
- type: Spree::Calculator::Shipping::PerItem
name: Flat rate per package item
preference_schema:
@@ -29105,6 +29114,9 @@ paths:
- type: Spree::Calculator::Shipping::PriceSack
name: Price sack
preference_schema:
+ - key: minimal_amount
+ type: decimal
+ default: 0
- key: normal_amount
type: decimal
default: 0
@@ -29114,9 +29126,6 @@ paths:
- key: currency
type: string
default: USD
- - key: minimal_amount
- type: decimal
- default: 0
- type: Spree::Calculator::Shipping::DigitalDelivery
name: Digital Delivery
preference_schema:
@@ -29582,13 +29591,13 @@ paths:
video_embed_url:
video_url:
poster_url:
- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/thinking-cat.jpg
- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--8a107b5d4e446aa3ee77d65ab1096e23cae0ee44/thinking-cat.jpg
- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--da2ae2189533c010082fde78750c129ef1d718a4/thinking-cat.jpg
- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--9a1c74694521ceb8df2b28d1dde889c56fac300b/thinking-cat.jpg
- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--0c5768a9354584db01b8bb3ae2726a844d337740/thinking-cat.jpg
- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c68d0ce1bedeb9500ff022cd16e7a91ea5a5f360/thinking-cat.jpg
- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--19b2b7562418dc89aead349f4abaafa2a80c405d/thinking-cat.jpg
+ 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
external_references: {}
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
@@ -29596,10 +29605,10 @@ paths:
filename: thinking-cat.jpg
content_type: image/jpeg
byte_size: 18090
- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--eda7969089fec02a17e1151c5695256265dc45be/thinking-cat.jpg
- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688
+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/thinking-cat.jpg
+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c
viewable_id: prod_UkLWZg9DAJ
- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/thinking-cat.jpg?disposition=attachment
+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg?disposition=attachment
metadata: {}
viewable_type: product
meta:
@@ -29670,13 +29679,13 @@ paths:
video_embed_url:
video_url:
poster_url:
- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/library-upload.jpg
- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--8a107b5d4e446aa3ee77d65ab1096e23cae0ee44/library-upload.jpg
- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--da2ae2189533c010082fde78750c129ef1d718a4/library-upload.jpg
- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--9a1c74694521ceb8df2b28d1dde889c56fac300b/library-upload.jpg
- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--0c5768a9354584db01b8bb3ae2726a844d337740/library-upload.jpg
- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c68d0ce1bedeb9500ff022cd16e7a91ea5a5f360/library-upload.jpg
- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--19b2b7562418dc89aead349f4abaafa2a80c405d/library-upload.jpg
+ 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
external_references: {}
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
@@ -29684,10 +29693,10 @@ paths:
filename: library-upload.jpg
content_type: image/jpeg
byte_size: 18090
- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--eda7969089fec02a17e1151c5695256265dc45be/library-upload.jpg
- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3
+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/library-upload.jpg
+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1
viewable_id:
- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--58492de1ce78eb3d3af7e7aa79fb53a860727cd3/library-upload.jpg?disposition=attachment
+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--01a3addec81e078b12b6c6d8e065da710f0f52c1/library-upload.jpg?disposition=attachment
metadata: {}
viewable_type:
schema:
@@ -29844,13 +29853,13 @@ paths:
video_embed_url:
video_url:
poster_url:
- original_url: http://localhost:3000/rails/active_storage/blobs/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/thinking-cat.jpg
- mini_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjgsMTI4XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--8a107b5d4e446aa3ee77d65ab1096e23cae0ee44/thinking-cat.jpg
- small_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyNTYsMjU2XSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--da2ae2189533c010082fde78750c129ef1d718a4/thinking-cat.jpg
- medium_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls0MDAsNDAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--9a1c74694521ceb8df2b28d1dde889c56fac300b/thinking-cat.jpg
- large_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOls3MjAsNzIwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--0c5768a9354584db01b8bb3ae2726a844d337740/thinking-cat.jpg
- xlarge_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsyMDAwLDIwMDBdLCJzYXZlciI6eyJzdHJpcCI6dHJ1ZSwicXVhbGl0eSI6NzUsImxvc3NsZXNzIjpmYWxzZSwiYWxwaGFfcSI6ODUsInJlZHVjdGlvbl9lZmZvcnQiOjYsInNtYXJ0X3N1YnNhbXBsZSI6dHJ1ZX19LCJwdXIiOiJ2YXJpYXRpb24ifX0=--c68d0ce1bedeb9500ff022cd16e7a91ea5a5f360/thinking-cat.jpg
- og_image_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2ZpbGwiOlsxMjAwLDYzMF0sInNhdmVyIjp7InN0cmlwIjp0cnVlLCJxdWFsaXR5Ijo3NSwibG9zc2xlc3MiOmZhbHNlLCJhbHBoYV9xIjo4NSwicmVkdWN0aW9uX2VmZm9ydCI6Niwic21hcnRfc3Vic2FtcGxlIjp0cnVlfX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--19b2b7562418dc89aead349f4abaafa2a80c405d/thinking-cat.jpg
+ 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
external_references: {}
created_at: '2026-01-15T12:00:00.000Z'
updated_at: '2026-01-15T12:00:00.000Z'
@@ -29858,10 +29867,10 @@ paths:
filename: thinking-cat.jpg
content_type: image/jpeg
byte_size: 18090
- embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--eda7969089fec02a17e1151c5695256265dc45be/thinking-cat.jpg
- signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688
+ embed_url: http://localhost:3000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJ3ZWJwIiwicmVzaXplX3RvX2xpbWl0IjpbMTIwMCwxMjAwXSwic2F2ZXIiOnsic3RyaXAiOnRydWUsInF1YWxpdHkiOjc1LCJsb3NzbGVzcyI6ZmFsc2UsImFscGhhX3EiOjg1LCJyZWR1Y3Rpb25fZWZmb3J0Ijo2LCJzbWFydF9zdWJzYW1wbGUiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--e9e7c9ddcdbab79b823da04645b6a714e79c42a2/thinking-cat.jpg
+ signed_id: eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c
viewable_id: prod_gbHJdmfrXB
- download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--51494e939e43178323c022f9180ece19fd476688/thinking-cat.jpg?disposition=attachment
+ download_url: http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MSwicHVyIjoiYmxvYl9pZCJ9fQ==--acc69b8fc52bc6da57b08d7e981df3db825f5c5c/thinking-cat.jpg?disposition=attachment
metadata: {}
viewable_type: product
schema:
@@ -30355,6 +30364,7 @@ paths:
description: The seller has accepted your marketplace terms
preferences:
terms_effective_from:
+ terms_url:
custom_field_definition_ids: []
allow_multiple: false
accepts_submissions: false
@@ -30579,6 +30589,9 @@ paths:
- key: terms_effective_from
type: string
default:
+ - key: terms_url
+ type: string
+ default:
- type: complete_profile
name: Complete profile
description: The seller has filled in their public profile
@@ -30590,6 +30603,9 @@ paths:
accepted_content_types: []
association_fields: []
preference_schema:
+ - key: require_about
+ type: boolean
+ default: true
- key: require_logo
type: boolean
default: true
@@ -30599,9 +30615,6 @@ paths:
- key: require_contact_email
type: boolean
default: true
- - key: require_about
- type: boolean
- default: true
- type: billing_address
name: Billing address
description: The seller has given a billing address
@@ -30987,6 +31000,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
meta:
page: 1
limit: 25
@@ -31101,6 +31116,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
'422':
@@ -31243,6 +31260,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
'404':
@@ -31335,17 +31354,19 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
billing_address:
id: addr_UkLWZg9DAJ
- first_name: Ada
- last_name: Lovelace
- full_name: Ada Lovelace
+ first_name:
+ last_name:
+ full_name: ''
address1: 1 Seller Way
address2:
postal_code: EC1A 1BB
city: London
phone: '555'
- company:
+ company: Sparks Trading Ltd
country_name: United Kingdom
country_code: GB
state_text:
@@ -31639,6 +31660,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
requestBody:
@@ -31740,6 +31763,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
'422':
@@ -31840,6 +31865,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
requestBody:
@@ -31937,6 +31964,8 @@ paths:
done: 0
total: 0
onboarding_complete: true
+ legal_name:
+ registration_number:
schema:
"$ref": "#/components/schemas/Seller"
requestBody:
@@ -37533,6 +37562,12 @@ components:
type: object
onboarding_complete:
type: boolean
+ legal_name:
+ type: string
+ nullable: true
+ registration_number:
+ type: string
+ nullable: true
billing_address:
"$ref": "#/components/schemas/Address"
returns_address:
@@ -37564,6 +37599,41 @@ components:
- users_count
- onboarding_progress
- onboarding_complete
+ - legal_name
+ - registration_number
+ x-typelizer: true
+ SellerTeamMember:
+ type: object
+ properties:
+ id:
+ type: string
+ email:
+ type: string
+ first_name:
+ type: string
+ nullable: true
+ last_name:
+ type: string
+ nullable: true
+ full_name:
+ type: string
+ nullable: true
+ created_at:
+ type: string
+ updated_at:
+ type: string
+ avatar_url:
+ type: string
+ nullable: true
+ required:
+ - id
+ - email
+ - first_name
+ - last_name
+ - full_name
+ - created_at
+ - updated_at
+ - avatar_url
x-typelizer: true
SetupTask:
type: object
@@ -37700,6 +37770,14 @@ components:
type: string
updated_at:
type: string
+ seller_id:
+ type: string
+ nullable: true
+ seller_name:
+ type: string
+ nullable: true
+ seller:
+ "$ref": "#/components/schemas/Seller"
required:
- id
- name
@@ -37727,6 +37805,8 @@ components:
- pickup_stock_policy
- created_at
- updated_at
+ - seller_id
+ - seller_name
x-typelizer: true
StockMovement:
type: object
diff --git a/docs/api-reference/store.yaml b/docs/api-reference/store.yaml
index b860e2ea11..0d196c33d4 100644
--- a/docs/api-reference/store.yaml
+++ b/docs/api-reference/store.yaml
@@ -368,13 +368,10 @@ paths:
publishableKey: '<api-key>',
})
- const auth = await client.passwordResets.update(
- 'reset-token-from-email',
- {
- password: 'newsecurepassword',
- password_confirmation: 'newsecurepassword',
- }
- )
+ const auth = await client.passwordResets.update('reset-token-from-email', {
+ password: 'newsecurepassword',
+ password_confirmation: 'newsecurepassword',
+ })
parameters:
- name: x-spree-api-key
in: header
@@ -879,8 +876,8 @@ paths:
example:
data:
- id: prod_UkLWZg9DAJ
- name: Product 1496979
- slug: product-1496979
+ name: Product 1576979
+ slug: product-1576979
meta_title:
meta_description:
meta_keywords:
@@ -1054,8 +1051,8 @@ paths:
example:
data:
- id: prod_UkLWZg9DAJ
- name: Product 1949085
- slug: product-1949085
+ name: Product 2029085
+ slug: product-2029085
meta_title:
meta_description:
meta_keywords:
@@ -1086,8 +1083,8 @@ paths:
original_price:
seller_id:
- id: prod_gbHJdmfrXB
- name: Product 1958209
- slug: product-1958209
+ name: Product 2038209
+ slug: product-2038209
meta_title:
meta_description:
meta_keywords:
@@ -1215,8 +1212,8 @@ paths:
application/json:
example:
id: prod_UkLWZg9DAJ
- name: Product 2226885
- slug: product-2226885
+ name: Product 2306885
+ slug: product-2306885
meta_title:
meta_description:
meta_keywords:
@@ -1565,8 +1562,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 123715
- slug: product-123715
+ name: Product 131715
+ slug: product-131715
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -1674,8 +1671,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1242171
- slug: product-1242171
+ name: Product 1322171
+ slug: product-1322171
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -1760,9 +1757,7 @@ paths:
// Create a cart with items
const cartWithItems = await client.carts.create({
- items: [
- { variant_id: 'variant_abc123', quantity: 2 },
- ],
+ items: [{ variant_id: 'variant_abc123', quantity: 2 }],
})
parameters:
- name: x-spree-api-key
@@ -1969,7 +1964,7 @@ paths:
total_quantity: 0
warnings:
- code: line_item_removed
- message: Product 128307 was removed because it was sold out
+ message: Product 136307 was removed because it was sold out
line_item_id: li_UkLWZg9DAJ
variant_id: variant_UkLWZg9DAJ
coupon_code:
@@ -2177,8 +2172,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1293263
- slug: product-1293263
+ name: Product 1373263
+ slug: product-1373263
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -2453,8 +2448,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1318992
- slug: product-1318992
+ name: Product 1398992
+ slug: product-1398992
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -2657,8 +2652,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1344794
- slug: product-1344794
+ name: Product 1424794
+ slug: product-1424794
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -2986,8 +2981,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1604241
- slug: product-1604241
+ name: Product 1684241
+ slug: product-1684241
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3175,8 +3170,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1623461
- slug: product-1623461
+ name: Product 1703461
+ slug: product-1703461
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3249,11 +3244,16 @@ paths:
publishableKey: '<api-key>',
})
- const cart = await client.carts.fulfillments.update('cart_abc123', 'ful_abc123', {
- selected_delivery_rate_id: 'dr_abc123',
- }, {
- token: '<token>',
- })
+ const cart = await client.carts.fulfillments.update(
+ 'cart_abc123',
+ 'ful_abc123',
+ {
+ selected_delivery_rate_id: 'dr_abc123',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -3347,8 +3347,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1648182
- slug: product-1648182
+ name: Product 1728182
+ slug: product-1728182
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3633,8 +3633,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1665702
- slug: product-1665702
+ name: Product 1745702
+ slug: product-1745702
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3877,8 +3877,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1709569
- slug: product-1709569
+ name: Product 1789569
+ slug: product-1789569
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -3966,12 +3966,16 @@ paths:
publishableKey: '<api-key>',
})
- const cart = await client.carts.items.create('cart_abc123', {
- variant_id: 'variant_abc123',
- quantity: 2,
- }, {
- token: '<token>',
- })
+ const cart = await client.carts.items.create(
+ 'cart_abc123',
+ {
+ variant_id: 'variant_abc123',
+ quantity: 2,
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -4021,10 +4025,10 @@ paths:
total_quantity: 2
warnings:
- code: delivery_unavailable
- message: Product 17363 cannot be delivered to the selected address
+ message: Product 18163 cannot be delivered to the selected address
line_item_id: li_UkLWZg9DAJ
- code: delivery_unavailable
- message: Product 174298 cannot be delivered to the selected address
+ message: Product 182298 cannot be delivered to the selected address
line_item_id: li_gbHJdmfrXB
coupon_code:
item_total: '29.99'
@@ -4078,8 +4082,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 17363
- slug: product-17363
+ name: Product 18163
+ slug: product-18163
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -4109,8 +4113,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 174298
- slug: product-174298
+ name: Product 182298
+ slug: product-182298
options_text: ''
price: '19.99'
display_price: "$19.99"
@@ -4217,11 +4221,16 @@ paths:
publishableKey: '<api-key>',
})
- const cart = await client.carts.items.update('cart_abc123', 'li_abc123', {
- quantity: 5,
- }, {
- token: '<token>',
- })
+ const cart = await client.carts.items.update(
+ 'cart_abc123',
+ 'li_abc123',
+ {
+ quantity: 5,
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -4324,8 +4333,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1809165
- slug: product-1809165
+ name: Product 1889165
+ slug: product-1889165
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -4542,11 +4551,15 @@ paths:
publishableKey: '<api-key>',
})
- const session = await client.carts.paymentSessions.create('cart_abc123', {
- payment_method_id: 'pm_abc123',
- }, {
- token: '<token>',
- })
+ const session = await client.carts.paymentSessions.create(
+ 'cart_abc123',
+ {
+ payment_method_id: 'pm_abc123',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -4735,11 +4748,16 @@ paths:
publishableKey: '<api-key>',
})
- const session = await client.carts.paymentSessions.update('cart_abc123', 'ps_abc123', {
- amount: '50.00',
- }, {
- token: '<token>',
- })
+ const session = await client.carts.paymentSessions.update(
+ 'cart_abc123',
+ 'ps_abc123',
+ {
+ amount: '50.00',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters: []
responses:
'200':
@@ -4832,11 +4850,16 @@ paths:
publishableKey: '<api-key>',
})
- const session = await client.carts.paymentSessions.complete('cart_abc123', 'ps_abc123', {
- session_result: 'success',
- }, {
- token: '<token>',
- })
+ const session = await client.carts.paymentSessions.complete(
+ 'cart_abc123',
+ 'ps_abc123',
+ {
+ session_result: 'success',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: Idempotency-Key
in: header
@@ -4915,11 +4938,15 @@ paths:
publishableKey: '<api-key>',
})
- const payment = await client.carts.payments.create('cart_abc123', {
- payment_method_id: 'pm_abc123',
- }, {
- token: '<token>',
- })
+ const payment = await client.carts.payments.create(
+ 'cart_abc123',
+ {
+ payment_method_id: 'pm_abc123',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -5116,8 +5143,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 2429789
- slug: product-2429789
+ name: Product 2509789
+ slug: product-2509789
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5324,8 +5351,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 244179
- slug: product-244179
+ name: Product 252179
+ slug: product-252179
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5388,9 +5415,13 @@ paths:
publishableKey: '<api-key>',
})
- const order = await client.orders.get('or_abc123', {}, {
- token: '<token>',
- })
+ const order = await client.orders.get(
+ 'or_abc123',
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -5485,8 +5516,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 184496
- slug: product-184496
+ name: Product 192496
+ slug: product-192496
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -5675,9 +5706,12 @@ paths:
publishableKey: '<api-key>',
})
- const addresses = await client.customer.addresses.list({}, {
- token: '<token>',
- })
+ const addresses = await client.customer.addresses.list(
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -6059,11 +6093,15 @@ paths:
publishableKey: '<api-key>',
})
- const address = await client.customer.addresses.update('addr_abc123', {
- city: 'Los Angeles',
- }, {
- token: '<token>',
- })
+ const address = await client.customer.addresses.update(
+ 'addr_abc123',
+ {
+ city: 'Los Angeles',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -6205,9 +6243,12 @@ paths:
publishableKey: '<api-key>',
})
- const cards = await client.customer.creditCards.list({}, {
- token: '<token>',
- })
+ const cards = await client.customer.creditCards.list(
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -6575,8 +6616,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1505270
- slug: product-1505270
+ name: Product 1585270
+ slug: product-1585270
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -6785,9 +6826,13 @@ paths:
publishableKey: '<api-key>',
})
- const order = await client.customer.orders.get('or_abc123', {}, {
- token: '<token>',
- })
+ const order = await client.customer.orders.get(
+ 'or_abc123',
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -6875,8 +6920,8 @@ paths:
preorder_ships_at:
quantity: 1
currency: USD
- name: Product 1525633
- slug: product-1525633
+ name: Product 1605633
+ slug: product-1605633
options_text: ''
price: '10.0'
display_price: "$10.00"
@@ -7334,13 +7379,16 @@ paths:
publishableKey: '<api-key>',
})
- const customer = await client.customer.update({
- first_name: 'John',
- last_name: 'Doe',
- metadata: { preferred_contact: 'email' },
- }, {
- token: '<token>',
- })
+ const customer = await client.customer.update(
+ {
+ first_name: 'John',
+ last_name: 'Doe',
+ metadata: { preferred_contact: 'email' },
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -7519,9 +7567,12 @@ paths:
publishableKey: '<api-key>',
})
- const giftCards = await client.customer.giftCards.list({}, {
- token: '<token>',
- })
+ const giftCards = await client.customer.giftCards.list(
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -7702,11 +7753,14 @@ paths:
publishableKey: '<api-key>',
})
- const session = await client.customer.paymentSetupSessions.create({
- payment_method_id: 'pm_abc123',
- }, {
- token: '<token>',
- })
+ const session = await client.customer.paymentSetupSessions.create(
+ {
+ payment_method_id: 'pm_abc123',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -7891,9 +7945,13 @@ paths:
publishableKey: '<api-key>',
})
- const session = await client.customer.paymentSetupSessions.complete('pss_abc123', {}, {
- token: '<token>',
- })
+ const session = await client.customer.paymentSetupSessions.complete(
+ 'pss_abc123',
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters: []
responses:
'200':
@@ -7960,9 +8018,12 @@ paths:
publishableKey: '<api-key>',
})
- const credits = await client.customer.storeCredits.list({}, {
- token: '<token>',
- })
+ const credits = await client.customer.storeCredits.list(
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -8808,9 +8869,12 @@ paths:
publishableKey: '<api-key>',
})
- const wishlists = await client.wishlists.list({}, {
- token: '<token>',
- })
+ const wishlists = await client.wishlists.list(
+ {},
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -8899,12 +8963,15 @@ paths:
publishableKey: '<api-key>',
})
- const wishlist = await client.wishlists.create({
- name: 'Birthday Ideas',
- is_private: true,
- }, {
- token: '<token>',
- })
+ const wishlist = await client.wishlists.create(
+ {
+ name: 'Birthday Ideas',
+ is_private: true,
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -9058,11 +9125,15 @@ paths:
publishableKey: '<api-key>',
})
- const wishlist = await client.wishlists.update('wl_abc123', {
- name: 'Updated Name',
- }, {
- token: '<token>',
- })
+ const wishlist = await client.wishlists.update(
+ 'wl_abc123',
+ {
+ name: 'Updated Name',
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -9167,12 +9238,16 @@ paths:
publishableKey: '<api-key>',
})
- const item = await client.wishlists.items.create('wl_abc123', {
- variant_id: 'variant_abc123',
- quantity: 1,
- }, {
- token: '<token>',
- })
+ const item = await client.wishlists.items.create(
+ 'wl_abc123',
+ {
+ variant_id: 'variant_abc123',
+ quantity: 1,
+ },
+ {
+ token: '<token>',
+ },
+ )
parameters:
- name: x-spree-api-key
in: header
@@ -9203,7 +9278,7 @@ paths:
variant:
id: variant_gbHJdmfrXB
product_id: prod_gbHJdmfrXB
- sku: SKU-298
+ sku: SKU-306
options_text: ''
track_inventory: true
media_count: 0