{"openapi":"3.1.0","info":{"title":"PostCHAT","description":"API REST for PostCHAT App","version":"0.1.0-alpha"},"servers":[{"url":"https:\/\/api.post-chat.com","description":"Production Server"}],"paths":{"\/api\/aliexpress\/dropshipping\/categories":{"summary":"Get AliExpress Categories","description":"Get categories from AliExpress for dropshipping","get":{"operationId":"getAliExpressDropshippingCategories","tags":["AliExpress"],"responses":{"200":{"description":"AliExpress categories","content":{"application\/json":{"schema":{"type":"object","properties":{"categories":{"type":"array","items":{"$ref":"#\/components\/schemas\/AliExpressCategory"}},"parentId":{"type":"string","nullable":true}}}}}}},"summary":"Get AliExpress categories","description":"Get categories from AliExpress for dropshipping","parameters":[{"name":"parentId","in":"query","description":"Parent category ID","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false}],"security":[{"bearerAuth":[]}]}},"\/api\/aliexpress\/dropshipping\/freight":{"summary":"Calculate AliExpress Shipping","description":"Calculate shipping costs for AliExpress products","post":{"operationId":"postAliExpressDropshippingFreight","tags":["AliExpress"],"responses":{"200":{"description":"Shipping calculation results","content":{"application\/json":{"schema":{"type":"object","properties":{"productId":{"type":"string"},"quantity":{"type":"integer"},"countryCode":{"type":"string"},"shippingMethods":{"type":"array","items":{"type":"object","properties":{"serviceId":{"type":"string"},"serviceName":{"type":"string"},"deliveryTime":{"type":"string"},"trackingAvailable":{"type":"boolean"},"amount":{"type":"object","properties":{"value":{"type":"number","format":"float"},"currency":{"type":"string"}}}}}}}}}}},"400":{"description":"Invalid input"}},"summary":"Calculate shipping costs","description":"Calculate shipping costs for AliExpress products","requestBody":{"description":"Shipping calculation parameters","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AliExpressFreightRequest"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/aliexpress\/dropshipping\/import":{"summary":"Import AliExpress Product","description":"Import a single product from AliExpress to your store","post":{"operationId":"postAliExpressDropshippingImportSingle","tags":["AliExpress"],"responses":{"201":{"description":"Product imported successfully","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"product":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"price":{"type":"string"},"salePrice":{"type":"string","nullable":true},"stock":{"type":"integer","nullable":true},"image":{"type":"string","nullable":true},"gallery":{"type":"array","items":{"type":"string"},"nullable":true},"metadata":{"type":"object","nullable":true}}},"syncResults":{"type":"array","items":{"type":"object","properties":{"integration":{"type":"string"},"status":{"type":"string","enum":["success","error"]}}}}}}}}},"400":{"description":"Invalid input"},"403":{"description":"Forbidden"}},"summary":"Import a product","description":"Import a single product from AliExpress to your store","requestBody":{"description":"Import details","content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/AliExpressImportRequest"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/aliexpress\/dropshipping\/import-bulk":{"summary":"Import AliExpress Products","description":"Import products from AliExpress to your store","post":{"operationId":"postAliExpressDropshippingImport","tags":["AliExpress"],"responses":{"200":{"description":"Products imported successfully","content":{"application\/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"imported":{"type":"integer"},"products":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"sku":{"type":"string"},"price":{"type":"string"}}}},"errors":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Import products","description":"Import products from AliExpress to your store","requestBody":{"description":"Import details","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AliExpressImportRequest"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/aliexpress\/dropshipping\/order":{"summary":"Place AliExpress Order","description":"Place an order for a product on AliExpress","post":{"operationId":"postAliExpressDropshippingOrder","tags":["AliExpress"],"responses":{"200":{"description":"Order placed successfully","content":{"application\/json":{"schema":{"type":"object","properties":{"orderId":{"type":"string"},"orderStatus":{"type":"string"},"paymentUrl":{"type":"string","format":"uri"},"totalAmount":{"type":"object","properties":{"value":{"type":"number","format":"float"},"currency":{"type":"string"}}}}}}}},"400":{"description":"Invalid input"}},"summary":"Place an order","description":"Place an order for a product on AliExpress","requestBody":{"description":"Order details","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AliExpressOrderRequest"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/aliexpress\/dropshipping\/search":{"summary":"Search AliExpress Dropshipping Products","description":"Search for products in AliExpress for dropshipping. Returns all products if no search criteria are provided.","get":{"operationId":"getAliExpressDropshippingSearch","tags":["AliExpress"],"responses":{"200":{"description":"AliExpress products search results","content":{"application\/json":{"schema":{"type":"object","properties":{"totalCount":{"type":"integer","example":120},"pageSize":{"type":"integer","example":20},"currentPage":{"type":"integer","example":1},"totalPages":{"type":"integer","example":6},"products":{"type":"array","items":{"$ref":"#\/components\/schemas\/AliExpressProduct"}}}}}}},"400":{"description":"Invalid input"}},"summary":"Search AliExpress products","description":"Search for products in AliExpress for dropshipping. If no search criteria are provided, returns a list of all available products.","parameters":[{"name":"keywords","in":"query","description":"Search keywords (optional - if omitted, returns all products)","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","example":"phone case"},"style":"form","explode":false,"allowReserved":false},{"name":"categoryId","in":"query","description":"Category ID (optional - if omitted, returns all products)","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","example":"200216607"},"style":"form","explode":false,"allowReserved":false},{"name":"page","in":"query","description":"Page number","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer","default":1,"minimum":1},"style":"form","explode":false,"allowReserved":false},{"name":"pageSize","in":"query","description":"Number of items per page","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"integer","default":20,"minimum":1,"maximum":50},"style":"form","explode":false,"allowReserved":false},{"name":"sort","in":"query","description":"Sort order","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","enum":["default","price_asc","price_desc","orders"],"default":"default"},"style":"form","explode":false,"allowReserved":false},{"name":"minPrice","in":"query","description":"Minimum price","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"number","format":"float"},"style":"form","explode":false,"allowReserved":false},{"name":"maxPrice","in":"query","description":"Maximum price","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"number","format":"float"},"style":"form","explode":false,"allowReserved":false},{"name":"shipToCountry","in":"query","description":"Ship to country code","required":false,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","default":"AL"},"style":"form","explode":false,"allowReserved":false}],"security":[{"bearerAuth":[]}]}},"\/api\/carts":{"get":{"operationId":"api_carts_get_collection","tags":["Cart"],"responses":{"200":{"description":"Cart collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Cart-cart.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Cart resources.","description":"Retrieves the collection of Cart resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_carts_post","tags":["Cart"],"responses":{"201":{"description":"Cart resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Cart resource.","description":"Creates a Cart resource.","parameters":[],"requestBody":{"description":"The new Cart resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.create"}}},"required":true},"deprecated":false}},"\/api\/carts\/{id}":{"get":{"operationId":"api_carts_id_get","tags":["Cart"],"responses":{"200":{"description":"Cart resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Cart resource.","description":"Retrieves a Cart resource.","parameters":[{"name":"id","in":"path","description":"Cart identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_carts_id_put","tags":["Cart"],"responses":{"200":{"description":"Cart resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Cart resource.","description":"Replaces the Cart resource.","parameters":[{"name":"id","in":"path","description":"Cart identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Cart resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_carts_id_delete","tags":["Cart"],"responses":{"204":{"description":"Cart resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Cart resource.","description":"Removes the Cart resource.","parameters":[{"name":"id","in":"path","description":"Cart identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_carts_id_patch","tags":["Cart"],"responses":{"200":{"description":"Cart resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Cart resource.","description":"Updates the Cart resource.","parameters":[{"name":"id","in":"path","description":"Cart identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Cart resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Cart-cart.update"}}},"required":true},"deprecated":false}},"\/api\/cart_items":{"get":{"operationId":"api_cart_items_get_collection","tags":["CartItem"],"responses":{"200":{"description":"CartItem collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/CartItem-cart_item.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of CartItem resources.","description":"Retrieves the collection of CartItem resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_cart_items_post","tags":["CartItem"],"responses":{"201":{"description":"CartItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a CartItem resource.","description":"Creates a CartItem resource.","parameters":[],"requestBody":{"description":"The new CartItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.create"}}},"required":true},"deprecated":false}},"\/api\/cart_items\/{id}":{"get":{"operationId":"api_cart_items_id_get","tags":["CartItem"],"responses":{"200":{"description":"CartItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a CartItem resource.","description":"Retrieves a CartItem resource.","parameters":[{"name":"id","in":"path","description":"CartItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_cart_items_id_put","tags":["CartItem"],"responses":{"200":{"description":"CartItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the CartItem resource.","description":"Replaces the CartItem resource.","parameters":[{"name":"id","in":"path","description":"CartItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated CartItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_cart_items_id_delete","tags":["CartItem"],"responses":{"204":{"description":"CartItem resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the CartItem resource.","description":"Removes the CartItem resource.","parameters":[{"name":"id","in":"path","description":"CartItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_cart_items_id_patch","tags":["CartItem"],"responses":{"200":{"description":"CartItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the CartItem resource.","description":"Updates the CartItem resource.","parameters":[{"name":"id","in":"path","description":"CartItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated CartItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/CartItem-cart_item.update"}}},"required":true},"deprecated":false}},"\/api\/categories":{"get":{"operationId":"api_categories_get_collection","tags":["Category"],"responses":{"200":{"description":"Category collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Category-category.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Category resources.","description":"Retrieves the collection of Category resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_categories_post","tags":["Category"],"responses":{"201":{"description":"Category resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Category resource.","description":"Creates a Category resource.","parameters":[],"requestBody":{"description":"The new Category resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.create"}}},"required":true},"deprecated":false}},"\/api\/categories\/{id}":{"get":{"operationId":"api_categories_id_get","tags":["Category"],"responses":{"200":{"description":"Category resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Category resource.","description":"Retrieves a Category resource.","parameters":[{"name":"id","in":"path","description":"Category identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_categories_id_put","tags":["Category"],"responses":{"200":{"description":"Category resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Category resource.","description":"Replaces the Category resource.","parameters":[{"name":"id","in":"path","description":"Category identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Category resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_categories_id_delete","tags":["Category"],"responses":{"204":{"description":"Category resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Category resource.","description":"Removes the Category resource.","parameters":[{"name":"id","in":"path","description":"Category identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_categories_id_patch","tags":["Category"],"responses":{"200":{"description":"Category resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Category resource.","description":"Updates the Category resource.","parameters":[{"name":"id","in":"path","description":"Category identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Category resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Category-category.update"}}},"required":true},"deprecated":false}},"\/api\/forgot_password\/":{"ref":"ForgotPassword","post":{"operationId":"postForgotPassword","tags":["Forgot password"],"responses":{"204":{"description":"Valid email address, no matter if user exists or not"},"422":{"description":"Missing email parameter or invalid format"}},"summary":"Generates a token and send email","parameters":[{"name":"FP-provider","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"description":"Request a new password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:request"}}},"required":true}}},"\/api\/forgot_password\/{tokenValue}":{"ref":"ForgotPassword","get":{"operationId":"getForgotPassword","tags":["Forgot password"],"responses":{"200":{"description":"Authenticated user","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:validate"}}}},"404":{"description":"Token not found or expired"}},"summary":"Validates token","parameters":[{"name":"tokenValue","in":"path","required":true,"schema":{"type":"string"}},{"name":"FP-provider","in":"header","required":false,"schema":{"type":"string"}}]},"post":{"operationId":"postForgotPasswordToken","tags":["Forgot password"],"responses":{"204":{"description":"Email address format valid, no matter if user exists or not"},"422":{"description":"Missing password parameter"},"404":{"description":"Token not found"}},"summary":"Validates token","parameters":[{"name":"tokenValue","in":"path","required":true,"schema":{"type":"string"}},{"name":"FP-provider","in":"header","required":false,"schema":{"type":"string"}}],"requestBody":{"description":"Reset password","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ForgotPassword:reset"}}},"required":true}}},"\/api\/integrations\/{id}":{"get":{"operationId":"api_integrations_id_get","tags":["Integration"],"responses":{"200":{"description":"Integration resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Integration-integration.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Integration resource.","description":"Retrieves a Integration resource.","parameters":[{"name":"id","in":"path","description":"Integration identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/invitations":{"get":{"operationId":"api_invitations_get_collection","tags":["Invitation"],"responses":{"200":{"description":"Invitation collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Invitation-invitation.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Invitation resources.","description":"Retrieves the collection of Invitation resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_invitations_post","tags":["Invitation"],"responses":{"201":{"description":"Invitation resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invitation-invitation.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Invitation resource.","description":"Creates a Invitation resource.","parameters":[],"requestBody":{"description":"The new Invitation resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invitation-invitation.create"}}},"required":true},"deprecated":false}},"\/api\/invitations\/{id}":{"get":{"operationId":"api_invitations_id_get","tags":["Invitation"],"responses":{"200":{"description":"Invitation resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Invitation-invitation.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Invitation resource.","description":"Retrieves a Invitation resource.","parameters":[{"name":"id","in":"path","description":"Invitation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"api_invitations_id_delete","tags":["Invitation"],"responses":{"204":{"description":"Invitation resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Invitation resource.","description":"Removes the Invitation resource.","parameters":[{"name":"id","in":"path","description":"Invitation identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}},"\/api\/login_check":{"post":{"operationId":"login_check_post","tags":["Login Check"],"responses":{"200":{"description":"User token created","content":{"application\/json":{"schema":{"type":"object","properties":{"token":{"readOnly":true,"type":"string","nullable":false}},"required":["token"]}}}}},"summary":"Creates a user token.","description":"Creates a user token.","requestBody":{"description":"The login data","content":{"application\/json":{"schema":{"type":"object","properties":{"username":{"type":"string","nullable":false},"password":{"type":"string","nullable":false}},"required":["username","password"]}}},"required":true}}},"\/api\/meta\/catalog\/{storeId}":{"summary":"Meta\/Facebook Product Catalog","description":"Get a product catalog feed in the format required by Meta\/Facebook","get":{"operationId":"getMetaCatalog","tags":["Meta"],"responses":{"200":{"description":"Product catalog feed in XML format","content":{"application\/xml":{"schema":{"type":"string","format":"xml"}}}},"400":{"description":"Invalid store ID format"},"404":{"description":"Store not found"}},"summary":"Get Meta\/Facebook product catalog feed","description":"Returns an XML feed in the format required by Meta\/Facebook for product catalogs","parameters":[{"name":"storeId","in":"path","description":"Store UUID","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string","format":"uuid"},"style":"simple","explode":false,"allowReserved":false}]}},"\/api\/orders":{"get":{"operationId":"api_orders_get_collection","tags":["Order"],"responses":{"200":{"description":"Order collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Order-order.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Order resources.","description":"Retrieves the collection of Order resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_orders_post","tags":["Order"],"responses":{"201":{"description":"Order resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Order resource.","description":"Creates a Order resource.","parameters":[],"requestBody":{"description":"The new Order resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.create"}}},"required":true},"deprecated":false}},"\/api\/orders\/{id}":{"get":{"operationId":"api_orders_id_get","tags":["Order"],"responses":{"200":{"description":"Order resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Order resource.","description":"Retrieves a Order resource.","parameters":[{"name":"id","in":"path","description":"Order identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_orders_id_put","tags":["Order"],"responses":{"200":{"description":"Order resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Order resource.","description":"Replaces the Order resource.","parameters":[{"name":"id","in":"path","description":"Order identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Order resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_orders_id_delete","tags":["Order"],"responses":{"204":{"description":"Order resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Order resource.","description":"Removes the Order resource.","parameters":[{"name":"id","in":"path","description":"Order identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_orders_id_patch","tags":["Order"],"responses":{"200":{"description":"Order resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Order resource.","description":"Updates the Order resource.","parameters":[{"name":"id","in":"path","description":"Order identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Order resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Order-order.update"}}},"required":true},"deprecated":false}},"\/api\/order_items":{"get":{"operationId":"api_order_items_get_collection","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem-order_item.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of OrderItem resources.","description":"Retrieves the collection of OrderItem resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_order_items_post","tags":["OrderItem"],"responses":{"201":{"description":"OrderItem resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a OrderItem resource.","description":"Creates a OrderItem resource.","parameters":[],"requestBody":{"description":"The new OrderItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.create"}}},"required":true},"deprecated":false}},"\/api\/order_items\/{id}":{"get":{"operationId":"api_order_items_id_get","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a OrderItem resource.","description":"Retrieves a OrderItem resource.","parameters":[{"name":"id","in":"path","description":"OrderItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_order_items_id_put","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the OrderItem resource.","description":"Replaces the OrderItem resource.","parameters":[{"name":"id","in":"path","description":"OrderItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated OrderItem resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_order_items_id_delete","tags":["OrderItem"],"responses":{"204":{"description":"OrderItem resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the OrderItem resource.","description":"Removes the OrderItem resource.","parameters":[{"name":"id","in":"path","description":"OrderItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_order_items_id_patch","tags":["OrderItem"],"responses":{"200":{"description":"OrderItem resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the OrderItem resource.","description":"Updates the OrderItem resource.","parameters":[{"name":"id","in":"path","description":"OrderItem identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated OrderItem resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/OrderItem-order_item.update"}}},"required":true},"deprecated":false}},"\/api\/product":{"post":{"operationId":"createOrUpdateProduct","tags":["Product"],"responses":{"201":{"description":"Product created successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProductCreateResponse"}}}},"200":{"description":"Product updated successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProductCreateResponse"}}}},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Create or update a product","description":"Creates a new product or updates an existing one and syncs it to Terra","requestBody":{"description":"Product data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProductCreateRequest"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/products":{"get":{"operationId":"api_products_get_collection","tags":["Product"],"responses":{"200":{"description":"Product collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Product-product.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Product resources.","description":"Retrieves the collection of Product resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_products_post","tags":["Product"],"responses":{"201":{"description":"Product resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Product resource.","description":"Creates a Product resource.","parameters":[],"requestBody":{"description":"The new Product resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.create"}}},"required":true},"deprecated":false}},"\/api\/products\/{id}":{"get":{"operationId":"api_products_id_get","tags":["Product"],"responses":{"200":{"description":"Product resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Product resource.","description":"Retrieves a Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_products_id_put","tags":["Product"],"responses":{"200":{"description":"Product resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Product resource.","description":"Replaces the Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_products_id_delete","tags":["Product"],"responses":{"204":{"description":"Product resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Product resource.","description":"Removes the Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_products_id_patch","tags":["Product"],"responses":{"200":{"description":"Product resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Product resource.","description":"Updates the Product resource.","parameters":[{"name":"id","in":"path","description":"Product identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Product resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Product-product.update"}}},"required":true},"deprecated":false}},"\/api\/register":{"summary":"User Registration","description":"Register a new user","post":{"operationId":"postUserRegistration","tags":["Registration"],"responses":{"201":{"description":"User successfully registered","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserRegistrationResponse"}}}},"400":{"description":"Invalid input"}},"summary":"Register a new user","description":"Creates a new user account and returns a JWT token","parameters":[],"requestBody":{"description":"User registration data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserRegistration"}}},"required":true},"security":[]}},"\/api\/register\/store":{"summary":"Store Registration","description":"Register a new store for the authenticated user","post":{"operationId":"postStoreRegistration","tags":["Registration"],"responses":{"201":{"description":"Store successfully registered","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StoreRegistrationResponse"}}}},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"}},"summary":"Register a new store","description":"Creates a new store for the authenticated user","parameters":[],"requestBody":{"description":"Store registration data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StoreRegistration"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/register\/terra-token":{"summary":"Update Terra Integration Token","description":"Set or update the Terra integration token for a store","post":{"operationId":"postTerraToken","tags":["Registration"],"responses":{"200":{"description":"Token successfully updated"},"400":{"description":"Invalid input"},"401":{"description":"Unauthorized"},"404":{"description":"Store or integration not found"}},"summary":"Update Terra token","description":"Set or update the Terra integration token for a store","parameters":[],"requestBody":{"description":"Terra token data","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TerraTokenUpdate"}}},"required":true},"security":[{"bearerAuth":[]}]}},"\/api\/stores":{"get":{"operationId":"api_stores_get_collection","tags":["Store"],"responses":{"200":{"description":"Store collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Store-store.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Store resources.","description":"Retrieves the collection of Store resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_stores_post","tags":["Store"],"responses":{"201":{"description":"Store resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Store resource.","description":"Creates a Store resource.","parameters":[],"requestBody":{"description":"The new Store resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.create"}}},"required":true},"deprecated":false}},"\/api\/stores\/{id}":{"get":{"operationId":"api_stores_id_get","tags":["Store"],"responses":{"200":{"description":"Store resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Store resource.","description":"Retrieves a Store resource.","parameters":[{"name":"id","in":"path","description":"Store identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_stores_id_put","tags":["Store"],"responses":{"200":{"description":"Store resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Store resource.","description":"Replaces the Store resource.","parameters":[{"name":"id","in":"path","description":"Store identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Store resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_stores_id_delete","tags":["Store"],"responses":{"204":{"description":"Store resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Store resource.","description":"Removes the Store resource.","parameters":[{"name":"id","in":"path","description":"Store identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_stores_id_patch","tags":["Store"],"responses":{"200":{"description":"Store resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Store resource.","description":"Updates the Store resource.","parameters":[{"name":"id","in":"path","description":"Store identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Store resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Store-store.update"}}},"required":true},"deprecated":false}},"\/api\/user\/me":{"get":{"operationId":"getCurrentUser","tags":["User"],"responses":{"200":{"description":"Current user information","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}}},"401":{"description":"Unauthorized"}},"summary":"Get current user information","description":"Retrieves the currently authenticated user's information","security":[{"bearerAuth":[]}]}},"\/api\/users":{"get":{"operationId":"api_users_get_collection","tags":["User"],"responses":{"200":{"description":"User collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/User-user.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of User resources.","description":"Retrieves the collection of User resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_users_post","tags":["User"],"responses":{"201":{"description":"User resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-store_user.read_user.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a User resource.","description":"Creates a User resource.","parameters":[],"requestBody":{"description":"The new User resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-store_user.create"}}},"required":true},"deprecated":false}},"\/api\/users\/{id}":{"get":{"operationId":"api_users_id_get","tags":["User"],"responses":{"200":{"description":"User resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a User resource.","description":"Retrieves a User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_users_id_put","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the User resource.","description":"Replaces the User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_users_id_delete","tags":["User"],"responses":{"204":{"description":"User resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the User resource.","description":"Removes the User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_users_id_patch","tags":["User"],"responses":{"200":{"description":"User resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/User-user.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the User resource.","description":"Updates the User resource.","parameters":[{"name":"id","in":"path","description":"User identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated User resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/User-user.update"}}},"required":true},"deprecated":false}},"\/api\/vendors":{"get":{"operationId":"api_vendors_get_collection","tags":["Vendor"],"responses":{"200":{"description":"Vendor collection","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Vendor-vendor.read"}}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves the collection of Vendor resources.","description":"Retrieves the collection of Vendor resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"api_vendors_post","tags":["Vendor"],"responses":{"201":{"description":"Vendor resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Creates a Vendor resource.","description":"Creates a Vendor resource.","parameters":[],"requestBody":{"description":"The new Vendor resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.create"}}},"required":true},"deprecated":false}},"\/api\/vendors\/{id}":{"get":{"operationId":"api_vendors_id_get","tags":["Vendor"],"responses":{"200":{"description":"Vendor resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.read"}}}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Retrieves a Vendor resource.","description":"Retrieves a Vendor resource.","parameters":[{"name":"id","in":"path","description":"Vendor identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"api_vendors_id_put","tags":["Vendor"],"responses":{"200":{"description":"Vendor resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Replaces the Vendor resource.","description":"Replaces the Vendor resource.","parameters":[{"name":"id","in":"path","description":"Vendor identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Vendor resource","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.update"}}},"required":true},"deprecated":false},"delete":{"operationId":"api_vendors_id_delete","tags":["Vendor"],"responses":{"204":{"description":"Vendor resource deleted"},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Removes the Vendor resource.","description":"Removes the Vendor resource.","parameters":[{"name":"id","in":"path","description":"Vendor identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"api_vendors_id_patch","tags":["Vendor"],"responses":{"200":{"description":"Vendor resource updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.read"}}},"links":{}},"400":{"description":"Invalid input","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"422":{"description":"An error occurred","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation.jsonld-jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConstraintViolation-json"}}},"links":{}},"403":{"description":"Forbidden","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}},"404":{"description":"Not found","content":{"application\/ld+json":{"schema":{"$ref":"#\/components\/schemas\/Error.jsonld"}},"application\/problem+json":{"schema":{"$ref":"#\/components\/schemas\/Error"}},"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}},"links":{}}},"summary":"Updates the Vendor resource.","description":"Updates the Vendor resource.","parameters":[{"name":"id","in":"path","description":"Vendor identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Vendor resource","content":{"application\/merge-patch+json":{"schema":{"$ref":"#\/components\/schemas\/Vendor-vendor.update"}}},"required":true},"deprecated":false}}},"components":{"schemas":{"Cart-cart.create":{"type":"object","description":"","deprecated":false,"properties":{"externalOrderId":{"type":["string","null"]},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CartItem-cart.create"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"externalUserId":{"type":["string","null"]},"externalPageId":{"type":["string","null"]}},"required":["store"]},"Cart-cart.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"externalOrderId":{"type":["string","null"]},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CartItem-cart.read"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"externalUserId":{"type":["string","null"]},"externalPageId":{"type":["string","null"]}},"required":["store"]},"Cart-cart.update":{"type":"object","description":"","deprecated":false,"properties":{"externalOrderId":{"type":["string","null"]},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/CartItem-cart.update"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"externalUserId":{"type":["string","null"]},"externalPageId":{"type":["string","null"]}}},"CartItem-cart.create":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"CartItem-cart.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}},"required":["name","price","quantity"]},"CartItem-cart.update":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"CartItem-cart_item.create":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity","cart"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"cart":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"CartItem-cart_item.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"cart":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}},"required":["name","price","quantity","cart"]},"CartItem-cart_item.update":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"Category-category.create":{"type":"object","description":"","deprecated":false,"required":["name","store"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}},"Category-category.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["name","store"]},"Category-category.update":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]}}},"Category-product.read":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"}}},"ConstraintViolation-json":{"type":"object","description":"Unprocessable entity","deprecated":false,"properties":{"status":{"default":422,"example":422,"type":"integer"},"violations":{"type":"array","items":{"type":"object","properties":{"propertyPath":{"type":"string","description":"The property path of the violation"},"message":{"type":"string","description":"The message associated with the violation"}}}},"detail":{"readOnly":true,"type":"string"},"type":{"readOnly":true,"type":"string"},"title":{"readOnly":true,"type":["string","null"]},"instance":{"readOnly":true,"type":["string","null"]}}},"ConstraintViolation.jsonld-jsonld":{"type":"object","description":"Unprocessable entity","deprecated":false,"properties":{"status":{"default":422,"example":422,"type":"integer"},"violations":{"type":"array","items":{"type":"object","properties":{"propertyPath":{"type":"string","description":"The property path of the violation"},"message":{"type":"string","description":"The message associated with the violation"}}}},"detail":{"readOnly":true,"type":"string"},"description":{"readOnly":true,"type":"string"},"type":{"readOnly":true,"type":"string"},"title":{"readOnly":true,"type":["string","null"]},"instance":{"readOnly":true,"type":["string","null"]}}},"Error":{"type":"object","description":"A representation of common errors.","deprecated":false,"properties":{"title":{"readOnly":true,"description":"A short, human-readable summary of the problem.","type":["string","null"]},"detail":{"readOnly":true,"description":"A human-readable explanation specific to this occurrence of the problem.","type":["string","null"]},"status":{"type":"number","example":404,"default":400},"instance":{"readOnly":true,"description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","type":["string","null"]},"type":{"readOnly":true,"description":"A URI reference that identifies the problem type","type":"string"}}},"Error.jsonld":{"type":"object","description":"A representation of common errors.","deprecated":false,"properties":{"title":{"readOnly":true,"description":"A short, human-readable summary of the problem.","type":["string","null"]},"detail":{"readOnly":true,"description":"A human-readable explanation specific to this occurrence of the problem.","type":["string","null"]},"status":{"type":"number","example":404,"default":400},"instance":{"readOnly":true,"description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","type":["string","null"]},"type":{"readOnly":true,"description":"A URI reference that identifies the problem type","type":"string"},"description":{"readOnly":true,"type":["string","null"]}}},"Integration-integration.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"type":{"type":"integer","enum":[1,2,3,4]},"isActive":{"default":true,"example":true,"type":"boolean"},"sourceOfTruth":{"default":1,"example":1,"type":"integer","enum":[0,1,2,3]},"webhooksEnabled":{"type":"boolean"},"config":{"description":"Decrypted configuration","type":["array","null"],"items":{"type":"string"}},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}},"Invitation-invitation.create":{"type":"object","description":"","deprecated":false,"required":["email","scope","store"],"properties":{"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"scope":{"enum":["admin","employee"],"type":"string"},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}},"Invitation-invitation.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"scope":{"enum":["admin","employee"],"type":"string"},"token":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"accepted":{"type":"boolean"},"user":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["email","scope","user","store"]},"Order-order.create":{"type":"object","description":"","deprecated":false,"properties":{"externalId":{"type":"string"},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"shippingCost":{"minimum":0,"type":"integer"},"totalTaxes":{"minimum":0,"type":"integer"},"totalDiscounts":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"status":{"default":"Not processed","example":"Not processed","type":"string"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem-order.create"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"shippingAddress":{"type":["array","null"],"items":{"type":"string"}},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"originPlatform":{"type":"integer","enum":[1,2,3,4]}},"required":["store"]},"Order-order.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"externalId":{"type":"string"},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"shippingCost":{"minimum":0,"type":"integer"},"totalTaxes":{"minimum":0,"type":"integer"},"totalDiscounts":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"status":{"default":"Not processed","example":"Not processed","type":"string"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem-order.read"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"shippingAddress":{"type":["array","null"],"items":{"type":"string"}},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"originPlatform":{"type":"integer","enum":[1,2,3,4]}},"required":["store"]},"Order-order.update":{"type":"object","description":"","deprecated":false,"properties":{"externalId":{"type":"string"},"currency":{"default":"EUR","example":"EUR","type":"string"},"total":{"minimum":0,"type":"integer"},"subtotal":{"minimum":0,"type":"integer"},"shippingCost":{"minimum":0,"type":"integer"},"totalTaxes":{"minimum":0,"type":"integer"},"totalDiscounts":{"minimum":0,"type":"integer"},"totalItems":{"minimum":0,"type":"integer"},"couponDiscount":{"minimum":0,"type":["integer","null"]},"coupon":{"type":["string","null"]},"status":{"default":"Not processed","example":"Not processed","type":"string"},"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrderItem-order.update"}},"user":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"userData":{"type":["array","null"],"items":{"type":"string"}},"shippingAddress":{"type":["array","null"],"items":{"type":"string"}},"originPlatform":{"type":"integer","enum":[1,2,3,4]}}},"OrderItem-order.create":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"OrderItem-order.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}},"required":["name","price","quantity"]},"OrderItem-order.update":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"OrderItem-order_item.create":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity","order"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"order":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"OrderItem-order_item.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"order":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}},"required":["name","price","quantity","order"]},"OrderItem-order_item.update":{"type":"object","description":"","deprecated":false,"required":["name","price","quantity"],"properties":{"name":{"type":"string"},"image":{"type":["string","null"]},"price":{"type":"string"},"quantity":{"exclusiveMinimum":0,"type":"integer"},"shortDescription":{"type":["string","null"]},"variant":{"type":["string","null"]},"userMessage":{"type":["string","null"]},"product":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"externalProductId":{"type":["string","null"]}}},"Product-product.create":{"type":"object","description":"","deprecated":false,"required":["name","price","store"],"properties":{"name":{"type":"string"},"price":{"type":"string"},"salePrice":{"type":["string","null"]},"image":{"type":["string","null"]},"productUrl":{"type":["string","null"]},"stock":{"minimum":0,"type":["integer","null"]},"shortDescription":{"type":["string","null"]},"description":{"type":["string","null"]},"sku":{"type":["string","null"]},"discount":{"type":["string","null"]},"taxes":{"type":["string","null"]},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"category":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"metadata":{"type":["array","null"],"items":{"type":"string"}},"gallery":{"type":["array","null"],"items":{"type":"string"}}}},"Product-product.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"price":{"type":"string"},"salePrice":{"type":["string","null"]},"image":{"type":["string","null"]},"productUrl":{"type":["string","null"]},"stock":{"minimum":0,"type":["integer","null"]},"shortDescription":{"type":["string","null"]},"description":{"type":["string","null"]},"sku":{"type":["string","null"]},"discount":{"type":["string","null"]},"taxes":{"type":["string","null"]},"vendor":{"anyOf":[{"$ref":"#\/components\/schemas\/Vendor-product.read"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#\/components\/schemas\/Category-product.read"},{"type":"null"}]},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"metadata":{"type":["array","null"],"items":{"type":"string"}},"gallery":{"type":["array","null"],"items":{"type":"string"}}},"required":["name","price","store"]},"Product-product.update":{"type":"object","description":"","deprecated":false,"required":["name","price"],"properties":{"name":{"type":"string"},"price":{"type":"string"},"salePrice":{"type":["string","null"]},"image":{"type":["string","null"]},"productUrl":{"type":["string","null"]},"stock":{"minimum":0,"type":["integer","null"]},"shortDescription":{"type":["string","null"]},"description":{"type":["string","null"]},"sku":{"type":["string","null"]},"discount":{"type":["string","null"]},"taxes":{"type":["string","null"]},"vendor":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"category":{"type":["string","null"],"format":"iri-reference","example":"https:\/\/example.com\/"},"metadata":{"type":["array","null"],"items":{"type":"string"}},"gallery":{"type":["array","null"],"items":{"type":"string"}}}},"Store-store.create":{"type":"object","description":"","deprecated":false,"required":["name","address","city","country"],"properties":{"name":{"type":"string"},"category":{"type":["string","null"]},"address":{"type":"string"},"addressNumber":{"type":["string","null"]},"city":{"type":"string"},"country":{"type":"string"},"isEnabled":{"default":true,"example":true,"type":"boolean"}}},"Store-store.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"category":{"type":["string","null"]},"address":{"type":"string"},"addressNumber":{"type":["string","null"]},"city":{"type":"string"},"country":{"type":"string"},"isEnabled":{"default":true,"example":true,"type":"boolean"},"categories":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"vendors":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"products":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"orders":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"carts":{"type":"array","items":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"isTerraConfigured":{"readOnly":true,"description":"Virtual property to check if Terra integration is configured","type":"boolean"}},"required":["name","address","city","country"]},"Store-store.update":{"type":"object","description":"","deprecated":false,"required":["name","address","city","country"],"properties":{"name":{"type":"string"},"category":{"type":["string","null"]},"address":{"type":"string"},"addressNumber":{"type":["string","null"]},"city":{"type":"string"},"country":{"type":"string"},"isEnabled":{"default":true,"example":true,"type":"boolean"}}},"Store-store_user.read_user.read":{"type":"object","description":"","deprecated":false,"properties":{"createdAt":{"readOnly":true,"description":"api.property.created_at","type":"string","format":"date-time"},"updatedAt":{"readOnly":true,"description":"api.property.updated_at","type":["string","null"],"format":"date-time"}}},"Store.User-user.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"scope":{"enum":["admin","employee"],"type":"string"},"createdAt":{"readOnly":true,"description":"api.property.created_at","type":"string","format":"date-time"},"updatedAt":{"readOnly":true,"description":"api.property.updated_at","type":["string","null"],"format":"date-time"}},"required":["scope"]},"User-store_user.create":{"type":"object","description":"","deprecated":false,"required":["user","store","scope"],"properties":{"user":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"},"scope":{"enum":["admin","employee"],"type":"string"}}},"User-store_user.read_user.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"user":{"$ref":"#\/components\/schemas\/User-store_user.read_user.read"},"store":{"$ref":"#\/components\/schemas\/Store-store_user.read_user.read"},"scope":{"enum":["admin","employee"],"type":"string"},"createdAt":{"readOnly":true,"description":"api.property.created_at","type":"string","format":"date-time"},"updatedAt":{"readOnly":true,"description":"api.property.updated_at","type":["string","null"],"format":"date-time"}},"required":["user","store","scope"]},"User-user.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"surname":{"type":"string"},"phone":{"type":["string","null"]},"isVerified":{"type":"boolean"},"isEnabled":{"default":true,"example":true,"type":"boolean"},"storeUsers":{"readOnly":true,"type":"array","items":{"$ref":"#\/components\/schemas\/Store.User-user.read"}},"createdAt":{"readOnly":true,"description":"api.property.created_at","type":"string","format":"date-time"},"updatedAt":{"readOnly":true,"description":"api.property.updated_at","type":["string","null"],"format":"date-time"}},"required":["email","name","surname"]},"User-user.update":{"type":"object","description":"","deprecated":false,"required":["email","name","surname"],"properties":{"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string"},"plainPassword":{"minLength":8,"type":["string","null"]},"name":{"type":"string"},"surname":{"type":"string"},"phone":{"type":["string","null"]}}},"Vendor-product.read":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"}}},"Vendor-vendor.create":{"type":"object","description":"","deprecated":false,"required":["name","store"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]},"website":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}}},"Vendor-vendor.read":{"type":"object","description":"","deprecated":false,"properties":{"id":{"readOnly":true,"type":["string","null"],"format":"uuid"},"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]},"website":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"store":{"type":"string","format":"iri-reference","example":"https:\/\/example.com\/"}},"required":["name","store"]},"Vendor-vendor.update":{"type":"object","description":"","deprecated":false,"required":["name"],"properties":{"name":{"type":"string"},"description":{"type":["string","null"]},"image":{"type":["string","null"]},"website":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]}}},"UserRegistration":{"type":"object","properties":{"email":{"type":"string","format":"email","example":"user@example.com"},"name":{"type":"string","example":"John"},"surname":{"type":"string","example":"Doe"},"password":{"type":"string","format":"password","example":"StrongPassword123!"},"phone":{"type":"string","example":"+1234567890","nullable":true},"invitationToken":{"type":"string","example":"abc123def456","nullable":true}},"required":["email","name","surname","password"]},"StoreRegistration":{"type":"object","properties":{"name":{"type":"string","example":"My Store"},"category":{"type":"string","example":"Electronics","nullable":true},"address":{"type":"string","example":"Main Street"},"addressNumber":{"type":"string","example":"123"},"city":{"type":"string","example":"New York"},"country":{"type":"string","example":"USA"}},"required":["name","address","addressNumber","city","country"]},"TerraTokenUpdate":{"type":"object","properties":{"token":{"type":"string","example":"terra_api_token_123"},"storeId":{"type":"string","format":"uuid","example":"00000000-0000-0000-0000-000000000000"}},"required":["token","storeId"]},"UserRegistrationResponse":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"},"name":{"type":"string"},"surname":{"type":"string"}}},"token":{"type":"string"}}},"StoreRegistrationResponse":{"type":"object","properties":{"store":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}}}}},"AliExpressProduct":{"type":"object","properties":{"id":{"type":"string","example":"1000007654321","description":"Unique product ID from AliExpress"},"productId":{"type":"string","example":"1000123456"},"title":{"type":"string","example":"AliExpress Product Title"},"description":{"type":"string","example":"Product description"},"price":{"type":"object","properties":{"amount":{"type":"number","format":"float","example":29.99},"currency":{"type":"string","example":"USD"}}},"images":{"type":"array","items":{"type":"string","format":"uri"},"example":["https:\/\/ae01.alicdn.com\/kf\/S8d40e9e1a6f1440aa5311e2558e7eb2fO.jpg"]},"categoryId":{"type":"string","example":"200216607"}}},"AliExpressCategory":{"type":"object","properties":{"categoryId":{"type":"string","example":"200216607"},"categoryName":{"type":"string","example":"Phone Cases"},"categoryLevel":{"type":"integer","example":2},"categoryUrl":{"type":"string","format":"uri","example":"https:\/\/www.aliexpress.com\/category\/200216607\/phone-cases.html"},"parentCategoryId":{"type":"string","example":"509","nullable":true},"hasChildren":{"type":"boolean","example":true}}},"AliExpressFreightRequest":{"type":"object","properties":{"productId":{"type":"string","example":"1000123456"},"quantity":{"type":"integer","example":1},"countryCode":{"type":"string","example":"AL"},"provinceCode":{"type":"string","example":"TR","nullable":true},"cityCode":{"type":"string","example":"TIR","nullable":true}},"required":["productId","quantity","countryCode"]},"AliExpressOrderRequest":{"type":"object","properties":{"productId":{"type":"string","example":"1000123456"},"quantity":{"type":"integer","example":1},"shippingMethod":{"type":"string","example":"CAINIAO_STANDARD","nullable":true},"shippingAddress":{"type":"object","properties":{"name":{"type":"string","example":"John Doe"},"country":{"type":"string","example":"AL"},"province":{"type":"string","example":"Tirana"},"city":{"type":"string","example":"Tirana"},"address1":{"type":"string","example":"Rruga Myslym Shyri, 1001"},"address2":{"type":"string","example":"Apartment 5","nullable":true},"zipCode":{"type":"string","example":"1001"},"phoneNumber":{"type":"string","example":"+355 69 123 4567"}}}},"required":["productId","quantity","shippingAddress"]},"AliExpressImportBulkRequest":{"type":"object","properties":{"storeId":{"type":"string","format":"uuid","example":"0196ce96-16d3-71db-bff7-f549aba3703d"},"products":{"type":"array","items":{"type":"object","properties":{"aliexpressId":{"type":"string","example":"1000123456"},"sellingPrice":{"type":"number","format":"float","example":49.99},"promotionalPrice":{"type":"number","format":"float","example":39.99,"nullable":true}},"required":["aliexpressId","sellingPrice"]}}},"required":["storeId","products"]},"AliExpressImportRequest":{"type":"object","properties":{"productId":{"type":"string","example":"1000000","description":"AliExpress product ID"},"storeId":{"type":"string","format":"uuid","example":"0196ce96-16d3-71db-bff7-f549aba3703d","description":"Store UUID"},"quantity":{"type":"integer","example":10,"description":"Initial stock quantity","default":0},"sellingPrice":{"type":"number","format":"float","example":46.787,"description":"Selling price in your store"},"autoSync":{"type":"boolean","example":true,"description":"Whether to automatically sync with other integrations","default":false}},"required":["productId","storeId","sellingPrice"]},"ProductCreateRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"UUID of the product (for updates only)","example":"9d9b8e8c-7b6a-5e4d-3c2b-1a0f9e8d7c6b","nullable":true},"name":{"type":"string","description":"Product name","example":"Smartphone XYZ"},"sku":{"type":"string","description":"Product SKU","example":"SM-XYZ-123","nullable":true},"description":{"type":"string","description":"Full product description","example":"This is a detailed description of the product...","nullable":true},"shortDescription":{"type":"string","description":"Short product description","example":"Latest smartphone model with advanced features","nullable":true},"price":{"type":"string","description":"Product price","example":"599.99"},"salePrice":{"type":"string","description":"Product sale price","example":"499.99","nullable":true},"stock":{"type":"integer","description":"Product stock quantity","example":100},"image":{"type":"string","description":"Main product image URL","example":"https:\/\/example.com\/images\/product.jpg","nullable":true},"gallery":{"type":"array","description":"Product image gallery","items":{"type":"string","example":"https:\/\/example.com\/images\/product-1.jpg"},"nullable":true},"images":{"type":"array","description":"Additional product images (will be merged with gallery)","items":{"type":"string","example":"https:\/\/example.com\/images\/product-2.jpg"},"nullable":true},"discount":{"type":"string","description":"Product discount percentage","example":"10.00","nullable":true},"taxes":{"type":"string","description":"Product tax percentage","example":"21.00","nullable":true},"isActive":{"type":"boolean","description":"Whether the product is active","example":true,"nullable":true},"store":{"type":"string","format":"uuid","description":"UUID of the store the product belongs to","example":"9d9b8e8c-7b6a-5e4d-3c2b-1a0f9e8d7c6b"}},"required":["name","price","store"]},"ProductCreateResponse":{"type":"object","properties":{"product":{"$ref":"#\/components\/schemas\/Product-product.read"},"terra_sync":{"type":"string","description":"Status of Terra sync","example":"success","enum":["success","not_available","failed"]}}},"ForgotPassword:reset":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"ForgotPassword:request":{"type":"object","required":["email"],"properties":{"email":{"type":["string","integer"]}}},"ForgotPassword:validate":{"type":["object","null"]}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"apiKey":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"apiKey":[]}],"tags":[{"name":"Invitation"},{"name":"Integration"},{"name":"Cart"},{"name":"CartItem"},{"name":"Order"},{"name":"OrderItem"},{"name":"Category"},{"name":"Product"},{"name":"Vendor"},{"name":"Store"},{"name":"User"}],"webhooks":{}}