{"openapi":"3.1.0","info":{"title":"Poltura app API","version":"1.0.0","description":"Initial public app catalogue and namespaced storage contract. The platform is in development; endpoint availability depends on rollout. Pagination cursors are opaque, expiring and bound to the authorized installation. Storage is per installation, store and app. Internal APIs are not part of this contract."},"servers":[{"url":"/apps-api/v1"}],"components":{"securitySchemes":{"AppAccessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A Poltura ID access token of the app: its machine user (the app acting as itself, RFC 7523 JWT profile) or a person through the app (authorization code with private_key_jwt). Merchant sessions are not app credentials."}},"schemas":{"ApiError":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_input","unauthorized","forbidden","insufficient_scope","not_found","conflict","stale_version","quota_exceeded","rate_limited","payload_too_large","unsupported_api_version","unavailable"]},"message":{"type":"string","minLength":1,"maxLength":500},"requestId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"permission":{"type":"string","minLength":1,"maxLength":64},"details":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1},{"type":"integer","minimum":0}]},"maxItems":16},"code":{"type":"string","minLength":1,"maxLength":64},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["path","code","message"],"additionalProperties":false},"maxItems":32}},"additionalProperties":false},"retryAfterMs":{"type":"integer","minimum":0}},"required":["code","message","requestId"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"ProductPage":{"type":"object","properties":{"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"handle":{"type":"string","minLength":1,"maxLength":255},"description":{"type":["string","null"],"maxLength":20000},"image":{"type":["object","null"],"properties":{"url":{"type":"string"},"alt":{"type":["string","null"],"maxLength":500}},"required":["url","alt"],"additionalProperties":false},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","handle","description","image","updatedAt"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["products","nextCursor"],"additionalProperties":false},"ProductResponse":{"type":"object","properties":{"product":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"handle":{"type":"string","minLength":1,"maxLength":255},"description":{"type":["string","null"],"maxLength":20000},"image":{"type":["object","null"],"properties":{"url":{"type":"string"},"alt":{"type":["string","null"],"maxLength":500}},"required":["url","alt"],"additionalProperties":false},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","handle","description","image","updatedAt"],"additionalProperties":false}},"required":["product"],"additionalProperties":false},"CollectionPage":{"type":"object","properties":{"collections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"handle":{"type":"string","minLength":1,"maxLength":255}},"required":["id","title","handle"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["collections","nextCursor"],"additionalProperties":false},"CollectionResponse":{"type":"object","properties":{"collection":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"handle":{"type":"string","minLength":1,"maxLength":255}},"required":["id","title","handle"],"additionalProperties":false}},"required":["collection"],"additionalProperties":false},"OrderPage":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"orderNumber":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["pending","completed","canceled","requires_action"]},"paymentStatus":{"type":"string","enum":["not_paid","awaiting","authorized","captured","partially_captured","partially_refunded","refunded","canceled","requires_action"]},"fulfillmentStatus":{"type":"string","enum":["not_fulfilled","partially_fulfilled","fulfilled","partially_shipped","shipped","partially_returned","returned","canceled","requires_action"]},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"total":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false},"subtotal":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"email":{"type":["string","null"],"maxLength":254,"format":"email"},"customerId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"variantId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"productId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"quantity":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"unitPrice":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false}},"required":["id","variantId","productId","title","quantity","unitPrice"],"additionalProperties":false},"maxItems":200},"shippingAddress":{"type":["object","null"],"properties":{"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":80},"address1":{"type":"string","minLength":1,"maxLength":255},"address2":{"type":["string","null"],"maxLength":255},"city":{"type":"string","minLength":1,"maxLength":80},"postalCode":{"type":"string","minLength":1,"maxLength":20},"countryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"province":{"type":["string","null"],"minLength":1,"maxLength":80},"phone":{"type":["string","null"],"minLength":1,"maxLength":32}},"required":["firstName","lastName","address1","address2","city","postalCode","countryCode","province","phone"],"additionalProperties":false},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"required":["id","orderNumber","status","paymentStatus","fulfillmentStatus","currency","total","subtotal","createdAt","updatedAt","email","customerId","items","shippingAddress","metadata"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["orders","nextCursor"],"additionalProperties":false},"OrderResponse":{"type":"object","properties":{"order":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"orderNumber":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","enum":["pending","completed","canceled","requires_action"]},"paymentStatus":{"type":"string","enum":["not_paid","awaiting","authorized","captured","partially_captured","partially_refunded","refunded","canceled","requires_action"]},"fulfillmentStatus":{"type":"string","enum":["not_fulfilled","partially_fulfilled","fulfilled","partially_shipped","shipped","partially_returned","returned","canceled","requires_action"]},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"total":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false},"subtotal":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"email":{"type":["string","null"],"maxLength":254,"format":"email"},"customerId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"variantId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"productId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"title":{"type":"string","minLength":1,"maxLength":500},"quantity":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"unitPrice":{"type":"object","properties":{"amount":{"type":"string","maxLength":64,"pattern":"^(0|[1-9]\\d*)(\\.\\d{1,12})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"}},"required":["amount","currency"],"additionalProperties":false}},"required":["id","variantId","productId","title","quantity","unitPrice"],"additionalProperties":false},"maxItems":200},"shippingAddress":{"type":["object","null"],"properties":{"firstName":{"type":"string","minLength":1,"maxLength":80},"lastName":{"type":"string","minLength":1,"maxLength":80},"address1":{"type":"string","minLength":1,"maxLength":255},"address2":{"type":["string","null"],"maxLength":255},"city":{"type":"string","minLength":1,"maxLength":80},"postalCode":{"type":"string","minLength":1,"maxLength":20},"countryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"province":{"type":["string","null"],"minLength":1,"maxLength":80},"phone":{"type":["string","null"],"minLength":1,"maxLength":32}},"required":["firstName","lastName","address1","address2","city","postalCode","countryCode","province","phone"],"additionalProperties":false},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"required":["id","orderNumber","status","paymentStatus","fulfillmentStatus","currency","total","subtotal","createdAt","updatedAt","email","customerId","items","shippingAddress","metadata"],"additionalProperties":false}},"required":["order"],"additionalProperties":false},"CustomerPage":{"type":"object","properties":{"customers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"email":{"type":"string","maxLength":254,"format":"email"},"firstName":{"type":["string","null"],"minLength":1,"maxLength":80},"lastName":{"type":["string","null"],"minLength":1,"maxLength":80},"phone":{"type":["string","null"],"minLength":1,"maxLength":32},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":32},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"required":["id","email","firstName","lastName","phone","createdAt","updatedAt","tags","metadata"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["customers","nextCursor"],"additionalProperties":false},"CustomerResponse":{"type":"object","properties":{"customer":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"email":{"type":"string","maxLength":254,"format":"email"},"firstName":{"type":["string","null"],"minLength":1,"maxLength":80},"lastName":{"type":["string","null"],"minLength":1,"maxLength":80},"phone":{"type":["string","null"],"minLength":1,"maxLength":32},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":32},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"required":["id","email","firstName","lastName","phone","createdAt","updatedAt","tags","metadata"],"additionalProperties":false}},"required":["customer"],"additionalProperties":false},"InventoryPage":{"type":"object","properties":{"levels":{"type":"array","items":{"type":"object","properties":{"inventoryItemId":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"variantId":{"type":["string","null"],"minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"sku":{"type":["string","null"],"minLength":1,"maxLength":64},"locationId":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"stocked":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"available":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time"}},"required":["inventoryItemId","variantId","sku","locationId","stocked","reserved","available","updatedAt"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["levels","nextCursor"],"additionalProperties":false},"ProductWriteResult":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]},"version":{"type":"string","minLength":1,"maxLength":128}},"required":["ok","version"],"additionalProperties":false},"ProductWriteInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","maxLength":20000},"handle":{"type":"string","minLength":1,"maxLength":255},"status":{"type":"string","enum":["draft","published"]},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"additionalProperties":false},"CollectionWriteResult":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]},"version":{"type":"string","minLength":1,"maxLength":128}},"required":["ok","version"],"additionalProperties":false},"CollectionWriteInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"handle":{"type":"string","minLength":1,"maxLength":255},"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}}},"additionalProperties":false},"OrderWriteResult":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]},"version":{"type":"string","minLength":1,"maxLength":128}},"required":["ok","version"],"additionalProperties":false},"OrderWriteInput":{"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":32},"note":{"type":"string","maxLength":2000}},"additionalProperties":false},"CustomerWriteResult":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]},"version":{"type":"string","minLength":1,"maxLength":128}},"required":["ok","version"],"additionalProperties":false},"CustomerWriteInput":{"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{"type":"string","maxLength":2000}},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":32}},"additionalProperties":false},"StoreContext":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"name":{"type":"string","minLength":1,"maxLength":255},"locale":{"type":"string","maxLength":64},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"timezone":{"type":["string","null"],"minLength":1,"maxLength":128}},"required":["id","name","locale","currency","timezone"],"additionalProperties":false},"AppPermissionId":{"type":"string","description":"A permission an app may request. Labels and descriptions per locale: GET https://api.poltura.com/v1/access/catalog?locale=en","enum":["orders.read","orders.write","orders.refund","products.read","products.write","products.publish","customers.read","customers.write","promotions.read","promotions.write","content.read","content.write","media.read","media.write","media.delete","settings.read","settings.write","imports.read","imports.write","integrations.read","integrations.write","apps.install","feeds.read","feeds.write","team.read","organization.settings.write","projects.manage","domains.read","domains.manage","billing.read","billing.accounts.manage","theme.read","theme.write","theme.code.write","theme.publish","storefront.status.read","storefront.status.manage","inbox.read","inbox.reply","inbox.manage","inbox.ai.use","mail.read","mail.content.read","mail.resend","ai.assistant.use","ai.coder.use","translation.use"]},"InstallationContext":{"type":"object","properties":{"installationId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"storeId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"organizationId":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"appId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"releaseId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"generation":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"actor":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["app"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["user"]},"userId":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:@-]+$"}},"required":["kind","userId"],"additionalProperties":false}]},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/AppPermissionId"},"maxItems":32},"pendingPermissions":{"type":"array","items":{"$ref":"#/components/schemas/AppPermissionId"},"maxItems":32},"stores":{"type":"array","items":{"type":"object","properties":{"storeId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"installationId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"}},"required":["storeId","installationId"],"additionalProperties":false},"maxItems":500}},"required":["installationId","storeId","organizationId","appId","releaseId","generation","actor","permissions","pendingPermissions","stores"],"additionalProperties":false},"StorageValue":{"type":"object","description":"Finite JSON. Nested values are bounded by depth, node count and 64KiB UTF-8 bytes.","additionalProperties":true},"StoragePage":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"key":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"value":{"$ref":"#/components/schemas/StorageValue"},"version":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time"}},"required":["namespace","key","value","version","updatedAt"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}},"required":["records","nextCursor"],"additionalProperties":false},"StorageRecord":{"type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"key":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"value":{"allOf":[{"$ref":"#/components/schemas/StorageValue"},{"type":["object","null"]}]},"version":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time"}},"required":["namespace","key","value","version","updatedAt"],"additionalProperties":false},"StorageRecordWrite":{"type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"key":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"value":{"allOf":[{"$ref":"#/components/schemas/StorageValue"},{"type":["object","null"]}]},"version":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time"}},"required":["namespace","key","value","version","updatedAt"],"additionalProperties":false},"StoragePutInput":{"type":"object","properties":{"value":{"allOf":[{"$ref":"#/components/schemas/StorageValue"},{"type":["object","null"]}]},"expectedVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["value","expectedVersion"],"additionalProperties":false},"StorageDeleteResult":{"type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"key":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"version":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991}},"required":["namespace","key","version"],"additionalProperties":false},"StorageDeleteInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991}},"required":["expectedVersion"],"additionalProperties":false}},"parameters":{}},"paths":{"/products":{"get":{"operationId":"listProducts","summary":"listProducts","description":"Requires the products.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPage"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/products/{id}":{"get":{"operationId":"getProduct","summary":"getProduct","description":"Requires the products.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"operationId":"updateProduct","summary":"updateProduct","description":"Requires the products.write permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWriteInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWriteResult"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/collections":{"get":{"operationId":"listCollections","summary":"listCollections","description":"Requires the products.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionPage"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/collections/{id}":{"get":{"operationId":"getCollection","summary":"getCollection","description":"Requires the products.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionResponse"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"operationId":"updateCollection","summary":"updateCollection","description":"Requires the products.write permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionWriteInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionWriteResult"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/orders":{"get":{"operationId":"listOrders","summary":"listOrders","description":"Requires the orders.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","enum":["pending","completed","canceled","requires_action"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"updatedAfter","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderPage"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/orders/{id}":{"get":{"operationId":"getOrder","summary":"getOrder","description":"Requires the orders.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"operationId":"updateOrder","summary":"updateOrder","description":"Requires the orders.write permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderWriteInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderWriteResult"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/customers":{"get":{"operationId":"listCustomers","summary":"listCustomers","description":"Requires the customers.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","maxLength":254,"format":"email"},"required":false,"name":"email","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"updatedAfter","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerPage"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/customers/{id}":{"get":{"operationId":"getCustomer","summary":"getCustomer","description":"Requires the customers.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerResponse"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"operationId":"updateCustomer","summary":"updateCustomer","description":"Requires the customers.write permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerWriteInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerWriteResult"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/inventory":{"get":{"operationId":"listInventory","summary":"listInventory","description":"Requires the products.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"required":false,"name":"variantId","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":64},"required":false,"name":"sku","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryPage"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/store":{"get":{"operationId":"getStore","summary":"getStore","description":"Requires the settings.read permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreContext"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/installation":{"get":{"operationId":"getInstallation","summary":"getInstallation","description":"Needs an admitted installation and no permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstallationContext"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/storage/{namespace}":{"get":{"operationId":"listStorage","summary":"listStorage","description":"Needs an admitted installation and no permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"required":true,"name":"namespace","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":1024},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/StoragePage"},{"properties":{"records":{"type":"array","items":{"type":"object","properties":{"namespace":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"key":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"value":{"allOf":[{"$ref":"#/components/schemas/StorageValue"},{"type":["object","null"]}]},"version":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time"}},"required":["namespace","key","value","version","updatedAt"],"additionalProperties":false},"maxItems":100},"nextCursor":{"type":["string","null"],"minLength":1,"maxLength":1024}}}]}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/storage/{namespace}/{key}":{"get":{"operationId":"getStorageRecord","summary":"getStorageRecord","description":"Needs an admitted installation and no permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"required":true,"name":"namespace","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"required":true,"name":"key","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageRecord"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"operationId":"putStorageRecord","summary":"putStorageRecord","description":"Needs an admitted installation and no permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"required":true,"name":"namespace","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"required":true,"name":"key","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoragePutInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageRecordWrite"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"operationId":"deleteStorageRecord","summary":"deleteStorageRecord","description":"Needs an admitted installation and no permission. Responses are private and never cached.","security":[{"AppAccessToken":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z][a-z0-9_]{0,63}$"},"required":true,"name":"namespace","in":"path"},{"schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"},"required":true,"name":"key","in":"path"},{"schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","description":"The store installation the call acts in; GET /installation lists every store."},"required":true,"description":"The store installation the call acts in; GET /installation lists every store.","name":"Poltura-Installation","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageDeleteInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageDeleteResult"}}}},"400":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"412":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"Request rejected; inspect the stable error code. A 429 may include Retry-After and retryAfterMs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}}},"webhooks":{}}