{"openapi":"3.1.0","info":{"description":"Bagisto Admin API - Administrative operations for store management and configuration.","contact":[],"license":[],"version":"1.0.0"},"servers":[{"url":"/api/admin","description":"Admin API - Administrative endpoints"}],"paths":{"/attribute_options/{id}":{"get":{"tags":["AttributeOption"],"summary":"Retrieves a AttributeOption resource.","description":"Retrieves a AttributeOption resource.","parameters":[{"name":"id","in":"path","description":"AttributeOption identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"AttributeOption resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"operationId":"api_apiadminattribute_options_id_get"},"patch":{"tags":["AttributeOption"],"summary":"Updates the AttributeOption resource.","description":"Updates the AttributeOption resource.","parameters":[{"name":"id","in":"path","description":"AttributeOption identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The updated AttributeOption resource","content":{"application/merge-patch+json":{"schema":[]}},"required":true},"responses":{"200":{"description":"AttributeOption resource updated","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"operationId":"api_apiadminattribute_options_id_patch"},"delete":{"tags":["AttributeOption"],"summary":"Removes the AttributeOption resource.","description":"Removes the AttributeOption resource.","parameters":[{"name":"id","in":"path","description":"AttributeOption identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"AttributeOption resource deleted"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}},"operationId":"api_apiadminattribute_options_id_delete"}},"/attribute_options":{"get":{"tags":["AttributeOption"],"summary":"Retrieves the collection of AttributeOption resources.","description":"Retrieves the collection of AttributeOption resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","schema":{"type":"integer","default":1}}],"responses":{"200":{"description":"AttributeOption collection","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"403":{"description":"Forbidden"}},"operationId":"api_apiadminattribute_options_get_collection"},"post":{"tags":["AttributeOption"],"summary":"Creates a AttributeOption resource.","description":"Creates a AttributeOption resource.","requestBody":{"description":"The new AttributeOption resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}},"required":true},"responses":{"201":{"description":"AttributeOption resource created","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"},"403":{"description":"Forbidden"}},"operationId":"api_apiadminattribute_options_post"}},"/products/{productId}/customer-group-prices":{"get":{"tags":["ProductCustomerGroupPrice"],"summary":"Retrieves the collection of ProductCustomerGroupPrice resources.","description":"Retrieves the collection of ProductCustomerGroupPrice resources.","parameters":[{"name":"productId","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The collection page number","schema":{"type":"integer","default":1}}],"responses":{"200":{"description":"ProductCustomerGroupPrice collection","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}}},"operationId":"api_apiadminproducts_productIdcustomer-group-prices_get_collection"},"post":{"tags":["ProductCustomerGroupPrice"],"summary":"Creates a ProductCustomerGroupPrice resource.","description":"Creates a ProductCustomerGroupPrice resource.","parameters":[{"name":"productId","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The new ProductCustomerGroupPrice resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}},"required":true},"responses":{"201":{"description":"ProductCustomerGroupPrice resource created","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"}},"operationId":"api_apiadminproducts_productIdcustomer-group-prices_post"}},"/products/{productId}/customer-group-prices/{id}":{"get":{"tags":["ProductCustomerGroupPrice"],"summary":"Retrieves a ProductCustomerGroupPrice resource.","description":"Retrieves a ProductCustomerGroupPrice resource.","parameters":[{"name":"productId","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductCustomerGroupPrice resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdcustomer-group-prices_id_get"},"patch":{"tags":["ProductCustomerGroupPrice"],"summary":"Updates the ProductCustomerGroupPrice resource.","description":"Updates the ProductCustomerGroupPrice resource.","parameters":[{"name":"productId","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The updated ProductCustomerGroupPrice resource","content":{"application/merge-patch+json":{"schema":[]}},"required":true},"responses":{"200":{"description":"ProductCustomerGroupPrice resource updated","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdcustomer-group-prices_id_patch"},"delete":{"tags":["ProductCustomerGroupPrice"],"summary":"Removes the ProductCustomerGroupPrice resource.","description":"Removes the ProductCustomerGroupPrice resource.","parameters":[{"name":"productId","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"ProductCustomerGroupPrice resource deleted"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdcustomer-group-prices_id_delete"}},"/customer-group-prices":{"get":{"tags":["ProductCustomerGroupPrice"],"summary":"Retrieves the collection of ProductCustomerGroupPrice resources.","description":"Retrieves the collection of ProductCustomerGroupPrice resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","schema":{"type":"integer","default":1}}],"responses":{"200":{"description":"ProductCustomerGroupPrice collection","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}}},"operationId":"api_apiadmincustomer-group-prices_get_collection"}},"/customer-group-prices/{id}":{"get":{"tags":["ProductCustomerGroupPrice"],"summary":"Retrieves a ProductCustomerGroupPrice resource.","description":"Retrieves a ProductCustomerGroupPrice resource.","parameters":[{"name":"id","in":"path","description":"ProductCustomerGroupPrice identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductCustomerGroupPrice resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadmincustomer-group-prices_id_get"}},"/products/{productId}/image":{"get":{"tags":["ProductImage"],"summary":"Retrieves the collection of ProductImage resources.","description":"Retrieves the collection of ProductImage resources.","parameters":[{"name":"productId","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"The collection page number","schema":{"type":"integer","default":1}}],"responses":{"200":{"description":"ProductImage collection","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}}},"operationId":"api_apiadminproducts_productIdimage_get_collection"},"post":{"tags":["ProductImage"],"summary":"Creates a ProductImage resource.","description":"Creates a ProductImage resource.","parameters":[{"name":"productId","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The new ProductImage resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}},"required":true},"responses":{"201":{"description":"ProductImage resource created","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"}},"operationId":"api_apiadminproducts_productIdimage_post"}},"/products/{productId}/images/{id}":{"get":{"tags":["ProductImage"],"summary":"Retrieves a ProductImage resource.","description":"Retrieves a ProductImage resource.","parameters":[{"name":"productId","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductImage resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdimages_id_get"},"patch":{"tags":["ProductImage"],"summary":"Updates the ProductImage resource.","description":"Updates the ProductImage resource.","parameters":[{"name":"productId","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The updated ProductImage resource","content":{"application/merge-patch+json":{"schema":[]}},"required":true},"responses":{"200":{"description":"ProductImage resource updated","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdimages_id_patch"},"delete":{"tags":["ProductImage"],"summary":"Removes the ProductImage resource.","description":"Removes the ProductImage resource.","parameters":[{"name":"productId","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductImage identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"ProductImage resource deleted"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdimages_id_delete"}},"/images/{id}":{"get":{"tags":["ProductImages"],"summary":"Retrieves a ProductImages resource.","description":"Retrieves a ProductImages resource.","parameters":[{"name":"id","in":"path","description":"ProductImages identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductImages resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadminimages_id_get"}},"/products/{productId}/videos/{id}":{"get":{"tags":["ProductVideo"],"summary":"Retrieves a ProductVideo resource.","description":"Retrieves a ProductVideo resource.","parameters":[{"name":"productId","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductVideo resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdvideos_id_get"},"patch":{"tags":["ProductVideo"],"summary":"Updates the ProductVideo resource.","description":"Updates the ProductVideo resource.","parameters":[{"name":"productId","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"The updated ProductVideo resource","content":{"application/merge-patch+json":{"schema":[]}},"required":true},"responses":{"200":{"description":"ProductVideo resource updated","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"400":{"description":"Invalid input"},"422":{"description":"Validation Error"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdvideos_id_patch"},"delete":{"tags":["ProductVideo"],"summary":"Removes the ProductVideo resource.","description":"Removes the ProductVideo resource.","parameters":[{"name":"productId","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"ProductVideo identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"ProductVideo resource deleted"},"404":{"description":"Not found"}},"operationId":"api_apiadminproducts_productIdvideos_id_delete"}},"/videos/{id}":{"get":{"tags":["ProductVideos"],"summary":"Retrieves a ProductVideos resource.","description":"Retrieves a ProductVideos resource.","parameters":[{"name":"id","in":"path","description":"ProductVideos identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"ProductVideos resource","content":{"application/json":{"schema":[]},"text/html":{"schema":[]}}},"404":{"description":"Not found"}},"operationId":"api_apiadminvideos_id_get"}}},"components":{"schemas":{"AttributeOption":[],"AttributeOption.jsonMergePatch":[],"AttributeOptionTranslation":[],"ProductCustomerGroupPrice":[],"ProductCustomerGroupPrice.jsonMergePatch":[],"ProductImage":[],"ProductImage.jsonMergePatch":[],"ProductImages":[],"ProductVideo":[],"ProductVideo.jsonMergePatch":[],"ProductVideos":[]},"responses":[],"parameters":[],"requestBodies":[],"securitySchemes":{"api":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"api":[]}]}