{"openapi":"3.2.0","paths":{"/developer-api/uploads/presign":{"post":{"operationId":"developerApiPresignUpload","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiUploadPresignRequestDto"},"examples":{"modelSource":{"summary":"Create a model source upload session","value":{"type":"model_source","fileName":"chair.glb","fileSize":18452312,"fileType":"model/gltf-binary"}},"image":{"summary":"Create an image upload (3D generation, rugs, rooms); fileUrl is the public URL after upload","value":{"type":"image","fileName":"rug.jpg","fileSize":2481123,"fileType":"image/jpeg"}}}}}},"responses":{"400":{"description":"Invalid upload request or unsupported file metadata","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not have upload permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiUploadPresignResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Create a presigned upload URL for Developer API files","tags":["Uploads"]}},"/developer-api/objects/{tinuuid}":{"delete":{"operationId":"developerApiDeleteObject","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"responses":{"400":{"description":"Invalid object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not have delete permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectDeleteResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Delete a Developer API object","tags":["Objects"]},"get":{"operationId":"developerApiGetObject","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Read one object. A store key reads it with developer:stores:read, an account-wide key needs developer:objects:read","tags":["Objects"]},"patch":{"operationId":"developerApiUpdateObject","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectUpdateRequestDto"},"examples":{"rename":{"summary":"Rename and publish","value":{"name":"Oak chair","publish":true}}}}}},"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Update object metadata (name, description, product URL, category, placement, brand, tags, dimensions) and publish it","tags":["Objects"]}},"/developer-api/objects":{"get":{"operationId":"developerApiListObjects","parameters":[{"name":"page","required":false,"in":"query","description":"1-based page number.","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"search","required":false,"in":"query","description":"Full-text search.","schema":{"minLength":1,"type":"string"}},{"name":"product_type","required":false,"in":"query","description":"Only objects of this product type.","schema":{"minLength":1,"type":"string"}},{"name":"activated","required":false,"in":"query","description":"Only activated (true) or not activated (false) objects.","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"tag_id","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"type":"integer"}},{"name":"category_id","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"type":"integer"}},{"name":"productType","required":false,"in":"query","deprecated":true,"description":"Deprecated: use product_type.","schema":{"minLength":1,"type":"string"}},{"name":"tagId","required":false,"in":"query","deprecated":true,"description":"Deprecated: use tag_id.","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"type":"integer"}},{"name":"categoryId","required":false,"in":"query","deprecated":true,"description":"Deprecated: use category_id.","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"List the objects of the key owner. A store key reads it with developer:stores:read, an account-wide key needs developer:objects:read","tags":["Objects"]}},"/developer-api/objects/{tinuuid}/publish":{"post":{"operationId":"developerApiPublishObject","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectPublicationResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Publish the saved version of an object","tags":["Objects"]}},"/developer-api/objects/{tinuuid}/unpublish":{"post":{"operationId":"developerApiUnpublishObject","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectPublicationResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Unpublish an object (widgets and links stop showing it)","tags":["Objects"]}},"/developer-api/objects/{tinuuid}/activation":{"put":{"operationId":"developerApiSetObjectActivation","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectActivationRequestDto"},"examples":{"activate":{"summary":"Activate for Core AR","value":{"productType":"core-ar","active":true}}}}}},"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectActivationResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Activate or deactivate an object for a product (activations count toward the plan limit)","tags":["Objects"]}},"/developer-api/objects/{tinuuid}/links":{"get":{"operationId":"developerApiGetObjectLinks","parameters":[{"name":"tinuuid","required":true,"in":"path","description":"Public object tinuuid","schema":{"type":"string","examples":["VQ6EAOKbQdSnFkRmVUQAAA"]}},{"name":"hid","required":false,"in":"query","description":"Variant hid; defaults to the first variant.","schema":{"minLength":1,"type":"string"}},{"name":"brand","required":false,"in":"query","description":"Brand of the hosts in the links (arizo = *.arizo.ru).","schema":{"default":"vizbl","type":"string","enum":["vizbl","arizo"]}}],"responses":{"400":{"description":"Invalid request or object tinuuid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"502":{"description":"Developer API auth token exchange failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectLinksResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Public links of an object: AR, App Clip, embeddable viewer, QR hand-off page, showcase","tags":["Objects"]}},"/developer-api/objects/imports":{"post":{"operationId":"developerApiCreateObjectImport","parameters":[{"name":"x-idempotency-key","in":"header","description":"Optional idempotency key for safely retrying import job creation","required":false,"schema":{"type":"string","examples":["import-chair-2026-06-11"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectImportRequestDto"},"examples":{"singleModelImport":{"summary":"Import and publish one uploaded source model","value":{"name":"Oak lounge chair","variants":[{"uploadId":"upl_01HX7P6P1P7J9W8V4Y2R7A1KQ9","name":"Default"}],"description":"Low profile lounge chair with wooden legs.","tags":["chair","wood"],"category":"chairs","mechanic":"floor","ai_generate":true}}}}}},"responses":{"400":{"description":"Invalid import request or upload session state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not have import permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"Idempotency key is already used for a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectImportJobResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Create a Developer API object import job","tags":["Object Imports"]}},"/developer-api/objects/imports/{jobId}":{"get":{"operationId":"developerApiReadObjectImport","parameters":[{"name":"jobId","required":true,"in":"path","description":"Developer API import job id","schema":{"type":"string","examples":["objimp_01HX7P8FQH4A0VZN0XG5M1NE1R"]}}],"responses":{"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not have read permission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Import job not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiObjectImportJobResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Read a Developer API object import job","tags":["Object Imports"]}},"/developer-api/generations/estimate":{"post":{"operationId":"developerApiEstimateGeneration","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationEstimateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationEstimateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Exact token cost of a 3D generation before starting it","tags":["Generations"]}},"/developer-api/generations":{"post":{"description":"Needs the `developer:generations:create` scope (spends tokens; not granted to a key by default).","operationId":"developerApiCreateGeneration","parameters":[{"name":"x-idempotency-key","in":"header","description":"Optional key for safe retries (kept 24 h): the same key and body return the first job. While the first call is still starting a retry gets 409 (code gate.ERROR_DEVELOPER_API_GENERATION_STARTING) for a few minutes at most. If a call with this key timed out after the job may have started, the key stays bound and a retry returns 409 — list generations before launching again with a new key.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationCreateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"402":{"description":"Not enough tokens for this generation (`model-gen.ERROR_INSUFFICIENT_TOKENS`), or the starter generations are used up and the account has not topped up yet (`model-gen.ERROR_STARTER_LIMIT_REACHED`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"Idempotency key reused with a different request, the first call is still starting, or its outcome is unknown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"429":{"description":"Too many generations running at once (5)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationJobDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Start a 3D generation from 1–6 photos (reserves tokens; the model lands in the catalog)","tags":["Generations"]},"get":{"operationId":"developerApiListGenerations","parameters":[{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"List generation and rug jobs, newest first","tags":["Generations"]}},"/developer-api/generations/{jobId}":{"get":{"operationId":"developerApiGetGeneration","parameters":[{"name":"jobId","required":true,"in":"path","description":"Generation job id","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationJobDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Read a generation or rug job","tags":["Generations"]}},"/developer-api/generations/{jobId}/cancel":{"post":{"description":"Needs the `developer:generations:create` scope.","operationId":"developerApiCancelGeneration","parameters":[{"name":"jobId","required":true,"in":"path","description":"Generation job id","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationJobDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Cancel a running generation (reserved tokens are released)","tags":["Generations"]}},"/developer-api/rugs":{"post":{"operationId":"developerApiCreateRug","parameters":[{"name":"x-idempotency-key","in":"header","description":"Optional key for safe retries (kept 24 h): the same key and body return the first job. While the first call is still starting a retry gets 409 (code gate.ERROR_DEVELOPER_API_GENERATION_STARTING) for a few minutes at most. If a call with this key timed out after the job may have started, the key stays bound and a retry returns 409 — list generations before launching again with a new key.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRugCreateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Key not allowed, upload of another account, or blocked account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"Idempotency key reused with a different request, the first call is still starting, or its outcome is unknown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiGenerationJobDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Create a rug (or another size of a rug kit) from a top-down photo; free","tags":["Generations"]}},"/developer-api/kits":{"get":{"operationId":"developerApiListKits","parameters":[{"name":"product_type","required":false,"in":"query","description":"rugs or flooring (any product type is accepted).","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen"]}},{"name":"productType","required":false,"in":"query","deprecated":true,"description":"Deprecated: use product_type.","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen"]}},{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"search","required":false,"in":"query","schema":{"minLength":1,"maxLength":200,"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Kit not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKitListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"List kits (rugs, flooring) of the key owner","tags":["Kits"]}},"/developer-api/kits/{kitId}/items":{"get":{"operationId":"developerApiListKitItems","parameters":[{"name":"kitId","required":true,"in":"path","description":"Kit id","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Kit not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKitItemsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"List the objects (sizes, colours) of one kit","tags":["Kits"]}},"/developer-api/kits/{kitId}":{"patch":{"operationId":"developerApiUpdateKit","parameters":[{"name":"kitId","required":true,"in":"path","description":"Kit id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKitUpdateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Kit not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKitUpdateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Rename a kit and/or set its shared product page URL","tags":["Kits"]}},"/developer-api/rooms":{"get":{"operationId":"developerApiListRooms","parameters":[{"name":"product_type","required":true,"in":"query","description":"Product whose viewer shows the room: rugs, flooring, wallart, panels.","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":50,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Room not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"List rooms (built-in and uploaded) of one product","tags":["Rooms"]},"post":{"operationId":"developerApiCreateRoom","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomCreateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Room not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomCreateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Add a room from an image upload; plan-limit problems come back in errors","tags":["Rooms"]}},"/developer-api/rooms/{roomId}":{"patch":{"operationId":"developerApiUpdateRoom","parameters":[{"name":"roomId","required":true,"in":"path","description":"Room id","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomUpdateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Room not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Rename, describe, (de)activate or reorder a room","tags":["Rooms"]},"delete":{"operationId":"developerApiDeleteRoom","parameters":[{"name":"roomId","required":true,"in":"path","description":"Room id","schema":{"type":"string"}},{"name":"product_type","required":true,"in":"query","description":"Product whose viewer shows the room: rugs, flooring, wallart, panels.","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Room not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoomDeleteResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Delete an uploaded room (built-in rooms can only be deactivated)","tags":["Rooms"]}},"/developer-api/account":{"get":{"operationId":"developerApiReadAccount","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAccountResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Company, subscriptions with plan limits, and token balance","tags":["Account"]}},"/developer-api/pricing":{"get":{"operationId":"developerApiReadPricing","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPricingResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Live token prices of billable actions under the account plans, plus the token catalog","tags":["Account"]}},"/developer-api/usage":{"get":{"operationId":"developerApiReadUsage","parameters":[{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}},{"name":"from","required":false,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":false,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"reason","required":false,"in":"query","schema":{"type":"string","enum":["purchase","token_consumed","refund","manual_adjustment","welcome_grant"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiUsageResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Token balance transactions (credits and debits)","tags":["Account"]}},"/developer-api/checkout":{"post":{"operationId":"developerApiCreateCheckout","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiCheckoutRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"top_up: the account pays through the Shopify app, so no card payment is started; manage_url is the billing page of the app in the Shopify admin","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"paymentsThroughShopifyApp":{"summary":"The account pays through the Shopify app: send the merchant to manage_url instead","value":{"status":409,"code":"subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP","error":["Payments for this account go through the Vizbl app in Shopify: top up and change the plan there"],"manage_url":"https://admin.shopify.com/store/example/apps/example-app/billing"}}}}}},"429":{"description":"More than 10 checkout links a minute for this key (30 per account)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiCheckoutResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Payment link for a token top-up or a plan switch. Never charges: a human opens payment_url and pays or confirms there. Needs the developer:billing:checkout scope","tags":["Account"]}},"/developer-api/invoices":{"get":{"operationId":"developerApiListInvoices","parameters":[{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}},{"name":"status","required":false,"in":"query","schema":{"type":"string","enum":["DRAFT","PENDING","PAID","VOID","REFUNDED","OVERDUE"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiInvoiceListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Invoices of the company, with the provider page to pay them","tags":["Account"]}},"/developer-api/invoices/{invoiceId}/pdf":{"get":{"operationId":"developerApiReadInvoicePdf","parameters":[{"name":"invoiceId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Invoice not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiInvoicePdfResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Short-lived link to the invoice PDF","tags":["Account"]}},"/developer-api/analytics/summary":{"get":{"operationId":"developerApiReadAnalyticsSummary","parameters":[{"name":"from","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","wallart","rugs","flooring","ai-try-on","view-360","panels"]}},{"name":"channels","required":false,"in":"query","schema":{"anyOf":[{"type":"string","enum":["platform","shopify"]},{"type":"array","items":{"type":"string","enum":["platform","shopify"]}}]}},{"name":"compare","required":false,"in":"query","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"group_by","required":false,"in":"query","schema":{"type":"string","enum":["country","device","browser","objectId","variantId","apiKeyId","productType","source","domain","mode","productRef","channel"]}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAnalyticsSummaryResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Widget analytics totals for a period (compare=true adds the previous period)","tags":["Account"]}},"/developer-api/analytics/daily":{"get":{"operationId":"developerApiReadAnalyticsDaily","parameters":[{"name":"from","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","wallart","rugs","flooring","ai-try-on","view-360","panels"]}},{"name":"channels","required":false,"in":"query","schema":{"anyOf":[{"type":"string","enum":["platform","shopify"]},{"type":"array","items":{"type":"string","enum":["platform","shopify"]}}]}},{"name":"compare","required":false,"in":"query","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"group_by","required":false,"in":"query","schema":{"type":"string","enum":["country","device","browser","objectId","variantId","apiKeyId","productType","source","domain","mode","productRef","channel"]}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAnalyticsDailyResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Widget analytics per day, optionally grouped (group_by)","tags":["Account"]}},"/developer-api/analytics/breakdown":{"get":{"operationId":"developerApiReadAnalyticsBreakdown","parameters":[{"name":"from","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","wallart","rugs","flooring","ai-try-on","view-360","panels"]}},{"name":"channels","required":false,"in":"query","schema":{"anyOf":[{"type":"string","enum":["platform","shopify"]},{"type":"array","items":{"type":"string","enum":["platform","shopify"]}}]}},{"name":"compare","required":false,"in":"query","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"group_by","required":false,"in":"query","schema":{"type":"string","enum":["country","device","browser","objectId","variantId","apiKeyId","productType","source","domain","mode","productRef","channel"]}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAnalyticsBreakdownResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Widget analytics period totals by one dimension (group_by required)","tags":["Account"]}},"/developer-api/analytics/objects":{"get":{"operationId":"developerApiReadAnalyticsObjects","parameters":[{"name":"from","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","wallart","rugs","flooring","ai-try-on","view-360","panels"]}},{"name":"channels","required":false,"in":"query","schema":{"anyOf":[{"type":"string","enum":["platform","shopify"]},{"type":"array","items":{"type":"string","enum":["platform","shopify"]}}]}},{"name":"compare","required":false,"in":"query","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"group_by","required":false,"in":"query","schema":{"type":"string","enum":["country","device","browser","objectId","variantId","apiKeyId","productType","source","domain","mode","productRef","channel"]}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAnalyticsObjectsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Top models by widget activity for a period","tags":["Account"]}},"/developer-api/analytics/domains":{"get":{"operationId":"developerApiReadAnalyticsDomains","parameters":[{"name":"from","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"to","required":true,"in":"query","schema":{"format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","type":"string"}},{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}},{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","wallart","rugs","flooring","ai-try-on","view-360","panels"]}},{"name":"channels","required":false,"in":"query","schema":{"anyOf":[{"type":"string","enum":["platform","shopify"]},{"type":"array","items":{"type":"string","enum":["platform","shopify"]}}]}},{"name":"compare","required":false,"in":"query","schema":{"anyOf":[{"type":"string"},{"type":"boolean"}]}},{"name":"group_by","required":false,"in":"query","schema":{"type":"string","enum":["country","device","browser","objectId","variantId","apiKeyId","productType","source","domain","mode","productRef","channel"]}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiAnalyticsDomainsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Widget activity per site domain, with configured domains without traffic and blocked requests","tags":["Account"]}},"/developer-api/keys":{"get":{"operationId":"developerApiListPublicKeys","parameters":[{"name":"product_type","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKeyListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Publishable keys (pk_…) of the account; secret keys are never listed","tags":["Keys"]},"post":{"operationId":"developerApiCreatePublicKey","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiKeyCreateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPublicKeyDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Create a publishable key for one product","tags":["Keys"]}},"/developer-api/keys/{keyId}":{"delete":{"operationId":"developerApiRevokePublicKey","parameters":[{"name":"keyId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"API key not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPublicKeyDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Revoke a publishable key (secret keys only in the cabinet)","tags":["Keys"]}},"/developer-api/domains":{"get":{"operationId":"developerApiReadDomains","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiDomainsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Site domains allowed for the widgets (shared by every publishable key)","tags":["Keys"]},"put":{"operationId":"developerApiReplaceDomains","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiDomainsUpdateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiDomainsUpdateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Replace the whole domain allow-list; widgets stop working on removed domains. Returns added / removed","tags":["Keys"]}},"/developer-api/members":{"get":{"operationId":"developerApiListMembers","parameters":[{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiMemberListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Members and pending invites of the company (paged)","tags":["Team"]}},"/developer-api/roles":{"get":{"operationId":"developerApiListRoles","parameters":[{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRoleListResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Roles of the company; invitable_by_api says which an API key may invite","tags":["Team"]}},"/developer-api/invites":{"post":{"operationId":"developerApiCreateInvite","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiInviteCreateRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiMemberDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Invite a member by email with a role whose rights stay within the editor role (not admin)","tags":["Team"]}},"/developer-api/invites/{inviteId}":{"delete":{"operationId":"developerApiRevokeInvite","parameters":[{"name":"inviteId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Invite not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiInviteRevokeResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Revoke a pending invite","tags":["Team"]}},"/developer-api/shopify/shop":{"get":{"operationId":"developerApiReadShopifyShop","parameters":[{"name":"app","required":false,"in":"query","schema":{"default":"core-ar","type":"string","enum":["core-ar","wallart","ai-try-on"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyShopResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"The Shopify store linked to the account for one app","tags":["Shopify"]}},"/developer-api/shopify/products":{"get":{"operationId":"developerApiListShopifyProducts","parameters":[{"name":"first","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}},{"name":"after","required":false,"in":"query","schema":{"minLength":1,"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"minLength":1,"maxLength":200,"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyProductsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Products of the linked store with their variants (cursor pagination)","tags":["Shopify"]}},"/developer-api/shopify/model-links":{"put":{"operationId":"developerApiLinkShopifyModel","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyModelLinkRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyModelLinkResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Show a 3D model on product variants (the same metafields the cabinet writes); counts toward the linking limit","tags":["Shopify"]},"delete":{"operationId":"developerApiUnlinkShopifyModel","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyModelUnlinkRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyModelLinkResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Remove the 3D model from product variants","tags":["Shopify"]}},"/developer-api/shopify/posters":{"get":{"operationId":"developerApiListShopifyPosters","parameters":[{"name":"first","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":20,"type":"integer"}},{"name":"after","required":false,"in":"query","schema":{"minLength":1,"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"minLength":1,"maxLength":200,"type":"string"}},{"name":"state","required":false,"in":"query","schema":{"default":"all","type":"string","enum":["all","activated","nonactivated"]}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyPostersResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Wall Art poster products of the store and the activation quota","tags":["Shopify"]}},"/developer-api/shopify/posters/{productId}/active":{"patch":{"operationId":"developerApiSetShopifyPosterActive","parameters":[{"name":"productId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyPosterActiveRequestDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Product not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyPosterActiveResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Turn the Wall Art widget on or off for one poster product","tags":["Shopify"]}},"/developer-api/shopify/tryon/settings":{"get":{"operationId":"developerApiReadShopifyTryOnSettings","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyTryOnSettingsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"AI Try-On shop settings (default photo position and collection rules)","tags":["Shopify"]},"put":{"operationId":"developerApiUpdateShopifyTryOnSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyTryOnSettingsUpdateDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyTryOnSettingsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Update AI Try-On shop settings (merged onto the current ones)","tags":["Shopify"]}},"/developer-api/shopify/tryon/products":{"put":{"operationId":"developerApiUpdateShopifyTryOnProducts","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyTryOnProductsUpdateDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiShopifyTryOnProductsResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Turn AI Try-On on/off and set zone type or photo for products","tags":["Shopify"]}},"/developer-api/stores":{"get":{"operationId":"developerApiListStores","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoresResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Stores of the account with their product and link counts by product kind and status","tags":["Stores"]}},"/developer-api/store-products":{"get":{"operationId":"developerApiListStoreProducts","parameters":[{"name":"store_id","required":false,"in":"query","schema":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","type":"string"}},{"name":"product_kind","required":false,"in":"query","description":"With a kind, link_state is judged for that kind only.","schema":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]}},{"name":"link_state","required":false,"in":"query","description":"unlinked: no link (of product_kind, or of any kind); a status: a link in that status exists.","schema":{"default":"all","type":"string","enum":["all","unlinked","linked","preparing","needs_review","disabled"]}},{"name":"kind","required":false,"in":"query","description":"Only the products decided to be for this Vizbl product; none: products no Vizbl button shows.","schema":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on","none"]}},{"name":"search","required":false,"in":"query","description":"Matches title, sku, page url and platform ids.","schema":{"minLength":1,"maxLength":200,"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":50,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductsResponseDto_Output"},"examples":{"linkedAndUndecided":{"summary":"A product linked to a 3D object, and one that waits for the classifier","value":{"items":[{"id":"5a1d2c3b-8e7f-4a6b-9c0d-2e4f6a8b0c1d","external_product_id":"8112233445566","external_variant_id":null,"sku":"CHAIR-OAK","url":"example.com/products/oak-chair","title":"Oak chair","image_url":"https://cdn.example.com/products/oak-chair.jpg","store_id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","updated_at":"2026-11-21T08:30:00.000Z","kind":"core-ar","kind_source":"rule","kind_pending":false,"links":[{"id":"9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a","product_kind":"core-ar","obj_id":"2e4f6a8b-0c1d-4e3f-a5b6-c7d8e9f0a1b2","tinuuid":"VQ6EAOKbQdSnFkRmVUQAAA","variant_hid":null,"source":"manual","status":"linked","data":{},"updated_at":"2026-11-21T08:30:00.000Z"}]},{"id":"6b2e3d4c-9f8a-4b7c-8d1e-3f5a7b9c1d2e","external_product_id":"8112233445577","external_variant_id":null,"sku":null,"url":"example.com/products/gift-card","title":"Gift card","image_url":null,"store_id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","updated_at":"2026-11-21T08:30:00.000Z","kind":null,"kind_source":null,"kind_pending":true,"links":[]}],"count":2,"page":1,"limit":50}}}}}}},"security":[{"bearer":[]}],"summary":"Store products with their links: what is linked, what waits for a choice, what has no link yet","tags":["Stores"]}},"/developer-api/stores/catalog":{"put":{"operationId":"developerApiUpdateStoreCatalog","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreCatalogUpdateRequestDto"},"examples":{"products":{"summary":"A batch of products, linked automatically where possible","value":{"store":{"platform":"shopify","domain":"example.com","external_id":"example.myshopify.com"},"products":[{"external_product_id":"8112233445566","title":"Oak chair","url":"https://example.com/products/oak-chair","image_url":"https://cdn.example.com/products/oak-chair.jpg","sku":"CHAIR-OAK","price":"$240.00","product_type":"Chairs","tags":["oak","dining"],"variants":[{"external_variant_id":"45566778899001","sku":"CHAIR-OAK-NAT","title":"Natural","options":["Natural"],"price":"$240.00"}]}],"auto_link_kinds":["core-ar"]}},"removedProducts":{"summary":"Products the store no longer has","value":{"store":{"platform":"shopify","domain":"example.com","external_id":"example.myshopify.com"},"removed_external_product_ids":["8112233445577"]}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreCatalogUpdateResponseDto_Output"},"examples":{"recorded":{"summary":"One new store product row and its automatic link","value":{"store_id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","products":{"created":1,"updated":0,"unchanged":0,"removed":0},"links":{"created":1,"updated":0,"unchanged":0,"removed":0,"kept":0,"needs_review":0}}}}}}}},"security":[{"bearer":[]}],"summary":"Send a batch of a store catalog (up to 100 products); the same batch again changes nothing","tags":["Stores"]}},"/developer-api/store-product-links":{"get":{"operationId":"developerApiListStoreProductLinks","parameters":[{"name":"product_kind","required":false,"in":"query","schema":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]}},{"name":"page","required":false,"in":"query","schema":{"maximum":9007199254740991,"exclusiveMinimum":0,"default":1,"type":"integer"}},{"name":"limit","required":false,"in":"query","schema":{"maximum":100,"exclusiveMinimum":0,"default":50,"type":"integer"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinksResponseDto_Output"},"examples":{"links":{"summary":"The links of the store, newest first","value":{"items":[{"id":"9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a","product_kind":"core-ar","obj_id":"2e4f6a8b-0c1d-4e3f-a5b6-c7d8e9f0a1b2","tinuuid":"VQ6EAOKbQdSnFkRmVUQAAA","variant_hid":null,"source":"manual","status":"linked","data":{},"updated_at":"2026-11-21T08:30:00.000Z","created_at":"2026-11-20T10:15:00.000Z","store":{"id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","platform":"shopify","domain":"example.com"},"product":{"id":"5a1d2c3b-8e7f-4a6b-9c0d-2e4f6a8b0c1d","external_product_id":"8112233445566","external_variant_id":null,"sku":"CHAIR-OAK","url":"example.com/products/oak-chair","title":"Oak chair","image_url":"https://cdn.example.com/products/oak-chair.jpg"}}],"count":1,"page":1,"limit":50}}}}}}},"security":[{"bearer":[]}],"summary":"Store product links of the account, newest first","tags":["Stores"]},"put":{"operationId":"developerApiPutStoreProductLink","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinkUpsertRequestDto"},"examples":{"coreAr":{"summary":"Link a store product to a 3D object (core-ar)","value":{"store":{"platform":"shopify","domain":"example.com","external_id":"example.myshopify.com"},"product":{"external_product_id":"8112233445566","title":"Oak chair","url":"https://example.com/products/oak-chair"},"product_kind":"core-ar","obj_id":"VQ6EAOKbQdSnFkRmVUQAAA"}},"wallart":{"summary":"Link one variant as wall art: no object, the artwork in data","value":{"store":{"platform":"shopify","domain":"example.com","external_id":"example.myshopify.com"},"product":{"external_product_id":"8112233445588","external_variant_id":"45566778899002","title":"Harbour print"},"product_kind":"wallart","data":{"image_url":"https://cdn.example.com/products/harbour-print.jpg","width":60,"height":90,"dimension_unit":"cm"}}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Object not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinkDto_Output"},"examples":{"linked":{"summary":"The link as it stands: a storefront button is shown for it","value":{"id":"9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a","product_kind":"core-ar","obj_id":"2e4f6a8b-0c1d-4e3f-a5b6-c7d8e9f0a1b2","tinuuid":"VQ6EAOKbQdSnFkRmVUQAAA","variant_hid":null,"source":"manual","status":"linked","data":{},"updated_at":"2026-11-21T08:30:00.000Z","created_at":"2026-11-20T10:15:00.000Z","store":{"id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","platform":"shopify","domain":"example.com"},"product":{"id":"5a1d2c3b-8e7f-4a6b-9c0d-2e4f6a8b0c1d","external_product_id":"8112233445566","external_variant_id":null,"sku":"CHAIR-OAK","url":"example.com/products/oak-chair","title":"Oak chair","image_url":"https://cdn.example.com/products/oak-chair.jpg"}}}}}}}},"security":[{"bearer":[]}],"summary":"Link a store product to a Vizbl product, or replace its link for that product kind","tags":["Stores"]}},"/developer-api/store-product-links/{id}":{"patch":{"operationId":"developerApiSetStoreProductLinkActive","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinkActiveRequestDto"},"examples":{"switchOff":{"summary":"Switch the link off","value":{"active":false}},"switchOn":{"summary":"Switch a switched-off link back on","value":{"active":true}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Link not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"The link was never completed: link the product again instead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinkDto_Output"},"examples":{"switchedOff":{"summary":"The link switched off: no storefront button","value":{"id":"9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a","product_kind":"core-ar","obj_id":"2e4f6a8b-0c1d-4e3f-a5b6-c7d8e9f0a1b2","tinuuid":"VQ6EAOKbQdSnFkRmVUQAAA","variant_hid":null,"source":"manual","status":"disabled","data":{},"updated_at":"2026-11-21T08:30:00.000Z","created_at":"2026-11-20T10:15:00.000Z","store":{"id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","platform":"shopify","domain":"example.com"},"product":{"id":"5a1d2c3b-8e7f-4a6b-9c0d-2e4f6a8b0c1d","external_product_id":"8112233445566","external_variant_id":null,"sku":"CHAIR-OAK","url":"example.com/products/oak-chair","title":"Oak chair","image_url":"https://cdn.example.com/products/oak-chair.jpg"}}}}}}}},"security":[{"bearer":[]}],"summary":"Switch a store product link off, or a switched-off link back on","tags":["Stores"]},"delete":{"operationId":"developerApiDeleteStoreProductLink","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Link not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreProductLinkDeleteResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Delete a store product link; the store product stays","tags":["Stores"]}},"/developer-api/store-connection":{"get":{"operationId":"developerApiReadStoreConnection","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"The key is not bound to a store, or its store no longer exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"storeConnectOff":{"summary":"Store connections are switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectionResponseDto_Output"},"examples":{"connected":{"summary":"The connected store of the key","value":{"store":{"id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","platform":"shopify","domain":"example.com","external_id":"example.myshopify.com"},"connection_status":"connected","connected_at":"2026-11-20T10:15:00.000Z","publishable_keys":[{"product_type":"core-ar","key":"pk_example_publishable_key"}],"domains":["example.com","example.myshopify.com"]}}}}}}},"security":[{"bearer":[]}],"summary":"The store this key is bound to, with the publishable keys its storefront uses. For a key bound to a store only","tags":["Stores"]},"delete":{"operationId":"developerApiDeleteStoreConnection","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"The key is not bound to a store, or its store no longer exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"The store is disconnected already","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectionDeleteResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Disconnect the store (the app is uninstalled): every key of the store is revoked, this one included, and the hosts this connection added leave the allowed domains. Products and links stay","tags":["Stores"]}},"/developer-api/store-connection/domains":{"put":{"operationId":"developerApiUpdateStoreConnectionDomains","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectionDomainsUpdateRequestDto"},"examples":{"hosts":{"summary":"Every host the storefront is served from now","value":{"domains":["example.com","www.example.com","example.myshopify.com"]}}}}}},"responses":{"400":{"description":"A domain is not a plain host name, or is not one of the store's own hosts (its domain, www. twin, subdomains, its myshopify.com address)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"The key is not bound to a store, or its store no longer exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"storeConnectOff":{"summary":"Store connections are switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"The store is disconnected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectionDomainsResponseDto_Output"},"examples":{"added":{"summary":"One host added, none removed","value":{"domains":["example.com","www.example.com","example.myshopify.com"],"added":["www.example.com"],"removed":[]}}}}}}},"security":[{"bearer":[]}],"summary":"The hosts the storefront is served from now: replaces only the hosts this connection added to the account's allowed domains. For a key bound to a store only","tags":["Stores"]}},"/developer-api/store-connection/rotate":{"post":{"operationId":"developerApiRotateStoreConnectionKey","parameters":[],"responses":{"400":{"description":"The store has as many working keys as it may","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"The key is not bound to a store, or its store no longer exists","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"409":{"description":"The store is disconnected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectionRotateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"A new store key, shown once; the previous keys of the store keep working for 24 hours. For a key bound to a store only","tags":["Stores"]}},"/developer-api/store-connections/requests":{"post":{"operationId":"developerApiCreateStoreConnectionRequest","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectRequestCreateDto"},"examples":{"hostedApp":{"summary":"The hosted app (a confidential client) asks to connect a Shopify store","value":{"client_id":"vizbl-app","client_secret":"<client secret>","platform":"shopify","store":{"external_id":"example.myshopify.com","domain":"example.com","domains":["www.example.com","example.myshopify.com"],"name":"Example Store","email":"owner@example.com"},"redirect_uri":"https://app.example.com/store-connection/callback","state":"example-state","code_challenge":"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM","code_challenge_method":"S256"}},"hostedAppWithSessionToken":{"summary":"The same with the Shopify session token: a store that already has its account is approved at once","value":{"client_id":"vizbl-app","client_secret":"<client secret>","platform":"shopify","store":{"external_id":"example.myshopify.com","domain":"example.com"},"redirect_uri":"https://app.example.com/store-connection/callback","state":"example-state","code_challenge":"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM","code_challenge_method":"S256","shopify_id_token":"header.payload.signature"}},"woocommercePlugin":{"summary":"The WooCommerce plugin (a public client, no secret) asks from the store itself","value":{"client_id":"vizbl-woocommerce","platform":"woocommerce","store":{"external_id":"shop.example.com","domain":"shop.example.com","name":"Example Shop"},"redirect_uri":"https://shop.example.com/wp-admin/admin.php?page=store-connection","state":"example-state","code_challenge":"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM","code_challenge_method":"S256"}}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectRequestCreateResponseDto_Output"},"examples":{"approvalRequired":{"summary":"The merchant has to approve: open consent_url for them","value":{"status":"approval_required","request_id":"example-request-id","consent_url":"https://cabinet.example.com/connect/store?request=example-request-id","expires_in":1800}},"approved":{"summary":"Approved at once (a Shopify session token of a store that already has its account)","value":{"status":"approved","code":"example-one-time-code","expires_in":300}}}}}},"400":{"description":"invalid_request (a field, the store domain, redirect_uri, or a shopify_id_token that is invalid or of another store) or unauthorized_client (the platform)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectErrorDto"}}}},"401":{"description":"invalid_client: unknown client, wrong or missing secret","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectErrorDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"storeConnectOff":{"summary":"Store connections are switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"429":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}}},"summary":"Ask to connect a store: the merchant approves it on the Vizbl page at consent_url (no key; client authentication and PKCE S256). With a Shopify session token, a store that already has its Vizbl account is approved at once (status approved, with the code)","tags":["Store Connection"],"security":[]}},"/developer-api/store-connections/token":{"post":{"operationId":"developerApiCreateStoreConnectionToken","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectTokenRequestDto"},"examples":{"exchangeCode":{"summary":"Exchange the one-time code for the store key","value":{"client_id":"vizbl-app","client_secret":"<client secret>","code":"example-one-time-code","code_verifier":"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk","redirect_uri":"https://app.example.com/store-connection/callback"}}}}}},"responses":{"400":{"description":"invalid_grant (unknown, expired or used code; client, redirect_uri or verifier mismatch; store disconnected) or invalid_request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectErrorDto"}}}},"401":{"description":"invalid_client","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectErrorDto"}}}},"404":{"description":"Store connections are not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"storeConnectOff":{"summary":"Store connections are switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"429":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiStoreConnectTokenResponseDto_Output"},"examples":{"storeKey":{"summary":"The store key (shown once) and what the storefront needs","value":{"store_key":"sk_example_store_key","key_id":"0b6f3a52-4c1d-4e8a-9f27-5d3c8a1b6e40","store_id":"7c9e6679-7425-40de-944b-e07fc1f90ae7","account":{"company_id":"3f2b8c1e-7a4d-4e9b-9c35-1d6f0a2b8e47","name":"Example Store"},"publishable_keys":[{"product_type":"core-ar","key":"pk_example_publishable_key"}],"domains":["example.com","www.example.com","example.myshopify.com"],"scopes":["developer:stores:read","developer:stores:write","developer:account:read"]}}}}}}},"summary":"Exchange the one-time code for the store key (once; the same client, redirect_uri and the PKCE verifier). When the account had connected this store by consent already and its owner approved again, the keys the store had stop working at this exchange","tags":["Store Connection"],"security":[]}},"/developer-api/requests":{"post":{"operationId":"developerApiCreateRequest","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRequestCreateDto"}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiRequestCreateResponseDto_Output"}}}}},"security":[{"bearer":[]}],"summary":"Send a request to the Vizbl team: catalog import, model order, upload help, support or sales","tags":["Requests"]}},"/developer-api/billing/offer":{"get":{"operationId":"developerApiReadBillingOffer","parameters":[],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Billing through the Shopify app is not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingOfferResponseDto_Output"},"examples":{"shopifyAppAccount":{"summary":"An account that pays through the Shopify app: a token package, a plan assigned by a plan link, auto top-up not approved yet","value":{"payment_platform":"shopify_app","manage_url":"https://admin.shopify.com/store/example/apps/example-app/billing","currency":"USD","balance":{"remaining":1200,"reserved":0},"token_catalog":{"packages":[{"id":"tokens-5000","tokens":5000,"bonus_tokens":250,"price":{"amount":"49.00","currency_code":"USD"}}],"min_tokens":1000,"max_tokens":1000000},"active_plans":[],"assigned_plans":[{"plan_id":"c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f","name":"Growth","product_type":"core-ar-shopify","price":{"amount":"199.00","currency_code":"USD"},"interval":"EVERY_30_DAYS","plan_link":"e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"}],"auto_top_up":{"state":"needs_approval","threshold_tokens":500,"top_up_tokens":5000},"shopify_subscription":{"state":"none","capped_amount":null,"used_in_cycle":null,"cycle_ends_at":null,"plan_id":null,"store_id":null},"grace":{"state":"none"},"billing_mode":"metered","fixed_plan":null,"usage":{"period_start":"2026-11-01T00:00:00.000Z","period_end":"2026-12-01T00:00:00.000Z","opens":320,"views":2140,"ar_launches":410,"generations":12}}}}}}}},"security":[{"bearer":[]}],"summary":"What the Vizbl Shopify app may sell to the account (token packages, plans assigned to it) and where its billing stands. Read only. A store key reads it with developer:account:read, an account-wide key needs developer:billing:read","tags":["Account"]}},"/developer-api/billing/top_ups":{"post":{"operationId":"developerApiCreateBillingTopUp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingTopUpRequestDto"},"examples":{"package":{"summary":"A package of token_catalog.packages","value":{"package_id":"tokens-5000"}},"customAmount":{"summary":"A custom amount of tokens","value":{"tokens":2500}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Billing through the Shopify app is not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"The store is not a connected Shopify store","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingTopUpResponseDto_Output"},"examples":{"intent":{"summary":"The intent and the appPurchaseOneTimeCreate parameters; nothing is charged yet","value":{"intent_id":"4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f7a","shopify":{"name":"5,250 Vizbl tokens","price":{"amount":"49.00","currency_code":"USD"},"test":false,"return_url":"https://admin.shopify.com/store/example/apps/example-app/billing/return?intent_id=4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f7a"}}}}}}}},"security":[{"bearer":[]}],"summary":"Start a token top-up the Vizbl Shopify app charges through Shopify Billing: returns the intent and the exact appPurchaseOneTimeCreate parameters. Charges nothing; tokens are credited only when Shopify reports the charge paid. A store key needs developer:account:read, an account-wide key developer:billing:checkout and a store_id","tags":["Account"]}},"/developer-api/billing/subscriptions":{"post":{"operationId":"developerApiCreateBillingSubscription","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingSubscriptionRequestDto"},"examples":{"planByLink":{"summary":"The plan of the plan link the merchant came by","value":{"kind":"plan","plan_link":"e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9"}},"planById":{"summary":"A plan of billing/offer.assigned_plans, with auto top-up","value":{"kind":"plan","plan_id":"c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f","capped_amount":"100.00","threshold_tokens":500,"top_up_tokens":5000}},"addAutoTopUpToPlan":{"summary":"Add auto top-up to the plan the store already pays for through Shopify: plan_id is billing/offer.shopify_subscription.plan_id","value":{"kind":"plan","plan_id":"a7b8c9d0-e1f2-4a3b-9c4d-5e6f7a8b9c0d","capped_amount":"100.00","threshold_tokens":500,"top_up_tokens":5000}},"autoTopUp":{"summary":"Auto top-up only: a usage charge with a cap","value":{"kind":"auto_top_up","capped_amount":"100.00","threshold_tokens":500,"top_up_tokens":5000}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Plan not assigned to the account, or no such plan link","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"The store is not a connected Shopify store, or (auto_top_up) a plan subscription is in force — add auto top-up to the plan instead","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingSubscriptionResponseDto_Output"},"examples":{"checkout":{"summary":"result=checkout: the intent and the appSubscriptionCreate parameters of a plan started by its link","value":{"result":"checkout","plan_link":"e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9","intent_id":"8a7b6c5d-4e3f-4a2b-8c1d-0e9f8a7b6c5d","shopify":{"name":"Growth","return_url":"https://admin.shopify.com/store/example/apps/example-app/billing/return?intent_id=8a7b6c5d-4e3f-4a2b-8c1d-0e9f8a7b6c5d","test":false,"replacement_behavior":"APPLY_IMMEDIATELY","line_items":[{"recurring":{"price":{"amount":"199.00","currency_code":"USD"},"interval":"EVERY_30_DAYS"}}]}}},"blocked":{"summary":"result=blocked: the plan link is refused (here: the plan is addressed to another account); nothing was created","value":{"result":"blocked","plan_link":"e5f6a7b8-c9d0-4e1f-a2b3-c4d5e6f7a8b9","reason":"not_addressed"}}}}}}},"security":[{"bearer":[]}],"summary":"Start an app subscription the Vizbl Shopify app creates through Shopify Billing — auto top-up (a usage charge with a cap the merchant approves once) or a plan assigned to the account (monthly, optionally with auto top-up), by plan_id or by the plan link the merchant came by (plan_link): returns the intent and the exact appSubscriptionCreate parameters (result=checkout), or, for a plan link that cannot be charged, result=blocked with the reason and nothing created. Charges and activates nothing; that happens only when Shopify reports the subscription approved. A store key needs developer:account:read, an account-wide key developer:billing:checkout and a store_id","tags":["Account"]}},"/developer-api/billing/plan_links/{plan_link}/events":{"post":{"operationId":"developerApiCreatePlanLinkEvent","parameters":[{"name":"plan_link","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPlanLinkEventRequestDto"},"examples":{"linkOpened":{"summary":"The app was opened by the plan link","value":{"type":"link_opened","client_event_id":"plan-link-opened-0001"}},"blocked":{"summary":"Shopify refused appSubscriptionCreate","value":{"type":"blocked","reason":"shop_cannot_pay","client_event_id":"plan-link-blocked-0001"}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Plan link not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPlanLinkEventResponseDto_Output"},"examples":{"recorded":{"summary":"The event was recorded","value":{"event_id":"f6a7b8c9-d0e1-4f2a-b3c4-d5e6f7a8b9c0","duplicate":false}}}}}}},"security":[{"bearer":[]}],"summary":"Report what happened to a plan link in the app: opened, opened in a store without the app (install_required), declined in Shopify, or Shopify refused appSubscriptionCreate (blocked, with its reason). Idempotent by client_event_id. Charges nothing. A store key needs developer:account:read, an account-wide key developer:billing:checkout","tags":["Account"]}},"/developer-api/billing/plan_change_requests":{"post":{"operationId":"developerApiCreatePlanChangeRequest","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPlanChangeRequestRequestDto"},"examples":{"upgrade":{"summary":"The merchant wants a bigger plan","value":{"type":"upgrade","comment":"We are adding 300 products next month.","contact":"owner@example.com"}},"cancel":{"summary":"The merchant wants to cancel","value":{"type":"cancel"}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Billing through the Shopify app is off","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"The account is not on a fixed-fee custom plan, or the named store is not a connected Shopify store of the account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"429":{"description":"More than 3 requests in an hour for the account; retryAfterSeconds says when the next one is accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiPlanChangeRequestResponseDto_Output"},"examples":{"accepted":{"summary":"The request was stored; a manager contacts the merchant","value":{"request_id":"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d","status":"new","created_at":"2026-11-26T10:00:00.000Z"}}}}}}},"security":[{"bearer":[]}],"summary":"Ask a manager to change, cancel or discuss the fixed-fee custom plan of the account (billing_mode = fixed_plan in GET /billing/offer): upgrade, downgrade, change_terms, cancel or other, with an optional comment and contact. Stored for the Vizbl team and sent to the CRM; changes no subscription and charges nothing. At most 3 requests an hour per account (429 with retryAfterSeconds). A store key needs developer:account:read, an account-wide key developer:billing:checkout","tags":["Account"]}},"/developer-api/billing/intents/{intent_id}/charge":{"post":{"operationId":"developerApiUpdateBillingIntentCharge","parameters":[{"name":"intent_id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingIntentChargeRequestDto"},"examples":{"oneTimeCharge":{"summary":"The one-time charge of a top-up","value":{"charge_gid":"gid://shopify/AppPurchaseOneTime/1234567890"}},"appSubscription":{"summary":"The app subscription of a subscription intent","value":{"charge_gid":"gid://shopify/AppSubscription/1234567890"}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Intent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"Another Shopify charge is already attached to the intent, or the charge belongs to another intent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingIntentResponseDto_Output"},"examples":{"attached":{"summary":"The charge is attached: the intent awaits the merchant","value":{"intent_id":"4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f7a","kind":"one_time","status":"pending","tokens":5250}}}}}}},"security":[{"bearer":[]}],"summary":"Attach the Shopify charge the app created for an intent (once): the one-time charge of a top-up, the app subscription of a subscription intent. Charges, credits and activates nothing","tags":["Account"]}},"/developer-api/billing/intents/{intent_id}":{"get":{"operationId":"developerApiReadBillingIntent","parameters":[{"name":"intent_id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Intent not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingIntentResponseDto_Output"},"examples":{"credited":{"summary":"A top-up paid in Shopify: the tokens are on the balance","value":{"intent_id":"4d5e6f7a-8b9c-4d0e-9f1a-2b3c4d5e6f7a","kind":"one_time","status":"credited","tokens":5250,"credited_at":"2026-11-20T10:16:30.000Z"}},"pending":{"summary":"A subscription that awaits the merchant in Shopify","value":{"intent_id":"8a7b6c5d-4e3f-4a2b-8c1d-0e9f8a7b6c5d","kind":"plan_subscription","status":"pending","tokens":0}}}}}}},"security":[{"bearer":[]}],"summary":"Where a top-up intent stands (created, pending, credited, declined…). Read only: never credits","tags":["Account"]}},"/developer-api/billing/auto_top_up":{"put":{"operationId":"developerApiUpdateBillingAutoTopUp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingAutoTopUpRequestDto"},"examples":{"switchOff":{"summary":"Switch auto top-up off; the usage charge approved in Shopify and the saved numbers stay","value":{"enabled":false}},"switchOn":{"summary":"Switch it back on at the saved threshold and size","value":{"enabled":true}},"changeTopUp":{"summary":"Switch it on with another threshold and another size of one top-up","value":{"enabled":true,"threshold_tokens":1000,"top_up_tokens":10000}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Billing through the Shopify app is not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"Switching on with no usage charge approved in Shopify in force for the store (for a store key: its own store), or in an account that no longer pays through the Shopify app: create one with POST /billing/subscriptions. Or another top_up_tokens under a usage charge whose terms in Shopify name its top-up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"autoTopUpNotApproved":{"summary":"The store has no usage charge approved in Shopify: start one with POST /billing/subscriptions","value":{"status":409,"code":"gate.ERROR_DEVELOPER_API_AUTO_TOP_UP_NOT_APPROVED","error":["Auto top-up has no usage charge approved in Shopify for this store: create one with POST /billing/subscriptions"]}},"autoTopUpSizeFixed":{"summary":"The usage charge was approved with its top-up named in the terms: another size needs a new approval","value":{"status":409,"code":"gate.ERROR_DEVELOPER_API_AUTO_TOP_UP_SIZE_FIXED","error":["The usage charge approved in Shopify names its top-up, so top_up_tokens cannot change under it: another size takes a new usage charge the merchant approves (POST /billing/subscriptions)"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingAutoTopUpResponseDto_Output"},"examples":{"active":{"summary":"On: the next top-up fits under the approved cap","value":{"state":"active","threshold_tokens":1000,"top_up_tokens":10000}},"off":{"summary":"Off: nothing is charged until it is switched back on","value":{"state":"off","threshold_tokens":500,"top_up_tokens":5000}},"capReached":{"summary":"On, and one top-up of this size does not fit under the approved cap: nothing is charged until it fits again — the cap is raised (POST /billing/auto_top_up/cap), the size is lowered, or, where it is this cycle’s spend that is in the way, the cycle ends","value":{"state":"cap_reached","threshold_tokens":1000,"top_up_tokens":100000}}}}}}},"security":[{"bearer":[]}],"summary":"Switch the auto top-up of an account that pays through the Shopify app off or on, or change the balance it runs at and the tokens of one top-up — under the usage charge the merchant already approved in Shopify. Switching off needs neither that charge nor the numbers: it only stops spending. The cap is not checked: a top-up that does not fit under it is not charged, and the state then reads cap_reached. Asks nothing of Shopify and charges nothing. A store key needs developer:account:read, an account-wide key developer:billing:checkout","tags":["Account"]}},"/developer-api/billing/auto_top_up/cap":{"post":{"operationId":"developerApiUpdateBillingAutoTopUpCap","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingAutoTopUpCapRequestDto"},"examples":{"raiseCap":{"summary":"Raise the cap of auto top-up to $500 every 30 days","value":{"capped_amount":"500.00"}}}}}},"responses":{"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"401":{"description":"Missing or invalid Developer API secret key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"403":{"description":"Developer API key does not allow this operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"}}}},"404":{"description":"Billing through the Shopify app is not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"shopifyAppBillingOff":{"summary":"Billing through the Shopify app is switched off in this environment","value":{"status":404,"code":"http_error.NOT_FOUND","error":["Not Found"]}}}}}},"409":{"description":"No usage charge approved in Shopify is in force for the store (for a store key: its own store), or the account no longer pays through the Shopify app: create one with POST /billing/subscriptions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseDto"},"examples":{"autoTopUpNotApproved":{"summary":"The store has no usage charge approved in Shopify: start one with POST /billing/subscriptions","value":{"status":409,"code":"gate.ERROR_DEVELOPER_API_AUTO_TOP_UP_NOT_APPROVED","error":["Auto top-up has no usage charge approved in Shopify for this store: create one with POST /billing/subscriptions"]}}}}}},"default":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperApiBillingAutoTopUpCapResponseDto_Output"},"examples":{"lineItemUpdate":{"summary":"The appSubscriptionLineItemUpdate parameters: the usage line in force and its new cap","value":{"shopify":{"line_item_id":"gid://shopify/AppSubscriptionLineItem/1234567890?v=1&index=1","capped_amount":{"amount":"500.00","currency_code":"USD"}}}}}}}}},"security":[{"bearer":[]}],"summary":"Start a change of the auto top-up cap on the usage charge the merchant approved in Shopify: returns the exact appSubscriptionLineItemUpdate parameters. The cap must cover at least one top-up of the saved size. The subscription is not created again, so a plan beside the usage charge is untouched. Changes and stores nothing: the cap in force is the one Shopify shows once the merchant approved it. A store key needs developer:account:read, an account-wide key developer:billing:checkout","tags":["Account"]}}},"info":{"title":"[PRODUCTION] Vizbl Developer API","description":"Public Developer API for uploading, importing, converting, publishing, and deleting 3D object models.","version":"1.0.0","contact":{}},"tags":[],"servers":[{"url":"https://api.vizbl.com"}],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"secret_api_key","type":"http","description":"Use Authorization: Bearer <secret_api_key>."}},"schemas":{"ErrorResponseDto":{"type":"object","properties":{"status":{"type":"number","enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,210,300,301,302,303,304,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,421,422,423,424,428,429,456,500,501,502,503,504,505,507,508]},"code":{"type":"string","description":"Machine-readable error id (i18n dictionary key), e.g. `shopify.ERROR_ID_TOKEN_INVALID`; `http_error.<STATUS>` when there is no specific one."},"error":{"type":"array","prefixItems":[{"type":"string"}],"items":{"type":"string"}},"retryAfterSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"manageUrl":{"description":"Where this account pays instead: the Vizbl app billing page in the Shopify admin (`subscription.ERROR_PAYMENTS_THROUGH_SHOPIFY_APP`).","type":"string","format":"uri"},"manage_url":{"deprecated":true,"description":"Deprecated: the same as `manageUrl`, kept for the clients that still read it.","type":"string","format":"uri"},"stack":{"type":"string"}},"required":["status","code","error"]},"DeveloperApiUploadPresignRequestDto":{"type":"object","properties":{"type":{"type":"string","enum":["model_source","image"],"description":"Developer API upload purpose: model_source (3D file for an import) or image (jpeg/png/webp photo for 3D generation, rugs and rooms)."},"fileName":{"type":"string","minLength":1,"description":"Original source file name, including extension."},"fileSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Exact source file size in bytes."},"fileType":{"type":"string","minLength":1,"description":"Source file MIME type sent with the upload."}},"required":["type","fileName","fileSize","fileType"]},"DeveloperApiUploadPresignResponseDto_Output":{"type":"object","properties":{"uploadId":{"type":"string","description":"Opaque upload session id used by the import endpoint."},"uploadUrl":{"type":"string","description":"Presigned POST target URL."},"uploadMethod":{"type":"string","enum":["POST"],"description":"HTTP method to use for the direct storage upload."},"uploadFields":{"type":"object","additionalProperties":{"type":"string"},"description":"Form fields that must be sent with the multipart POST upload."},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"UTC timestamp when the upload session expires."},"maxSizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Maximum accepted size for this specific signed upload."},"fileUrl":{"type":"string","description":"Public URL of the file once uploaded (image uploads only). The file is reachable by anyone with the link."}},"required":["uploadId","uploadUrl","uploadMethod","uploadFields","expiresAt","maxSizeBytes"],"additionalProperties":false},"DeveloperApiObjectDeleteResponseDto_Output":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Deleted object public tinuuid."},"status":{"type":"string","enum":["deleted"],"description":"Object deletion result status."}},"required":["tinuuid","status"],"additionalProperties":false},"DeveloperApiObjectListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Public object tinuuid."},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"placement":{"type":"string","enum":["all","floor","wall","ceiling"],"description":"Placement mechanic: where the object is placed in AR."},"category":{"type":["object","null"],"properties":{"id":{"type":["number","null"]},"name":{"type":["string","null"]}},"required":["id","name"],"additionalProperties":false},"destination_url":{"type":["string","null"],"description":"Product page the object links to."},"brand":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"},"description":"Object hashtags without the leading #."},"dimensions":{"type":["object","null"],"properties":{"width":{"type":["number","null"]},"height":{"type":["number","null"]},"depth":{"type":["number","null"]},"unit":{"type":"string","enum":["mm"]}},"required":["width","height","depth","unit"],"additionalProperties":false},"preview_url":{"type":["string","null"]},"variants":{"type":"array","items":{"type":"object","properties":{"hid":{"type":["string","null"],"description":"Variant (material collection) hid; pass it to links and widgets."},"name":{"type":["string","null"],"description":"Variant display name."},"preview_url":{"type":["string","null"],"description":"Variant preview image URL."}},"required":["hid","name","preview_url"],"additionalProperties":false}},"activated_product_types":{"type":"array","items":{"type":"string"},"description":"Products the object is activated for (counts toward the plan limit)."},"moderation_state":{"type":["string","null"],"description":"Moderation state of the published version, as reported by the catalog."},"has_unpublished_changes":{"type":"boolean","description":"True when a saved draft is waiting to be published."},"updated_at":{"type":["string","null"]},"url":{"type":"string","description":"Public showcase page of the object."}},"required":["tinuuid","name","description","placement","category","destination_url","brand","tags","dimensions","preview_url","variants","activated_product_types","moderation_state","has_unpublished_changes","updated_at","url"],"additionalProperties":false}},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pages_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":["integer","null"],"minimum":0,"maximum":9007199254740991}},"required":["items","page","pages_count","total"],"additionalProperties":false},"DeveloperApiObjectDto_Output":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Public object tinuuid."},"name":{"type":["string","null"]},"description":{"type":["string","null"]},"placement":{"type":"string","enum":["all","floor","wall","ceiling"],"description":"Placement mechanic: where the object is placed in AR."},"category":{"type":["object","null"],"properties":{"id":{"type":["number","null"]},"name":{"type":["string","null"]}},"required":["id","name"],"additionalProperties":false},"destination_url":{"type":["string","null"],"description":"Product page the object links to."},"brand":{"type":["string","null"]},"tags":{"type":"array","items":{"type":"string"},"description":"Object hashtags without the leading #."},"dimensions":{"type":["object","null"],"properties":{"width":{"type":["number","null"]},"height":{"type":["number","null"]},"depth":{"type":["number","null"]},"unit":{"type":"string","enum":["mm"]}},"required":["width","height","depth","unit"],"additionalProperties":false},"preview_url":{"type":["string","null"]},"variants":{"type":"array","items":{"type":"object","properties":{"hid":{"type":["string","null"],"description":"Variant (material collection) hid; pass it to links and widgets."},"name":{"type":["string","null"],"description":"Variant display name."},"preview_url":{"type":["string","null"],"description":"Variant preview image URL."}},"required":["hid","name","preview_url"],"additionalProperties":false}},"activated_product_types":{"type":"array","items":{"type":"string"},"description":"Products the object is activated for (counts toward the plan limit)."},"moderation_state":{"type":["string","null"],"description":"Moderation state of the published version, as reported by the catalog."},"has_unpublished_changes":{"type":"boolean","description":"True when a saved draft is waiting to be published."},"updated_at":{"type":["string","null"]},"url":{"type":"string","description":"Public showcase page of the object."}},"required":["tinuuid","name","description","placement","category","destination_url","brand","tags","dimensions","preview_url","variants","activated_product_types","moderation_state","has_unpublished_changes","updated_at","url"],"additionalProperties":false},"DeveloperApiObjectUpdateRequestDto":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":5000},"destination_url":{"description":"Product page URL; empty string clears it.","anyOf":[{"type":"string","format":"uri"},{"type":"string","enum":[""]}]},"category_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"placement":{"type":"string","enum":["all","floor","wall","ceiling"],"description":"Placement mechanic: where the object is placed in AR."},"brand":{"type":"string","maxLength":200},"tags":{"description":"Replaces all tags. Latin letters, digits and _ (stored lowercase); an optional leading # is dropped.","maxItems":30,"type":"array","items":{"type":"string","maxLength":64,"pattern":"^#?[A-Za-z0-9_]+$"}},"dimensions":{"description":"Real-world size in millimetres. An omitted axis keeps its value, null clears it (a flat object has no height).","type":"object","properties":{"width":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100000},"height":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100000},"depth":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":100000}},"additionalProperties":false},"publish":{"default":true,"description":"Publish the change right away (default). false keeps it as a draft.","type":"boolean"}},"additionalProperties":false},"DeveloperApiObjectPublicationResponseDto_Output":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Public object tinuuid."},"status":{"type":"string","enum":["published","unpublished"]}},"required":["tinuuid","status"],"additionalProperties":false},"DeveloperApiObjectActivationRequestDto":{"type":"object","properties":{"product_type":{"description":"Product type to activate the object for, e.g. core-ar. Required (or the deprecated productType).","type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels"]},"productType":{"deprecated":true,"description":"Deprecated: use product_type.","type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels"]},"active":{"type":"boolean"}},"required":["active"],"additionalProperties":false},"DeveloperApiObjectActivationResponseDto_Output":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Public object tinuuid."},"product_type":{"type":"string"},"productType":{"type":"string","deprecated":true,"description":"Deprecated: same value as product_type."},"active":{"type":"boolean"}},"required":["tinuuid","product_type","productType","active"],"additionalProperties":false},"DeveloperApiObjectLinksResponseDto_Output":{"type":"object","properties":{"tinuuid":{"type":"string","description":"Public object tinuuid."},"hid":{"type":["string","null"]},"ar_url":{"type":"string","description":"Opens the object in AR on a phone."},"app_clip_url":{"type":"string","description":"iOS App Clip AR view."},"iframe_url":{"type":"string","description":"Embeddable 3D viewer page (use as iframe src)."},"modal_url":{"type":"string","description":"3D viewer page used for QR hand-off."},"showcase_url":{"type":"string","description":"Public showcase page."}},"required":["tinuuid","hid","ar_url","app_clip_url","iframe_url","modal_url","showcase_url"],"additionalProperties":false},"DeveloperApiObjectImportRequestDto":{"type":"object","properties":{"name":{"type":"string","minLength":1,"description":"Public object name."},"variants":{"minItems":1,"type":"array","items":{"type":"object","properties":{"uploadId":{"type":"string","minLength":1,"description":"Upload session id returned by the presign endpoint."},"name":{"type":"string","minLength":1,"description":"Display name for the model variant."}},"required":["uploadId","name"]},"description":"Uploaded source model variants in display order."},"description":{"description":"Optional public object description.","type":"string","minLength":1},"tags":{"description":"Optional public object tags.","type":"array","items":{"type":"string","minLength":1}},"category":{"description":"Optional Go backend category id.","type":"string","minLength":1},"mechanic":{"type":"string","enum":["all","wall","floor","ceiling","carpet"],"description":"Placement mechanic used by the imported object."},"product_type":{"description":"Product the object is created and published in. When omitted: the one product the API key is limited to, else the product the key was created in, else core-ar. The API key must be allowed this product and the account needs an active plan of it.","type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels"]},"ai_generate":{"description":"When true, attempts best-effort AI preview generation.","type":"boolean"},"publish":{"description":"Whether the object is published once it is imported. true publishes it, so its public URL opens right away; false leaves a draft to publish later. When omitted, the account setting \"publish automatically\" decides (off by default).","type":"boolean"}},"required":["name","variants"]},"DeveloperApiObjectImportJobResponseDto_Output":{"type":"object","properties":{"published":{"type":"boolean","description":"Whether the completed import published the model. Absent for older jobs; import success alone does not imply publication."},"jobId":{"type":"string","description":"Opaque import process id."},"status":{"type":"string","enum":["queued","processing","succeeded","failed"],"description":"Current import job lifecycle status."},"stage":{"type":"string","enum":["validating_upload","waiting_for_worker","rendering_scene","uploading_artifacts","converting_usdz","creating_object","publishing_object","generating_cover"],"description":"Current processing stage for queued or processing jobs."},"tinuuid":{"type":"string","description":"Public tinuuid of the imported object, present after successful import. The object is published only when the import asked for it (publish) or the account publishes automatically."},"url":{"type":"string","description":"Public URL of the imported object, present after successful import. It opens once the object is published.","format":"uri"},"error":{"type":"object","properties":{"code":{"type":"string","enum":["scene_core_not_loaded","render_timeout","render_failed","source_download_failed","source_upload_changed","artifact_upload_failed","usdz_conversion_failed","object_import_failed","auth_token_exchange_failed","processor_failed"],"description":"Stable machine-readable import failure code."},"message":{"type":"string","minLength":1,"description":"Human-readable error message."}},"required":["code","message"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["ai_preview_generation_failed"],"description":"Stable machine-readable non-blocking warning code."},"message":{"type":"string","minLength":1,"description":"Human-readable warning message."}},"required":["code","message"],"additionalProperties":false}},"retryAfterMs":{"type":"integer","description":"Suggested polling delay in milliseconds.","exclusiveMinimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"UTC job creation timestamp."},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"UTC last job update timestamp."}},"required":["jobId","status","createdAt","updatedAt"],"additionalProperties":false},"DeveloperApiGenerationEstimateRequestDto":{"type":"object","properties":{"provider":{"type":"string","enum":["tripo","trellis"],"description":"Generation engine: tripo or trellis."},"quality":{"type":"string","enum":["preview","standard","high"],"description":"Quality preset; higher costs more tokens."},"photo_count":{"default":1,"description":"Number of photos (tripo: up to 4, trellis: up to 6).","type":"integer","minimum":1,"maximum":6}},"required":["provider"],"additionalProperties":false},"DeveloperApiGenerationEstimateResponseDto_Output":{"type":"object","properties":{"provider":{"type":"string","enum":["tripo","trellis"],"description":"Generation engine: tripo or trellis."},"tokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Exact tokens reserved when the job starts (an included plan allowance may make the charge 0)."},"typical_seconds":{"type":["number","null"],"minimum":0},"max_seconds":{"type":["number","null"],"minimum":0}},"required":["provider","tokens","typical_seconds","max_seconds"],"additionalProperties":false},"DeveloperApiGenerationCreateRequestDto":{"type":"object","properties":{"provider":{"type":"string","enum":["tripo","trellis"],"description":"Generation engine: tripo or trellis."},"quality":{"type":"string","enum":["preview","standard","high"],"description":"Quality preset; higher costs more tokens."},"images":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"object","properties":{"upload_id":{"description":"uploadId of a type=image upload.","type":"string","minLength":1},"image_url":{"description":"Public https image URL (not for tripo).","type":"string","format":"uri"},"view":{"description":"Camera angle of this photo for multiview (front, left, back, right). Defaults to the order given.","type":"string","enum":["front","left","back","right"]}},"additionalProperties":false},"description":"1 photo = single view; several = multiview (tripo up to 4)."},"name":{"description":"Catalog name of the generated model.","type":"string","minLength":1,"maxLength":200},"kit_id":{"description":"Existing kit to add the result to (mutually exclusive with kit_name).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kit_name":{"description":"Rugs and flooring: name of the product to add the result to as a variant — the product with exactly this name, created as a draft when there is none (while kits are still kept in sync, a kit of this name). Other models: a new kit with this name. The field keeps its kit name for compatibility.","type":"string","minLength":1,"maxLength":200}},"required":["provider","images"],"additionalProperties":false},"DeveloperApiGenerationJobDto_Output":{"type":"object","properties":{"job_id":{"type":"string"},"provider":{"type":"string","description":"tripo, trellis or carpet (rugs)."},"status":{"type":"string","enum":["queued","processing","succeeded","failed","cancelled"]},"stage":{"type":"string"},"progress":{"type":"integer","minimum":0,"maximum":100},"tokens":{"type":["integer","null"],"minimum":0,"maximum":9007199254740991,"description":"Tokens held for the job; null for free jobs (rugs)."},"name":{"type":["string","null"]},"quality":{"type":["string","null"]},"object":{"type":["object","null"],"properties":{"tinuuid":{"type":["string","null"]},"url":{"type":["string","null"]},"stage":{"type":"string"}},"required":["tinuuid","url","stage"],"additionalProperties":false,"description":"The catalog object the job creates."},"error":{"type":["object","null"],"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"retry_after_ms":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":9007199254740991,"description":"Poll again after this delay while the job is not finished."},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["job_id","provider","status","stage","progress","tokens","name","quality","object","error","retry_after_ms","created_at","updated_at"],"additionalProperties":false},"DeveloperApiGenerationListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"job_id":{"type":"string"},"provider":{"type":"string","description":"tripo, trellis or carpet (rugs)."},"status":{"type":"string","enum":["queued","processing","succeeded","failed","cancelled"]},"stage":{"type":"string"},"progress":{"type":"integer","minimum":0,"maximum":100},"tokens":{"type":["integer","null"],"minimum":0,"maximum":9007199254740991,"description":"Tokens held for the job; null for free jobs (rugs)."},"name":{"type":["string","null"]},"quality":{"type":["string","null"]},"object":{"type":["object","null"],"properties":{"tinuuid":{"type":["string","null"]},"url":{"type":["string","null"]},"stage":{"type":"string"}},"required":["tinuuid","url","stage"],"additionalProperties":false,"description":"The catalog object the job creates."},"error":{"type":["object","null"],"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"retry_after_ms":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":9007199254740991,"description":"Poll again after this delay while the job is not finished."},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["job_id","provider","status","stage","progress","tokens","name","quality","object","error","retry_after_ms","created_at","updated_at"],"additionalProperties":false}},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","page","total"],"additionalProperties":false},"DeveloperApiRugCreateRequestDto":{"type":"object","properties":{"image":{"type":"object","properties":{"upload_id":{"description":"uploadId of a type=image upload.","type":"string","minLength":1},"image_url":{"description":"Public https image URL (not for tripo).","type":"string","format":"uri"},"view":{"description":"Camera angle of this photo for multiview (front, left, back, right). Defaults to the order given.","type":"string","enum":["front","left","back","right"]}},"additionalProperties":false,"description":"Top-down photo of the rug (background is removed automatically)."},"width_mm":{"type":"integer","exclusiveMinimum":0,"maximum":100000,"description":"Real width of the rug in millimetres (160 cm = 1600)."},"length_mm":{"type":"integer","exclusiveMinimum":0,"maximum":100000,"description":"Real length of the rug in millimetres (the depth axis; 230 cm = 2300)."},"name":{"type":"string","minLength":1,"maxLength":200},"kit_id":{"description":"Existing kit to add the result to (mutually exclusive with kit_name).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kit_name":{"description":"Rugs and flooring: name of the product to add the result to as a variant — the product with exactly this name, created as a draft when there is none (while kits are still kept in sync, a kit of this name). Other models: a new kit with this name. The field keeps its kit name for compatibility.","type":"string","minLength":1,"maxLength":200}},"required":["image","width_mm","length_mm"],"additionalProperties":false},"DeveloperApiKitListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kit_id":{"type":"string"},"tinuuid":{"type":["string","null"]},"name":{"type":"string"}},"required":["kit_id","tinuuid","name"],"additionalProperties":false}},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pages_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","page","pages_count"],"additionalProperties":false},"DeveloperApiKitItemsResponseDto_Output":{"type":"object","properties":{"kit":{"type":"object","properties":{"kit_id":{"type":"string"},"name":{"type":"string"},"destination_url":{"type":["string","null"]}},"required":["kit_id","name","destination_url"],"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"tinuuid":{"type":["string","null"]},"name":{"type":["string","null"]},"preview_url":{"type":["string","null"]},"destination_url":{"type":["string","null"]},"dimensions":{"type":["object","null"],"properties":{"width":{"type":["number","null"]},"height":{"type":["number","null"]},"depth":{"type":["number","null"]},"unit":{"type":"string","enum":["mm"]}},"required":["width","height","depth","unit"],"additionalProperties":false},"variants":{"type":"array","items":{"type":"object","properties":{"hid":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["hid","name"],"additionalProperties":false}},"activated_product_types":{"type":"array","items":{"type":"string"}},"has_unpublished_changes":{"type":"boolean"}},"required":["tinuuid","name","preview_url","destination_url","dimensions","variants","activated_product_types","has_unpublished_changes"],"additionalProperties":false}},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kit","items","page","total"],"additionalProperties":false},"DeveloperApiKitUpdateRequestDto":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"destination_url":{"description":"Product page shared by every size; empty string clears it.","anyOf":[{"type":"string","maxLength":512,"format":"uri"},{"type":"string","const":""}]},"product_type":{"description":"Product type of the kit (rugs, flooring). Without it a rename looks in both rugs and flooring.","type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen"]}},"additionalProperties":false},"DeveloperApiKitUpdateResponseDto_Output":{"type":"object","properties":{"kit_id":{"type":"string"},"name":{"type":["string","null"]},"destination_url":{"type":["string","null"]}},"required":["kit_id","name","destination_url"],"additionalProperties":false},"DeveloperApiRoomListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"room_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"image_url":{"type":"string"},"type":{"type":"string","description":"builtin (Vizbl default) or custom (uploaded)."},"active":{"type":"boolean"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["room_id","name","description","image_url","type","active","position"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","total"],"additionalProperties":false},"DeveloperApiRoomCreateRequestDto":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"],"description":"Product whose viewer shows the room: rugs, flooring, wallart, panels."},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"upload_id":{"type":"string","minLength":1,"description":"uploadId of a type=image upload with the room photo."}},"required":["product_type","name","upload_id"],"additionalProperties":false},"DeveloperApiRoomCreateResponseDto_Output":{"type":"object","properties":{"room":{"type":["object","null"],"properties":{"room_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"image_url":{"type":"string"},"type":{"type":"string","description":"builtin (Vizbl default) or custom (uploaded)."},"active":{"type":"boolean"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["room_id","name","description","image_url","type","active","position"],"additionalProperties":false},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"description":"Why the room was not created, e.g. the plan room limit."}},"required":["room","errors"],"additionalProperties":false},"DeveloperApiRoomUpdateRequestDto":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"],"description":"Product whose viewer shows the room: rugs, flooring, wallart, panels."},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"active":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["product_type"],"additionalProperties":false},"DeveloperApiRoomDto_Output":{"type":"object","properties":{"room_id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"image_url":{"type":"string"},"type":{"type":"string","description":"builtin (Vizbl default) or custom (uploaded)."},"active":{"type":"boolean"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["room_id","name","description","image_url","type","active","position"],"additionalProperties":false},"DeveloperApiRoomDeleteResponseDto_Output":{"type":"object","properties":{"room_id":{"type":"string"},"status":{"type":"string","enum":["deleted"]}},"required":["room_id","status"],"additionalProperties":false},"DeveloperApiAccountResponseDto_Output":{"type":"object","properties":{"company":{"type":"object","properties":{"company_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"country_code":{"type":["string","null"]},"website":{"type":["string","null"]},"connected_products":{"type":"array","items":{"type":"string"}}},"required":["company_id","name","status","country_code","website","connected_products"],"additionalProperties":false},"key":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"],"description":"Product the key was created in. What the key may act on is all_products / products."},"scopes":{"type":"array","items":{"type":"string"}},"all_products":{"type":"boolean","description":"True: the key works with every product of the account, future ones included."},"products":{"type":"array","items":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"description":"Products the key may work with when all_products is false. Add products in the cabinet (Settings → API keys)."}},"required":["product_type","scopes","all_products","products"],"additionalProperties":false},"balance":{"type":"object","properties":{"remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["remaining","reserved"],"additionalProperties":false},"subscriptions":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"status":{"type":"string"},"provider":{"type":"string"},"started_at":{"type":"string"},"expires_at":{"type":["string","null"]},"trial_ends_at":{"type":["string","null"]},"cancel_at_period_end":{"type":"boolean"},"plan":{"type":"object","properties":{"plan_id":{"type":"string"},"name":{"type":"string"},"is_free":{"type":"boolean"},"amount":{"type":["string","null"]},"currency":{"type":["string","null"]},"interval_unit":{"type":"string"},"interval_count":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"trial_days":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"features":{"type":"object","additionalProperties":{},"description":"Plan limits and feature switches (maxObjCount, matColsMax, maxActiveRooms, objKits, teams, …)."}},"required":["plan_id","name","is_free","amount","currency","interval_unit","interval_count","trial_days","features"],"additionalProperties":false}},"required":["subscription_id","product_type","status","provider","started_at","expires_at","trial_ends_at","cancel_at_period_end","plan"],"additionalProperties":false}}},"required":["company","key","balance","subscriptions"],"additionalProperties":false},"DeveloperApiPricingResponseDto_Output":{"type":"object","properties":{"action_costs":{"type":"object","properties":{"products":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object","properties":{"tokens":{"type":"integer","minimum":0,"maximum":9007199254740991},"includedUnits":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":9007199254740991}},"required":["tokens","includedUnits"],"additionalProperties":false}}}},"required":["products"],"additionalProperties":false,"description":"Token price per billable action (model_load — a model shown on the page, ar_launch — opening it in AR, widget_open, photo_upload, ai_generation) under the account plans; includedUnits are covered by the plan first."},"token_catalog":{"type":"object","properties":{"tokenPrice":{"type":"object","properties":{"USD":{"type":"number","exclusiveMinimum":0},"RUB":{"type":"number","exclusiveMinimum":0}},"required":["USD","RUB"],"additionalProperties":false},"tokensPackages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bonusTokens":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"price":{"type":"object","properties":{"USD":{"type":"number","exclusiveMinimum":0},"RUB":{"type":"number","exclusiveMinimum":0}},"required":["USD","RUB"],"additionalProperties":false},"popular":{"type":"boolean"}},"required":["id","tokens","bonusTokens","price"],"additionalProperties":false}},"minTokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxTokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"tokensBalanceMax":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["tokenPrice","tokensPackages","minTokens","maxTokens","tokensBalanceMax"],"additionalProperties":false,"description":"Token price, top-up packages and min/max top-up."}},"required":["action_costs","token_catalog"],"additionalProperties":false},"DeveloperApiBillingOfferResponseDto_Output":{"type":"object","properties":{"payment_platform":{"type":"string","enum":["shopify_app","direct"],"description":"How the account pays. shopify_app: the Vizbl Shopify app charges through Shopify Billing. direct: Stripe, YooKassa or an invoice — every account that was never pinned."},"manage_url":{"type":["string","null"],"format":"uri","description":"shopify_app: the Vizbl app billing page in the Shopify admin of the pinned store, where the account tops up and changes its plan (card payments of such an account answer 409 with this URL). null for direct."},"currency":{"type":"string","enum":["USD"]},"balance":{"type":"object","properties":{"remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["remaining","reserved"],"additionalProperties":false},"token_catalog":{"type":"object","properties":{"packages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bonus_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Credited on top of tokens with the package."},"price":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false}},"required":["id","tokens","bonus_tokens","price"],"additionalProperties":false}},"min_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["packages","min_tokens","max_tokens"],"additionalProperties":false},"active_plans":{"type":"array","items":{"type":"object","properties":{"plan_id":{"type":"string"},"name":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"status":{"type":"string"},"current_period_end":{"type":["string","null"]}},"required":["plan_id","name","product_type","status","current_period_end"],"additionalProperties":false},"description":"Current subscriptions of the account (any provider), with a plan the merchant just approved in Shopify while its activation is on the way."},"assigned_plans":{"type":"array","items":{"type":"object","properties":{"plan_id":{"type":"string"},"name":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"price":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false},"interval":{"type":"string","enum":["EVERY_30_DAYS"]},"plan_link":{"type":["string","null"],"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The live plan link the plan was sent with (VZ-2308): what the app passes to POST /billing/subscriptions as plan_link when the merchant did not arrive by the link itself (e.g. after installing the app). null without one."}},"required":["plan_id","name","product_type","price","interval","plan_link"],"additionalProperties":false},"description":"Monthly USD plans made for this account (addressed to its owner or company) that Shopify Billing may charge and the account is not on yet."},"auto_top_up":{"type":"object","properties":{"state":{"type":"string","enum":["off","needs_approval","active","cap_reached"],"description":"off: switched off. needs_approval: a Shopify-app account with no approved usage charge (create one with POST /billing/subscriptions). active: tops up (a Shopify-app account on its approved usage charge, any other on its saved card). cap_reached: the next top-up would pass the cap the merchant approved for this 30-day cycle."},"threshold_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top_up_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Tokens of one top-up: what the account asks for. Under a usage charge whose terms in Shopify name its top-up, the tokens of that top-up — it charges exactly that one until the merchant approves a new subscription."}},"required":["state","threshold_tokens","top_up_tokens"],"additionalProperties":false},"shopify_subscription":{"type":"object","properties":{"state":{"type":"string","enum":["none","pending","active","frozen","cancelled","declined","expired"],"description":"The Vizbl app subscription of the account in Shopify: none (never created), pending (awaiting the merchant), active, frozen (Shopify paused billing), or how the latest one ended."},"capped_amount":{"type":["object","null"],"properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false,"description":"The usage charge cap per 30 days; null without auto top-up."},"used_in_cycle":{"type":["object","null"],"properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false,"description":"Charged on the usage line in the current cycle, as last read from Shopify."},"cycle_ends_at":{"type":["string","null"]},"plan_id":{"type":["string","null"],"description":"The plan the subscription in force (active or frozen) carries; null for auto top-up alone and without a subscription in force. With capped_amount null beside it the plan has no auto top-up: POST /billing/subscriptions with kind plan, this plan_id and the three auto top-up fields adds it — while the subscription is active in the store of the request and the plan is still one assigned_plans could list (on sale, monthly, USD, billable through Shopify); 404 otherwise. Under the same conditions the request approves auto top-up anew beside a plan that has it: a new usage charge at the token price of today."},"store_id":{"type":["string","null"],"description":"The connected store (its id in GET /stores) whose Shopify bills the subscription; null without one. A store key switches auto top-up on (PUT /billing/auto_top_up) and changes its cap (POST /billing/auto_top_up/cap) under the usage charge of its own store only; switching off is taken from any key of the account."}},"required":["state","capped_amount","used_in_cycle","cycle_ends_at","plan_id","store_id"],"additionalProperties":false,"description":"The one app subscription Shopify allows per store: auto top-up, a plan, or both."},"grace":{"oneOf":[{"type":"object","properties":{"state":{"type":"string","enum":["none"]}},"required":["state"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["active","ended"]},"started_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"ends_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"debt_tokens":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["state","started_at","ends_at","debt_tokens"],"additionalProperties":false}],"description":"The grace of a wallet that ran out of tokens: active — the widgets keep working on credit until ends_at, the spend going into debt_tokens; ended — the widgets are refused (out_of_tokens) until a top-up pays the debt; none — no debt."},"billing_mode":{"type":"string","enum":["tokens","metered","fixed_plan"],"description":"How the widget actions of the account are settled. tokens: from the plan quota, then the token balance; an empty balance stops the widgets. metered: a store is connected through the store app — widget actions are counted, never charged or stopped; generations are still paid in tokens. fixed_plan: a fixed-fee plan billed by Shopify covers everything — no action is charged in tokens, generations included, nothing is stopped, and the app shows fixed_plan and usage instead of tokens."},"fixed_plan":{"type":["object","null"],"properties":{"plan_id":{"type":"string"},"name":{"type":"string"},"price":{"type":["object","null"],"properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false},"current_period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"current_period_end":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"The next charge."}},"required":["plan_id","name","price","current_period_start","current_period_end"],"additionalProperties":false,"description":"The fixed-fee plan; null unless billing_mode is fixed_plan."},"usage":{"type":["object","null"],"properties":{"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"period_end":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"opens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Widget opens (launch-button clicks)."},"views":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Model views in the widgets."},"ar_launches":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"generations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["period_start","period_end","opens","views","ar_launches","generations"],"additionalProperties":false,"description":"What the widgets did in the period: the fixed plan billing period, otherwise the current calendar month (UTC). Daily totals, updated hourly. null when billing_mode is tokens."}},"required":["payment_platform","manage_url","currency","balance","token_catalog","active_plans","assigned_plans","auto_top_up","shopify_subscription","grace","billing_mode","fixed_plan","usage"],"additionalProperties":false},"DeveloperApiBillingTopUpRequestDto":{"type":"object","properties":{"package_id":{"description":"A package of token_catalog.packages. Pass this or tokens.","type":"string","minLength":1},"tokens":{"description":"A custom amount between token_catalog.min_tokens and max_tokens. Pass this or package_id.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"store_id":{"description":"The connected Shopify store to charge through; an account-wide key only — a store key always uses its own store.","type":"string","minLength":1}},"additionalProperties":false},"DeveloperApiBillingTopUpResponseDto_Output":{"type":"object","properties":{"intent_id":{"type":"string"},"shopify":{"type":"object","properties":{"name":{"type":"string","description":"The charge name, e.g. \"5,000 Vizbl tokens\"."},"price":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false},"test":{"type":"boolean","description":"Create a Shopify test charge: nothing is billed."},"return_url":{"type":"string","description":"Where Shopify returns the merchant after the approval; carries intent_id."}},"required":["name","price","test","return_url"],"additionalProperties":false,"description":"The parameters of the appPurchaseOneTimeCreate call the app makes, exactly as given here."}},"required":["intent_id","shopify"],"additionalProperties":false},"DeveloperApiBillingSubscriptionRequestDto":{"type":"object","properties":{"kind":{"type":"string","enum":["auto_top_up","plan"],"description":"auto_top_up: a usage charge only (capped_amount, threshold_tokens and top_up_tokens required). plan: a plan of billing/offer.assigned_plans (plan_id required), with auto top-up beside it when the three auto top-up fields are given — or, with those three fields, the plan the store already pays for through Shopify: to add auto top-up to it, or to approve auto top-up anew beside it (a new usage charge at the token price of today)."},"plan_id":{"description":"kind plan only: a plan of billing/offer.assigned_plans — or, with the three auto top-up fields, the plan the store pays for through Shopify (billing/offer.shopify_subscription.plan_id). Pass this or plan_link.","type":"string","minLength":1},"plan_link":{"description":"kind plan only: the plan link the merchant came by (the plan_link query parameter the app was opened with). The plan is the link's; when it cannot be charged the answer is result=blocked with a reason, and no intent is created. Pass this or plan_id.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"capped_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"string","pattern":"^\\d{1,7}(\\.\\d{1,2})?$"}],"description":"The most Shopify may charge for auto top-ups in 30 days: at least the price of one top-up, at most the account limit."},"threshold_tokens":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Top up when the balance falls to this many tokens."},"top_up_tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Tokens of one top-up, between token_catalog.min_tokens and max_tokens and above threshold_tokens."},"store_id":{"description":"The connected Shopify store to charge through; an account-wide key only — a store key always uses its own store.","type":"string","minLength":1}},"required":["kind"],"additionalProperties":false},"DeveloperApiBillingSubscriptionResponseDto_Output":{"oneOf":[{"type":"object","properties":{"result":{"type":"string","description":"checkout: create the app subscription from `shopify`. (blocked: only with plan_link.)","enum":["checkout"]},"plan_link":{"description":"The plan link the subscription was started by, when given.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"intent_id":{"type":"string"},"shopify":{"type":"object","properties":{"name":{"type":"string","description":"The subscription name shown to the merchant."},"return_url":{"type":"string","description":"Where Shopify returns the merchant after the approval; carries intent_id."},"test":{"type":"boolean","description":"Create a Shopify test subscription: nothing is billed."},"replacement_behavior":{"type":"string","description":"Shopify keeps one app subscription per store: the approved one replaces the current one at once.","enum":["APPLY_IMMEDIATELY"]},"line_items":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"recurring":{"type":"object","properties":{"price":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false},"interval":{"type":"string","enum":["EVERY_30_DAYS"]}},"required":["price","interval"],"additionalProperties":false}},"required":["recurring"],"additionalProperties":false},{"type":"object","properties":{"usage":{"type":"object","properties":{"capped_amount":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false},"terms":{"type":"string"}},"required":["capped_amount","terms"],"additionalProperties":false}},"required":["usage"],"additionalProperties":false}]},"description":"The lineItems of appSubscriptionCreate, in this order: a recurring line (a plan) and/or a usage line (auto top-up)."}},"required":["name","return_url","test","replacement_behavior","line_items"],"additionalProperties":false,"description":"The parameters of the appSubscriptionCreate call the app makes, exactly as given here."}},"required":["result","intent_id","shopify"],"additionalProperties":false},{"type":"object","properties":{"result":{"type":"string","enum":["blocked"]},"plan_link":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"reason":{"type":"string","enum":["not_addressed","plan_unavailable","already_active"],"description":"not_addressed: the plan is addressed to another account than the one of this store. plan_unavailable: the link was revoked, or the plan is off sale, replaced by a newer version or not chargeable through Shopify. already_active: the account is on the plan already. Nothing was created; show the merchant why."}},"required":["result","plan_link","reason"],"additionalProperties":false}]},"DeveloperApiPlanLinkEventRequestDto":{"type":"object","properties":{"type":{"type":"string","enum":["link_opened","install_required","declined","blocked"],"description":"link_opened: the app was opened by the link. install_required: it was opened in a store without the app (reported after the install). declined: the merchant declined the subscription in Shopify. blocked: Shopify refused appSubscriptionCreate (reason required)."},"reason":{"type":"string","description":"blocked only: no_billing_permission (the staff member may not approve charges), shop_cannot_pay (no payment method, a trial or frozen store), api_error (anything else; the merchant was shown a retry).","enum":["no_billing_permission","shop_cannot_pay","api_error"]},"client_event_id":{"type":"string","minLength":1,"maxLength":128,"description":"The app's own id of the event: a retry with the same id is not recorded twice."},"store_id":{"type":"string","description":"The connected Shopify store to charge through; an account-wide key only — a store key always uses its own store.","minLength":1}},"required":["type","client_event_id"],"additionalProperties":false},"DeveloperApiPlanLinkEventResponseDto_Output":{"type":"object","properties":{"event_id":{"type":"string"},"duplicate":{"type":"boolean","description":"An event with this client_event_id was recorded before."}},"required":["event_id","duplicate"],"additionalProperties":false},"DeveloperApiPlanChangeRequestRequestDto":{"type":"object","properties":{"type":{"type":"string","enum":["upgrade","downgrade","change_terms","cancel","other"],"description":"What the merchant asks for: upgrade (more volume or features), downgrade, change_terms (other terms or products), cancel, other (any other question)."},"comment":{"description":"Optional, the merchant's own words (up to 2000 characters).","type":"string","maxLength":2000},"contact":{"description":"Optional, how the merchant prefers to be reached: an e-mail or a phone number (up to 320 characters).","type":"string","maxLength":320},"store_id":{"description":"The connected Shopify store the request is about; an account-wide key only — a store key always uses its own store.","type":"string","minLength":1}},"required":["type"],"additionalProperties":false},"DeveloperApiPlanChangeRequestResponseDto_Output":{"type":"object","properties":{"request_id":{"type":"string"},"status":{"type":"string","enum":["new","done"],"description":"new until a manager handles it."},"created_at":{"type":"string"}},"required":["request_id","status","created_at"],"additionalProperties":false},"DeveloperApiBillingIntentChargeRequestDto":{"type":"object","properties":{"charge_gid":{"anyOf":[{"type":"string","pattern":"^gid:\\/\\/shopify\\/AppPurchaseOneTime\\/\\d+$"},{"type":"string","pattern":"^gid:\\/\\/shopify\\/AppSubscription\\/\\d+$"}],"description":"gid://shopify/AppPurchaseOneTime/<n> returned by appPurchaseOneTimeCreate (a top-up), or gid://shopify/AppSubscription/<n> returned by appSubscriptionCreate (a subscription intent)."}},"required":["charge_gid"],"additionalProperties":false},"DeveloperApiBillingIntentResponseDto_Output":{"type":"object","properties":{"intent_id":{"type":"string"},"kind":{"type":"string","description":"one_time: a token top-up; usage_subscription: auto top-up; plan_subscription: an assigned plan.","enum":["one_time","usage_subscription","plan_subscription","usage_record"]},"status":{"type":"string","enum":["created","pending","active","declined","expired","cancelled","credited","rejected_amount_mismatch","frozen","failed"],"description":"created: no Shopify charge attached; pending: awaiting the merchant; active: paid, crediting (a subscription: approved and billing); credited: the tokens are on the balance; declined / expired / cancelled: nothing is credited; frozen: Shopify paused the subscription; rejected_amount_mismatch: Shopify holds a charge other than the one asked for (price, lines, currency, test or shop), nothing is credited or activated."},"tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Credited in all, bonus included."},"credited_at":{"type":"string"}},"required":["intent_id","status","tokens"],"additionalProperties":false},"DeveloperApiBillingAutoTopUpRequestDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"false: no auto top-up is charged. Never refused for the state of the account: no usage charge and no payment platform are needed, and the two numbers of the request, if sent, are not used — the saved ones stay. It is written before anything else is read, so a server error answered to it does not mean auto top-up stayed on: the request can be repeated. The usage charge the merchant approved in Shopify stays too, so true switches auto top-up back on without a new approval."},"threshold_tokens":{"description":"Top up when the balance falls to this many tokens. Given together with top_up_tokens; without the two auto top-up is switched on at the saved ones.","type":"integer","minimum":0,"maximum":9007199254740991},"top_up_tokens":{"description":"Tokens of one top-up, between token_catalog.min_tokens and max_tokens and above threshold_tokens. Given together with threshold_tokens; without the two auto top-up is switched on at the saved ones.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["enabled"],"additionalProperties":false},"DeveloperApiBillingAutoTopUpResponseDto_Output":{"type":"object","properties":{"state":{"type":"string","enum":["off","needs_approval","active","cap_reached"],"description":"off: switched off. needs_approval: a Shopify-app account with no approved usage charge (create one with POST /billing/subscriptions). active: tops up (a Shopify-app account on its approved usage charge, any other on its saved card). cap_reached: the next top-up would pass the cap the merchant approved for this 30-day cycle."},"threshold_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"top_up_tokens":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Tokens of one top-up: what the account asks for. Under a usage charge whose terms in Shopify name its top-up, the tokens of that top-up — it charges exactly that one until the merchant approves a new subscription."}},"required":["state","threshold_tokens","top_up_tokens"],"additionalProperties":false},"DeveloperApiBillingAutoTopUpCapRequestDto":{"type":"object","properties":{"capped_amount":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"string","pattern":"^\\d{1,7}(\\.\\d{1,2})?$"}],"description":"The most Shopify may charge for auto top-ups in 30 days: at least the price of one top-up, at most the account limit."}},"required":["capped_amount"],"additionalProperties":false},"DeveloperApiBillingAutoTopUpCapResponseDto_Output":{"type":"object","properties":{"shopify":{"type":"object","properties":{"line_item_id":{"type":"string","description":"The usage line of the app subscription in force: the id of appSubscriptionLineItemUpdate."},"capped_amount":{"type":"object","properties":{"amount":{"type":"string","description":"Decimal amount, e.g. \"49.00\"."},"currency_code":{"type":"string","enum":["USD"]}},"required":["amount","currency_code"],"additionalProperties":false,"description":"The cappedAmount of appSubscriptionLineItemUpdate."}},"required":["line_item_id","capped_amount"],"additionalProperties":false,"description":"The parameters of the appSubscriptionLineItemUpdate call the app makes, exactly as given here. The merchant approves the new cap at the confirmationUrl Shopify answers with; until then, and if the merchant declines, the current cap stays."}},"required":["shopify"],"additionalProperties":false},"DeveloperApiUsageResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"transaction_id":{"type":"string"},"created_at":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"delta":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Positive = credit, negative = debit."},"reason":{"type":"string"},"balance_after":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["transaction_id","created_at","product_type","delta","reason","balance_after"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total"],"additionalProperties":false},"DeveloperApiCheckoutRequestDto":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["top_up"]},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"currency":{"type":"string","enum":["USD","RUB"]},"package_id":{"type":"string","minLength":1},"tokens":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"redirect_url":{"type":"string","format":"uri","description":"Where the payment page returns after a top-up; must be a page of the product's Vizbl cabinet (default: its billing page)."}},"required":["kind","product_type","currency"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["plan_switch"]},"plan_id":{"type":"string","minLength":1},"subscription_id":{"type":"string","minLength":1}},"required":["kind","plan_id"],"additionalProperties":false}]},"DeveloperApiCheckoutResponseDto_Output":{"type":"object","properties":{"kind":{"type":"string","enum":["top_up","plan_switch"]},"payment_url":{"type":"string","description":"Page a human opens to pay or confirm. Nothing is charged until they do."},"provider":{"type":["string","null"]},"switch":{"type":["object","null"],"properties":{"switch_type":{"type":"string"},"proration_amount":{"type":["string","null"]},"chosen_plan":{"type":"object","properties":{"plan_id":{"type":"string"},"name":{"type":"string"}},"required":["plan_id","name"],"additionalProperties":false}},"required":["switch_type","proration_amount","chosen_plan"],"additionalProperties":false}},"required":["kind","payment_url","provider","switch"],"additionalProperties":false},"DeveloperApiInvoiceListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"invoice_id":{"type":"string"},"number":{"type":["string","null"]},"status":{"type":"string"},"is_overdue":{"type":"boolean"},"total":{"type":"string"},"currency":{"type":"string"},"issue_date":{"type":["string","null"]},"due_date":{"type":["string","null"]},"has_pdf":{"type":"boolean"},"hosted_invoice_url":{"type":["string","null"],"description":"Provider page where a human views and pays the invoice."},"line_items":{"type":"array","items":{"type":"object","properties":{"product_type":{"type":["string","null"]},"description":{"type":["string","null"]},"line_total":{"type":["string","null"]}},"required":["product_type","description","line_total"],"additionalProperties":false}}},"required":["invoice_id","number","status","is_overdue","total","currency","issue_date","due_date","has_pdf","hosted_invoice_url","line_items"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total"],"additionalProperties":false},"DeveloperApiInvoicePdfResponseDto_Output":{"type":"object","properties":{"url":{"type":"string"},"expires_at":{"type":["string","null"]}},"required":["url","expires_at"],"additionalProperties":false},"DeveloperApiAnalyticsSummaryResponseDto_Output":{"type":"object","properties":{"current":{"type":"object","properties":{"activationsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"opensCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"viewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"catalogViewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"arLaunchesCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"generationsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"errorsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"blockedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"addToCartCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"billableViewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tokensSpentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversionRate":{"type":["number","null"]}},"required":["activationsCount","opensCount","viewsCount","catalogViewsCount","arLaunchesCount","generationsCount","errorsCount","blockedCount","addToCartCount","billableViewsCount","tokensSpentCount","conversionRate"],"additionalProperties":false},"previous":{"type":["object","null"],"properties":{"activationsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"opensCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"viewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"catalogViewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"arLaunchesCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"generationsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"errorsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"blockedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"addToCartCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"billableViewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tokensSpentCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversionRate":{"type":["number","null"]}},"required":["activationsCount","opensCount","viewsCount","catalogViewsCount","arLaunchesCount","generationsCount","errorsCount","blockedCount","addToCartCount","billableViewsCount","tokensSpentCount","conversionRate"],"additionalProperties":false}},"required":["current","previous"],"additionalProperties":false},"DeveloperApiAnalyticsDailyResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"event":{"type":"string","enum":["widget_activated","widget_opened","model_viewed","catalog_model_viewed","ai_generated","interacted","ar_launched","qr_scanned","heartbeat","photo_uploaded","generation_started","generation_failed","add_to_cart_from_widget","request_blocked","interior_selected","appclip"]},"groupKey":{"type":["string","null"]},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["day","event","groupKey","count"],"additionalProperties":false}},"count":{"type":"number"}},"required":["items","count"],"additionalProperties":false},"DeveloperApiAnalyticsBreakdownResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"event":{"type":"string","enum":["widget_activated","widget_opened","model_viewed","catalog_model_viewed","ai_generated","interacted","ar_launched","qr_scanned","heartbeat","photo_uploaded","generation_started","generation_failed","add_to_cart_from_widget","request_blocked","interior_selected","appclip"]},"groupKey":{"type":["string","null"]},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["event","groupKey","count"],"additionalProperties":false}},"count":{"type":"number"}},"required":["items","count"],"additionalProperties":false},"DeveloperApiAnalyticsObjectsResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"objectId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"variantId":{"type":["string","null"]},"viewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"catalogViewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"arLaunchesCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"generationsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"addToCartCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversionRate":{"type":["number","null"]}},"required":["objectId","variantId","viewsCount","catalogViewsCount","arLaunchesCount","generationsCount","addToCartCount","conversionRate"],"additionalProperties":false}},"count":{"type":"number"}},"required":["items","count"],"additionalProperties":false},"DeveloperApiAnalyticsDomainsResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"hasTraffic":{"type":"boolean"},"viewsCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"arLaunchesCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"blockedCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversionRate":{"type":["number","null"]}},"required":["domain","hasTraffic","viewsCount","arLaunchesCount","blockedCount","conversionRate"],"additionalProperties":false}},"count":{"type":"number"}},"required":["items","count"],"additionalProperties":false},"DeveloperApiKeyListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"key_id":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"name":{"type":"string"},"status":{"type":"string"},"public_key":{"type":["string","null"],"description":"The pk_… value for widget snippets (public by design)."},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string"},"last_used_at":{"type":["string","null"]}},"required":["key_id","product_type","name","status","public_key","domains","created_at","last_used_at"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"DeveloperApiKeyCreateRequestDto":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"name":{"type":"string","minLength":1,"maxLength":100}},"required":["product_type","name"],"additionalProperties":false},"DeveloperApiPublicKeyDto_Output":{"type":"object","properties":{"key_id":{"type":"string"},"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"name":{"type":"string"},"status":{"type":"string"},"public_key":{"type":["string","null"],"description":"The pk_… value for widget snippets (public by design)."},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string"},"last_used_at":{"type":["string","null"]}},"required":["key_id","product_type","name","status","public_key","domains","created_at","last_used_at"],"additionalProperties":false},"DeveloperApiDomainsResponseDto_Output":{"type":"object","properties":{"domains":{"type":"array","items":{"type":"string"}},"shared_by_public_keys":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["domains","shared_by_public_keys"],"additionalProperties":false},"DeveloperApiDomainsUpdateRequestDto":{"type":"object","properties":{"domains":{"maxItems":200,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}}},"required":["domains"],"additionalProperties":false},"DeveloperApiDomainsUpdateResponseDto_Output":{"type":"object","properties":{"domains":{"type":"array","items":{"type":"string"}},"shared_by_public_keys":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"added":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}}},"required":["domains","shared_by_public_keys","added","removed"],"additionalProperties":false},"DeveloperApiMemberListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"member_id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"role":{"type":"string"},"status":{"type":"string"},"is_owner":{"type":"boolean"},"invited_at":{"type":["string","null"]},"joined_at":{"type":["string","null"]}},"required":["member_id","email","name","role","status","is_owner","invited_at","joined_at"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total"],"additionalProperties":false},"DeveloperApiRoleListResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"role_id":{"type":"string"},"name":{"type":"string"},"system_key":{"type":["string","null"]},"invitable_by_api":{"type":"boolean","description":"true only for a role with no rights beyond the editor role; false for admin and any role with more rights (managing members, invites, API keys, billing or the company)."}},"required":["role_id","name","system_key","invitable_by_api"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","total"],"additionalProperties":false},"DeveloperApiInviteCreateRequestDto":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"role_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["email","role_id"],"additionalProperties":false},"DeveloperApiMemberDto_Output":{"type":"object","properties":{"member_id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"role":{"type":"string"},"status":{"type":"string"},"is_owner":{"type":"boolean"},"invited_at":{"type":["string","null"]},"joined_at":{"type":["string","null"]}},"required":["member_id","email","name","role","status","is_owner","invited_at","joined_at"],"additionalProperties":false},"DeveloperApiInviteRevokeResponseDto_Output":{"type":"object","properties":{"invite_id":{"type":"string"},"status":{"type":"string","enum":["revoked"]}},"required":["invite_id","status"],"additionalProperties":false},"DeveloperApiShopifyShopResponseDto_Output":{"type":"object","properties":{"linked":{"type":"boolean"},"shop":{"type":["object","null"],"properties":{"shop_id":{"type":["string","null"]},"name":{"type":["string","null"]},"email":{"type":["string","null"]},"myshopify_domain":{"type":["string","null"]}},"required":["shop_id","name","email","myshopify_domain"],"additionalProperties":false}},"required":["linked","shop"],"additionalProperties":false},"DeveloperApiShopifyProductsResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","additionalProperties":{}}},"page_info":{"type":"object","properties":{"has_next_page":{"type":"boolean"},"end_cursor":{"type":["string","null"]}},"required":["has_next_page","end_cursor"],"additionalProperties":false},"total":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991}},"required":["items","page_info","total"],"additionalProperties":false},"DeveloperApiShopifyModelLinkRequestDto":{"type":"object","properties":{"variant_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^gid:\\/\\/shopify\\/ProductVariant\\/\\d+$"}},"tinuuid":{"type":"string","minLength":1},"hid":{"type":"string","minLength":1,"description":"Variant (material) hid of the model, from get_model."}},"required":["variant_ids","tinuuid","hid"],"additionalProperties":false},"DeveloperApiShopifyModelLinkResponseDto_Output":{"type":"object","properties":{"variant_ids":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["linked","unlinked","failed"],"description":"failed when Shopify rejected the change (see errors)."},"errors":{"type":"array","items":{"type":"object","properties":{"field":{},"message":{"type":"string"}},"required":["field","message"],"additionalProperties":false}},"linking_limit":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"linking_used":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"linking_remaining":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991}},"required":["variant_ids","status","errors","linking_limit","linking_used","linking_remaining"],"additionalProperties":false},"DeveloperApiShopifyModelUnlinkRequestDto":{"type":"object","properties":{"variant_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","pattern":"^gid:\\/\\/shopify\\/ProductVariant\\/\\d+$"}}},"required":["variant_ids"],"additionalProperties":false},"DeveloperApiShopifyPostersResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","additionalProperties":{}}},"page_info":{"type":"object","properties":{"has_next_page":{"type":"boolean"},"end_cursor":{"type":["string","null"]}},"required":["has_next_page","end_cursor"],"additionalProperties":false},"usage":{"type":"object","properties":{"activation_limit":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"activation_used":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"activation_remaining":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991}},"required":["activation_limit","activation_used","activation_remaining"],"additionalProperties":false}},"required":["items","page_info","usage"],"additionalProperties":false},"DeveloperApiShopifyPosterActiveRequestDto":{"type":"object","properties":{"active":{"type":"boolean"}},"required":["active"],"additionalProperties":false},"DeveloperApiShopifyPosterActiveResponseDto_Output":{"type":"object","properties":{"activation_limit":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"activation_used":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"activation_remaining":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"product_id":{"type":"string"},"active":{"type":["boolean","null"],"description":"The new state; null when Shopify rejected the change (success=false, see errors)."},"success":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{},"message":{"type":"string"}},"required":["field","message"],"additionalProperties":false}}},"required":["activation_limit","activation_used","activation_remaining","product_id","active","success","errors"],"additionalProperties":false},"DeveloperApiShopifyTryOnSettingsResponseDto_Output":{"type":"object","properties":{"success":{"type":"boolean"},"settings":{"type":"object","properties":{"default_photo_position":{"type":["integer","null"],"exclusiveMinimum":0,"maximum":9007199254740991,"description":"1-based gallery position used as the shop-level default"},"collection_rules":{"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","description":"Shopify collection GID"},"collection_title":{"type":["string","null"]},"zone_type":{"type":"string","enum":["full-body","upper-body","lower-body","footwear","headwear","eyewear","neck","wrist","bag","waist"]}},"required":["collection_id","collection_title","zone_type"],"additionalProperties":false}}},"required":["default_photo_position","collection_rules"],"additionalProperties":false},"errors":{"type":"array","items":{"type":"object","properties":{"field":{},"message":{"type":"string"}},"required":["field","message"],"additionalProperties":false}}},"required":["success","settings","errors"],"additionalProperties":false},"DeveloperApiShopifyTryOnSettingsUpdateDto":{"type":"object","properties":{"default_photo_position":{"type":"integer","exclusiveMinimum":0,"maximum":50},"collection_rules":{"maxItems":250,"type":"array","items":{"type":"object","properties":{"collection_id":{"type":"string","pattern":"^gid:\\/\\/shopify\\/Collection\\/\\d+$"},"collection_title":{"type":"string","maxLength":255},"zone_type":{"type":"string","enum":["full-body","upper-body","lower-body","footwear","headwear","eyewear","neck","wrist","bag","waist"]}},"required":["collection_id","zone_type"],"additionalProperties":false}}},"additionalProperties":false},"DeveloperApiShopifyTryOnProductsUpdateDto":{"type":"object","properties":{"product_ids":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"string","pattern":"^(gid:\\/\\/shopify\\/Product\\/)?\\d+$"}},"try_on_enabled":{"type":"boolean"},"zone_type":{"type":["string","null"],"enum":["full-body","upper-body","lower-body","footwear","headwear","eyewear","neck","wrist","bag","waist",null]},"try_on_photo":{"type":"integer","minimum":0,"maximum":50}},"required":["product_ids"],"additionalProperties":false},"DeveloperApiShopifyTryOnProductsResponseDto_Output":{"type":"object","properties":{"success":{"type":"boolean"},"updated_count":{"type":["integer","null"],"minimum":-9007199254740991,"maximum":9007199254740991},"errors":{"type":"array","items":{"type":"object","properties":{"field":{},"message":{"type":"string"}},"required":["field","message"],"additionalProperties":false}}},"required":["success","updated_count","errors"],"additionalProperties":false},"DeveloperApiStoresResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string"},"external_id":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"connection_status":{"type":["string","null"],"enum":["connected","disconnected",null],"description":"Whether the store is connected to the account; null for a store that was only ever created by a catalog batch or a link."},"connected_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"disconnected_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"connected_via":{"type":["string","null"],"enum":["manual","consent","shopify",null]},"connected_domains":{"type":"array","items":{"type":"string"},"description":"Hosts this connection added to the account's allowed domains."},"product_count":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Store product rows: one per variant, or one per product."},"links":{"type":"array","items":{"type":"object","properties":{"product_kind":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]},"status":{"type":"string","enum":["linked","preparing","needs_review","disabled"]},"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["product_kind","status","count"],"additionalProperties":false},"description":"How many links the store has, by product kind and status."},"kinds":{"type":"array","items":{"type":"object","properties":{"kind":{"type":["string","null"],"enum":["core-ar","rugs","flooring","wallart","ai-try-on","none",null]},"count":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","count"],"additionalProperties":false},"description":"Store product rows by the Vizbl product they are for; kind null: not decided yet. none: not a product any Vizbl button shows."},"kind_pending":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Store product rows waiting for the automatic classifier."},"catalog_sync":{"type":["object","null"],"properties":{"status":{"type":"string","enum":["running","done","failed"]},"read":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":["integer","null"],"minimum":0,"maximum":9007199254740991},"error":{"type":["string","null"]},"started_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"finished_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["status","read","total","error","started_at","finished_at"],"additionalProperties":false,"description":"The last full read of the catalog from the platform (a store connected through the Vizbl Shopify app): running with read of total so far, done, or failed with why. Null: never read that way."}},"required":["id","platform","domain","external_id","created_at","updated_at","connection_status","connected_at","disconnected_at","connected_via","connected_domains","product_count","links","kinds","kind_pending","catalog_sync"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"DeveloperApiStoreProductsResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"external_product_id":{"type":["string","null"]},"external_variant_id":{"type":["string","null"]},"sku":{"type":["string","null"]},"url":{"type":["string","null"],"description":"The product page as host/path, the way links are keyed."},"title":{"type":["string","null"]},"image_url":{"type":["string","null"]},"store_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"kind":{"type":["string","null"],"enum":["core-ar","rugs","flooring","wallart","ai-try-on","none",null],"description":"The Vizbl product this product is for; null while not decided. Automatic links are made for this kind only."},"kind_source":{"type":["string","null"],"enum":["rule","model","owner",null],"description":"Who decided it: rule (the store's product type and categories), model (the classifier) or owner."},"kind_pending":{"type":"boolean","description":"True while the product waits for the automatic classifier."},"links":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"product_kind":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]},"obj_id":{"type":["string","null"],"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The linked object; null for the kinds that need no object."},"tinuuid":{"type":["string","null"],"description":"The same object as the objects endpoints name it."},"variant_hid":{"type":["string","null"]},"source":{"type":"string","enum":["auto","manual","app"]},"status":{"type":"string","enum":["linked","preparing","needs_review","disabled"],"description":"A storefront button is shown only for a linked link."},"data":{"type":"object","properties":{"mode":{"description":"core-ar: how the button opens.","type":"string","maxLength":32},"room_id":{"description":"rugs, flooring: the room the viewer starts in.","type":"string","maxLength":128},"image_url":{"description":"wallart: the artwork; ai-try-on: the garment.","type":"string","maxLength":2048,"format":"uri"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"dimension_unit":{"description":"wallart: unit of width and height (m, cm, in).","type":"string","maxLength":8},"zone":{"description":"ai-try-on: the body zone.","type":"string","maxLength":32},"price":{"description":"ai-try-on: the price, already formatted for display.","type":"string","maxLength":64}},"additionalProperties":false},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["id","product_kind","obj_id","tinuuid","variant_hid","source","status","data","updated_at"],"additionalProperties":false}}},"required":["id","external_product_id","external_variant_id","sku","url","title","image_url","store_id","updated_at","kind","kind_source","kind_pending","links"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["items","count","page","limit"],"additionalProperties":false},"DeveloperApiStoreCatalogUpdateRequestDto":{"type":"object","properties":{"store":{"type":"object","properties":{"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string","minLength":1,"maxLength":255,"description":"The store address in any form: https://www.Shop.com/ and shop.com are one store."},"external_id":{"description":"The platform's own id of the store, e.g. <handle>.myshopify.com.","type":"string","minLength":1,"maxLength":255}},"required":["platform","domain"],"additionalProperties":false},"products":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"external_product_id":{"type":"string","minLength":1,"maxLength":128},"title":{"type":"string","minLength":1,"maxLength":512},"url":{"description":"The product page, in any form.","type":"string","minLength":1,"maxLength":2048},"image_url":{"type":"string","maxLength":2048,"format":"uri"},"images":{"description":"Every photo of the product with its pixel size where known. Rugs: the flat top-down photo for each size is chosen among them by proportion.","maxItems":50,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"width":{"description":"Pixels, when known.","type":"integer","exclusiveMinimum":0,"maximum":100000},"height":{"description":"Pixels, when known.","type":"integer","exclusiveMinimum":0,"maximum":100000}},"required":["url"],"additionalProperties":false}},"sku":{"type":"string","minLength":1,"maxLength":255},"price":{"description":"Already formatted for display.","type":"string","minLength":1,"maxLength":64},"product_type":{"description":"What the store calls the kind of product.","type":"string","minLength":1,"maxLength":255},"categories":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"tags":{"maxItems":250,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"variants":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"external_variant_id":{"type":"string","minLength":1,"maxLength":128},"sku":{"type":"string","minLength":1,"maxLength":255},"title":{"description":"The variant as the store names it, e.g. 24×36 in / Black.","type":"string","minLength":1,"maxLength":512},"options":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"price":{"description":"Already formatted for display.","type":"string","minLength":1,"maxLength":64},"image_url":{"type":"string","maxLength":2048,"format":"uri"}},"required":["external_variant_id"],"additionalProperties":false}}},"required":["external_product_id","title"],"additionalProperties":false}},"auto_link_kinds":{"description":"The product kinds to link automatically; left out, the batch only records the products.","maxItems":4,"type":"array","items":{"type":"string","enum":["wallart","ai-try-on","rugs","core-ar"]}},"removed_external_product_ids":{"description":"Products the store no longer has: each is deleted with all its variants and their links. Only this store's products.","maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["store"],"additionalProperties":false},"DeveloperApiStoreCatalogUpdateResponseDto_Output":{"type":"object","properties":{"store_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"products":{"type":"object","properties":{"created":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Deleted by removed_external_product_ids."}},"required":["created","updated","unchanged","removed"],"additionalProperties":false},"links":{"type":"object","properties":{"created":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Deleted by removed_external_product_ids."},"kept":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Left alone: linked by hand or by a platform app, or switched off."},"needs_review":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Of the links created or updated, how many wait for a choice."}},"required":["created","updated","unchanged","removed","kept","needs_review"],"additionalProperties":false}},"required":["store_id","products","links"],"additionalProperties":false},"DeveloperApiStoreProductLinksResponseDto_Output":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"product_kind":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]},"obj_id":{"type":["string","null"],"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The linked object; null for the kinds that need no object."},"tinuuid":{"type":["string","null"],"description":"The same object as the objects endpoints name it."},"variant_hid":{"type":["string","null"]},"source":{"type":"string","enum":["auto","manual","app"]},"status":{"type":"string","enum":["linked","preparing","needs_review","disabled"],"description":"A storefront button is shown only for a linked link."},"data":{"type":"object","properties":{"mode":{"description":"core-ar: how the button opens.","type":"string","maxLength":32},"room_id":{"description":"rugs, flooring: the room the viewer starts in.","type":"string","maxLength":128},"image_url":{"description":"wallart: the artwork; ai-try-on: the garment.","type":"string","maxLength":2048,"format":"uri"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"dimension_unit":{"description":"wallart: unit of width and height (m, cm, in).","type":"string","maxLength":8},"zone":{"description":"ai-try-on: the body zone.","type":"string","maxLength":32},"price":{"description":"ai-try-on: the price, already formatted for display.","type":"string","maxLength":64}},"additionalProperties":false},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"store":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string"}},"required":["id","platform","domain"],"additionalProperties":false},"product":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"external_product_id":{"type":["string","null"]},"external_variant_id":{"type":["string","null"]},"sku":{"type":["string","null"]},"url":{"type":["string","null"],"description":"The product page as host/path, the way links are keyed."},"title":{"type":["string","null"]},"image_url":{"type":["string","null"]}},"required":["id","external_product_id","external_variant_id","sku","url","title","image_url"],"additionalProperties":false}},"required":["id","product_kind","obj_id","tinuuid","variant_hid","source","status","data","updated_at","created_at","store","product"],"additionalProperties":false}},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"page":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["items","count","page","limit"],"additionalProperties":false},"DeveloperApiStoreProductLinkUpsertRequestDto":{"type":"object","properties":{"store":{"type":"object","properties":{"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string","minLength":1,"maxLength":255,"description":"The store address in any form: https://www.Shop.com/ and shop.com are one store."},"external_id":{"description":"The platform's own id of the store, e.g. <handle>.myshopify.com.","type":"string","minLength":1,"maxLength":255}},"required":["platform","domain"],"additionalProperties":false},"product":{"type":"object","properties":{"external_product_id":{"description":"The platform's own id of the product; the storefront tag sends it as product-id. Without external_variant_id the link is the product's own: it shows for the product and for any variant that has no link of its own.","type":"string","minLength":1,"maxLength":128},"external_variant_id":{"description":"The platform's own id of one variant; the storefront tag sends it as product-variant-id, together with product-id. Give external_product_id with it where it is known. A product id is not matched against a variant id.","type":"string","minLength":1,"maxLength":128},"sku":{"type":"string","minLength":1,"maxLength":255},"url":{"type":"string","minLength":1,"maxLength":2048},"title":{"type":"string","minLength":1,"maxLength":512},"image_url":{"type":"string","maxLength":2048,"format":"uri"}},"additionalProperties":false},"product_kind":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]},"obj_id":{"description":"The object to open, as its tinuuid or its uuid. Required for core-ar, rugs and flooring; left out for wallart and ai-try-on.","type":"string","minLength":1,"maxLength":64},"variant_hid":{"description":"Variant (material) hid of the object.","type":"string","minLength":1,"maxLength":16},"data":{"description":"wallart needs image_url; ai-try-on needs image_url and zone.","type":"object","properties":{"mode":{"description":"core-ar: how the button opens.","type":"string","maxLength":32},"room_id":{"description":"rugs, flooring: the room the viewer starts in.","type":"string","maxLength":128},"image_url":{"description":"wallart: the artwork; ai-try-on: the garment.","type":"string","maxLength":2048,"format":"uri"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"dimension_unit":{"description":"wallart: unit of width and height (m, cm, in).","type":"string","maxLength":8},"zone":{"description":"ai-try-on: the body zone.","type":"string","maxLength":32},"price":{"description":"ai-try-on: the price, already formatted for display.","type":"string","maxLength":64}},"additionalProperties":false}},"required":["store","product","product_kind"],"additionalProperties":false},"DeveloperApiStoreProductLinkDto_Output":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"product_kind":{"type":"string","enum":["core-ar","rugs","flooring","wallart","ai-try-on"]},"obj_id":{"type":["string","null"],"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The linked object; null for the kinds that need no object."},"tinuuid":{"type":["string","null"],"description":"The same object as the objects endpoints name it."},"variant_hid":{"type":["string","null"]},"source":{"type":"string","enum":["auto","manual","app"]},"status":{"type":"string","enum":["linked","preparing","needs_review","disabled"],"description":"A storefront button is shown only for a linked link."},"data":{"type":"object","properties":{"mode":{"description":"core-ar: how the button opens.","type":"string","maxLength":32},"room_id":{"description":"rugs, flooring: the room the viewer starts in.","type":"string","maxLength":128},"image_url":{"description":"wallart: the artwork; ai-try-on: the garment.","type":"string","maxLength":2048,"format":"uri"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"dimension_unit":{"description":"wallart: unit of width and height (m, cm, in).","type":"string","maxLength":8},"zone":{"description":"ai-try-on: the body zone.","type":"string","maxLength":32},"price":{"description":"ai-try-on: the price, already formatted for display.","type":"string","maxLength":64}},"additionalProperties":false},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"store":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string"}},"required":["id","platform","domain"],"additionalProperties":false},"product":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"external_product_id":{"type":["string","null"]},"external_variant_id":{"type":["string","null"]},"sku":{"type":["string","null"]},"url":{"type":["string","null"],"description":"The product page as host/path, the way links are keyed."},"title":{"type":["string","null"]},"image_url":{"type":["string","null"]}},"required":["id","external_product_id","external_variant_id","sku","url","title","image_url"],"additionalProperties":false}},"required":["id","product_kind","obj_id","tinuuid","variant_hid","source","status","data","updated_at","created_at","store","product"],"additionalProperties":false},"DeveloperApiStoreProductLinkActiveRequestDto":{"type":"object","properties":{"active":{"type":"boolean","description":"false switches the link off; true switches a switched-off link back on."}},"required":["active"],"additionalProperties":false},"DeveloperApiStoreProductLinkDeleteResponseDto_Output":{"type":"object","properties":{},"additionalProperties":false},"DeveloperApiStoreConnectionResponseDto_Output":{"type":"object","properties":{"store":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"domain":{"type":"string"},"external_id":{"type":["string","null"]}},"required":["id","platform","domain","external_id"],"additionalProperties":false},"connection_status":{"type":["string","null"],"enum":["connected","disconnected",null],"description":"Whether the store is connected to the account; null for a store that was only ever created by a catalog batch or a link."},"connected_at":{"type":["string","null"],"format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"publishable_keys":{"type":"array","items":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"key":{"type":"string","description":"The publishable (pk_) key the storefront tag uses."}},"required":["product_type","key"],"additionalProperties":false},"description":"The account's active publishable keys, one entry per key."},"domains":{"type":"array","items":{"type":"string"},"description":"Hosts this connection added to the account's allowed domains."}},"required":["store","connection_status","connected_at","publishable_keys","domains"],"additionalProperties":false},"DeveloperApiStoreConnectionDomainsUpdateRequestDto":{"type":"object","properties":{"domains":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"description":"Every host the storefront is served from now: the store's domain, its www. twin, its subdomains, and for Shopify the store's own <handle>.myshopify.com — any other host is 400. Replaces only the hosts this connection added; hosts the account had already are never removed."}},"required":["domains"],"additionalProperties":false},"DeveloperApiStoreConnectionDomainsResponseDto_Output":{"type":"object","properties":{"domains":{"type":"array","items":{"type":"string"},"description":"Hosts this connection added to the account's allowed domains."},"added":{"type":"array","items":{"type":"string"}},"removed":{"type":"array","items":{"type":"string"}}},"required":["domains","added","removed"],"additionalProperties":false},"DeveloperApiStoreConnectionRotateResponseDto_Output":{"type":"object","properties":{"store_key":{"type":"string","description":"The new key, shown once. The previous keys of the store keep working for 24 hours."},"key_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"store_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["store_key","key_id","store_id"],"additionalProperties":false},"DeveloperApiStoreConnectionDeleteResponseDto_Output":{"type":"object","properties":{"store_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revoked_key_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"removed_domains":{"type":"array","items":{"type":"string"}}},"required":["store_id","revoked_key_count","removed_domains"],"additionalProperties":false},"DeveloperApiRequestCreateDto":{"type":"object","properties":{"type":{"type":"string","enum":["contact_sales","catalog_upload","model_order","model_upload_help","support","other"]},"product":{"type":"string","enum":["core-ar","wallart","rugs","ai-tryon","flooring","panels"]},"message":{"type":"string","minLength":1,"maxLength":10000},"subject":{"type":"string","minLength":1,"maxLength":240},"contact_name":{"type":"string","minLength":1,"maxLength":200},"contact_phone":{"type":"string","minLength":1,"maxLength":80}},"required":["type","product","message"],"additionalProperties":false},"DeveloperApiRequestCreateResponseDto_Output":{"type":"object","properties":{"accepted":{"type":"boolean","enum":[true]}},"required":["accepted"],"additionalProperties":false},"DeveloperApiStoreConnectRequestCreateDto":{"type":"object","properties":{"client_id":{"type":"string","minLength":1,"maxLength":64,"description":"vizbl-app or vizbl-woocommerce."},"client_secret":{"description":"Confidential clients only (vizbl-app); a public client must not send it.","type":"string","minLength":1,"maxLength":256},"platform":{"type":"string","enum":["shopify","woocommerce","bigcommerce","wix","custom"]},"store":{"type":"object","properties":{"external_id":{"type":"string","minLength":1,"maxLength":255,"description":"The platform's own id of the store, e.g. <handle>.myshopify.com."},"domain":{"type":"string","minLength":1,"maxLength":255,"description":"The storefront address: shop.com or https://shop.com/."},"domains":{"description":"More hosts the storefront is served from: the domain's www. twin, its subdomains, and for Shopify the store's own <handle>.myshopify.com. Plain host names only; any other host is invalid_request.","maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"name":{"type":"string","minLength":1,"maxLength":255},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["external_id","domain"],"additionalProperties":false},"redirect_uri":{"type":"string","minLength":1,"maxLength":2048,"description":"Where the merchant is sent back after the decision; the token request must repeat it exactly. vizbl-woocommerce: https, a /wp-admin/ path on the store's domain or its www. twin."},"state":{"type":"string","minLength":1,"maxLength":512,"description":"Returned unchanged on the redirect."},"code_challenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","description":"base64url(SHA-256(code_verifier)), without padding."},"code_challenge_method":{"type":"string","enum":["S256"]},"shopify_id_token":{"description":"vizbl-app, platform shopify only: the App Bridge session token of the merchant's admin session. It must be signed for this app and name the store (dest = https://<store.external_id>); otherwise invalid_request. A store already connected to a Vizbl account (or linked to one by the earlier Shopify app) is then approved at once: the answer is status approved with the code, and no consent page is shown.","type":"string","maxLength":4096,"pattern":"^[\\w-]+\\.[\\w-]+\\.[\\w-]+$"}},"required":["client_id","platform","store","redirect_uri","state","code_challenge","code_challenge_method"],"additionalProperties":false},"DeveloperApiStoreConnectRequestCreateResponseDto_Output":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"request_id":{"type":"string"},"consent_url":{"type":"string","format":"uri","description":"Open it for the merchant: the Vizbl page where they approve or deny."},"expires_in":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Seconds the request stays open."}},"required":["status","request_id","consent_url","expires_in"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approved"]},"code":{"type":"string","description":"The one-time code, as if the merchant had approved: exchange it at /token with the PKCE verifier."},"expires_in":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Seconds the code stays valid."}},"required":["status","code","expires_in"],"additionalProperties":false}]},"DeveloperApiStoreConnectErrorDto":{"type":"object","properties":{"error":{"type":"string","enum":["invalid_request","invalid_client","invalid_grant","unauthorized_client"]},"error_description":{"type":"string"}},"required":["error","error_description"]},"DeveloperApiStoreConnectTokenRequestDto":{"type":"object","properties":{"client_id":{"type":"string","minLength":1,"maxLength":64,"description":"vizbl-app or vizbl-woocommerce."},"client_secret":{"description":"Confidential clients only (vizbl-app); a public client must not send it.","type":"string","minLength":1,"maxLength":256},"code":{"type":"string","minLength":1,"maxLength":256},"code_verifier":{"type":"string","pattern":"^[A-Za-z0-9._~-]{43,128}$","description":"RFC 7636: 43–128 characters."},"redirect_uri":{"type":"string","minLength":1,"maxLength":2048},"shopify_id_token":{"description":"Shopify stores of vizbl-app: a fresh App Bridge session token of the store (they live one minute). With it Vizbl also gets its own offline Shopify token for the store, used to check the charges the app makes; an invalid one is invalid_request, one of another store invalid_grant.","type":"string","maxLength":4096,"pattern":"^[\\w-]+\\.[\\w-]+\\.[\\w-]+$"}},"required":["client_id","code","code_verifier","redirect_uri"],"additionalProperties":false},"DeveloperApiStoreConnectTokenResponseDto_Output":{"type":"object","properties":{"store_key":{"type":"string","description":"The secret key bound to the store. Shown once: store it on the app server."},"key_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"store_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"account":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["company_id","name"],"additionalProperties":false},"publishable_keys":{"type":"array","items":{"type":"object","properties":{"product_type":{"type":"string","enum":["core-ar","core-ar-shopify","wallart","wallart-shopify","rugs","flooring","ai-try-on","ai-try-on-shopify","view-360","panels","3d-gen","all"]},"key":{"type":"string","description":"The publishable (pk_) key the storefront tag uses."}},"required":["product_type","key"],"additionalProperties":false},"description":"The account's working publishable keys, one entry per key."},"domains":{"type":"array","items":{"type":"string"},"description":"Hosts this connection added to the account's allowed domains."},"scopes":{"type":"array","items":{"type":"string"}}},"required":["store_key","key_id","store_id","account","publishable_keys","domains","scopes"],"additionalProperties":false}}}}