# Pos

## GET /api/v1/pos/{id}/

> Retrieve a specific pos object

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"Pos":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the POS (Point of Sale) system."},"channel":{"$ref":"#/components/schemas/Channel","description":"Reference to the channel associated with the POS system."},"name":{"type":"string","maxLength":64,"description":"Name of the POS system."},"slug":{"type":"string","maxLength":64,"description":"Unique slug used to identify the POS system."},"gateway":{"type":"string","maxLength":128,"enum":["garanti","nestpay","cmi","posnet","payu","mastercard","masterpass","bex","hyperpay","payu_poland","payu_romania","payu_ro","fastpay","maximumpay","liqpay","gpay","easypay","mobilexpress","mobilexpress_credit_card","iyzico","iyzico_bkm","finansbank","denizbank","yandex_money","paypal","alpha","dummypay","ykb_credit","compay","compay_credit","param","garanti_switch","pay_with_iyzico","tompay","iyzico_funds_transfer","paycell","posas_giftcard","multisafepay","garanti_credit","multisafepay_direct","ozan","netopia","teqpay","payu_pl","stripe","bulut","fiba_credit","mobilexpress_hosted","paymob","tompay_credit","paytr","payzee","mobilexpress_v8_cc","ykb_worldpay","extension","vakifbank","bulut_direct","eren_card","craftgate","iyzico_saved_card","checkout","checkout_apple_pay","zip_credit","mobilexpress_wire_transfer","payu_ro_paybyclick","payu_ro_saved_card","paybyme","sipay","paywall","dummy_psp","tap","qpay_tap","tap_saved_card","akbank","hepsipay","qnb_pay"],"description":"Payment gateway associated with the POS system. This field represents an enumerated value."},"resource_url":{"type":"string","format":"uri","description":"URL of the POS resource."},"three_d_resource_url":{"type":"string","format":"uri","nullable":true,"description":"Optional URL for 3D secure payments via the POS system."},"config":{"type":"object","additionalProperties":{"type":"string"},"description":"JSON configuration for the POS system settings."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was last modified."}},"required":["name","slug","gateway","resource_url","channel"],"description":"The Pos model represents a Point of Sale system used for processing payments. It includes details such as the name, slug, payment gateway, resource URLs, and configuration settings. It is associated with a specific channel and can be integrated with external systems via the integration field."},"Channel":{"type":"object","required":["name","catalog","channel_type","conf","is_active"],"properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":255},"catalog":{"type":"integer"},"channel_type":{"type":"string","description":"The type of channel. ex: web, distributed, hepsiburada, etc.","enum":["hepsiburada","hepsiburadads","gittigidiyor","n11","web","feed","trendyol","morhipo","morhipoV2","lidyana","amazon","allegro","distributed","aliexpress","emag","ciceksepeti","gordumaldim","pazarama","flo","turkcellds","sales_channel"]},"conf":{"type":"object","description":"A JSON object containing configuration settings for the channel.","additionalProperties":{"type":"string"}},"category_tree":{"type":"string","nullable":true,"description":"The category tree related to this channel."},"is_active":{"type":"boolean","description":"Specifies whether the channel is active.","default":true},"schema":{"type":"object","description":"Additional schema information for the channel.","nullable":true},"created_date":{"type":"string","format":"date-time","readOnly":true},"modified_date":{"type":"string","format":"date-time"}}}},"responses":{"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}}}},"paths":{"/api/v1/pos/{id}/":{"get":{"summary":"Retrieve a specific pos object","tags":["Pos"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"responses":{"200":{"description":"The requested pos object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pos"}}}},"404":{"$ref":"#/components/responses/404"}}}}}}
```

## PUT /api/v1/pos/{id}/

> Update a specific pos.

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"schemas":{"Pos":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the POS (Point of Sale) system."},"channel":{"$ref":"#/components/schemas/Channel","description":"Reference to the channel associated with the POS system."},"name":{"type":"string","maxLength":64,"description":"Name of the POS system."},"slug":{"type":"string","maxLength":64,"description":"Unique slug used to identify the POS system."},"gateway":{"type":"string","maxLength":128,"enum":["garanti","nestpay","cmi","posnet","payu","mastercard","masterpass","bex","hyperpay","payu_poland","payu_romania","payu_ro","fastpay","maximumpay","liqpay","gpay","easypay","mobilexpress","mobilexpress_credit_card","iyzico","iyzico_bkm","finansbank","denizbank","yandex_money","paypal","alpha","dummypay","ykb_credit","compay","compay_credit","param","garanti_switch","pay_with_iyzico","tompay","iyzico_funds_transfer","paycell","posas_giftcard","multisafepay","garanti_credit","multisafepay_direct","ozan","netopia","teqpay","payu_pl","stripe","bulut","fiba_credit","mobilexpress_hosted","paymob","tompay_credit","paytr","payzee","mobilexpress_v8_cc","ykb_worldpay","extension","vakifbank","bulut_direct","eren_card","craftgate","iyzico_saved_card","checkout","checkout_apple_pay","zip_credit","mobilexpress_wire_transfer","payu_ro_paybyclick","payu_ro_saved_card","paybyme","sipay","paywall","dummy_psp","tap","qpay_tap","tap_saved_card","akbank","hepsipay","qnb_pay"],"description":"Payment gateway associated with the POS system. This field represents an enumerated value."},"resource_url":{"type":"string","format":"uri","description":"URL of the POS resource."},"three_d_resource_url":{"type":"string","format":"uri","nullable":true,"description":"Optional URL for 3D secure payments via the POS system."},"config":{"type":"object","additionalProperties":{"type":"string"},"description":"JSON configuration for the POS system settings."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was last modified."}},"required":["name","slug","gateway","resource_url","channel"],"description":"The Pos model represents a Point of Sale system used for processing payments. It includes details such as the name, slug, payment gateway, resource URLs, and configuration settings. It is associated with a specific channel and can be integrated with external systems via the integration field."},"Channel":{"type":"object","required":["name","catalog","channel_type","conf","is_active"],"properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":255},"catalog":{"type":"integer"},"channel_type":{"type":"string","description":"The type of channel. ex: web, distributed, hepsiburada, etc.","enum":["hepsiburada","hepsiburadads","gittigidiyor","n11","web","feed","trendyol","morhipo","morhipoV2","lidyana","amazon","allegro","distributed","aliexpress","emag","ciceksepeti","gordumaldim","pazarama","flo","turkcellds","sales_channel"]},"conf":{"type":"object","description":"A JSON object containing configuration settings for the channel.","additionalProperties":{"type":"string"}},"category_tree":{"type":"string","nullable":true,"description":"The category tree related to this channel."},"is_active":{"type":"boolean","description":"Specifies whether the channel is active.","default":true},"schema":{"type":"object","description":"Additional schema information for the channel.","nullable":true},"created_date":{"type":"string","format":"date-time","readOnly":true},"modified_date":{"type":"string","format":"date-time"}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}}}},"paths":{"/api/v1/pos/{id}/":{"put":{"summary":"Update a specific pos.","tags":["Pos"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pos"}}}},"responses":{"200":{"description":"The updated pos object.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pos"}}}},"400":{"$ref":"#/components/responses/400"},"404":{"$ref":"#/components/responses/404"}}}}}}
```

## DELETE /api/v1/pos/{id}/

> Delete a specific pos object

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id_path":{"name":"id","in":"path","description":"Unique identifier of the resource","required":true,"schema":{"type":"integer"}}},"responses":{"204":{"description":"No content"},"404":{"description":"The given resource or object was not found or does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"description":"Contains a detailed description of the error.","type":"string"}}}}}}}},"paths":{"/api/v1/pos/{id}/":{"delete":{"summary":"Delete a specific pos object","tags":["Pos"],"parameters":[{"$ref":"#/components/parameters/id_path"}],"responses":{"204":{"$ref":"#/components/responses/204"},"404":{"$ref":"#/components/responses/404"}}}}}}
```

## GET /api/v1/pos/

> List all pos entries

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"parameters":{"id":{"name":"id","in":"query","required":false,"description":"Filters by id","schema":{"type":"integer"}},"channel":{"name":"channel","in":"query","description":"ID of the channel the customer belongs to","required":false,"schema":{"type":"integer"}},"modified_date":{"name":"modified_date","in":"query","required":false,"description":"Filter by modification date using supported lookup expressions (e.g., `gt`, `gte`, `lt`, `lte`, `date__gt`, etc.).","schema":{"type":"string","format":"date-time"}}},"schemas":{"Pos":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the POS (Point of Sale) system."},"channel":{"$ref":"#/components/schemas/Channel","description":"Reference to the channel associated with the POS system."},"name":{"type":"string","maxLength":64,"description":"Name of the POS system."},"slug":{"type":"string","maxLength":64,"description":"Unique slug used to identify the POS system."},"gateway":{"type":"string","maxLength":128,"enum":["garanti","nestpay","cmi","posnet","payu","mastercard","masterpass","bex","hyperpay","payu_poland","payu_romania","payu_ro","fastpay","maximumpay","liqpay","gpay","easypay","mobilexpress","mobilexpress_credit_card","iyzico","iyzico_bkm","finansbank","denizbank","yandex_money","paypal","alpha","dummypay","ykb_credit","compay","compay_credit","param","garanti_switch","pay_with_iyzico","tompay","iyzico_funds_transfer","paycell","posas_giftcard","multisafepay","garanti_credit","multisafepay_direct","ozan","netopia","teqpay","payu_pl","stripe","bulut","fiba_credit","mobilexpress_hosted","paymob","tompay_credit","paytr","payzee","mobilexpress_v8_cc","ykb_worldpay","extension","vakifbank","bulut_direct","eren_card","craftgate","iyzico_saved_card","checkout","checkout_apple_pay","zip_credit","mobilexpress_wire_transfer","payu_ro_paybyclick","payu_ro_saved_card","paybyme","sipay","paywall","dummy_psp","tap","qpay_tap","tap_saved_card","akbank","hepsipay","qnb_pay"],"description":"Payment gateway associated with the POS system. This field represents an enumerated value."},"resource_url":{"type":"string","format":"uri","description":"URL of the POS resource."},"three_d_resource_url":{"type":"string","format":"uri","nullable":true,"description":"Optional URL for 3D secure payments via the POS system."},"config":{"type":"object","additionalProperties":{"type":"string"},"description":"JSON configuration for the POS system settings."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was last modified."}},"required":["name","slug","gateway","resource_url","channel"],"description":"The Pos model represents a Point of Sale system used for processing payments. It includes details such as the name, slug, payment gateway, resource URLs, and configuration settings. It is associated with a specific channel and can be integrated with external systems via the integration field."},"Channel":{"type":"object","required":["name","catalog","channel_type","conf","is_active"],"properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":255},"catalog":{"type":"integer"},"channel_type":{"type":"string","description":"The type of channel. ex: web, distributed, hepsiburada, etc.","enum":["hepsiburada","hepsiburadads","gittigidiyor","n11","web","feed","trendyol","morhipo","morhipoV2","lidyana","amazon","allegro","distributed","aliexpress","emag","ciceksepeti","gordumaldim","pazarama","flo","turkcellds","sales_channel"]},"conf":{"type":"object","description":"A JSON object containing configuration settings for the channel.","additionalProperties":{"type":"string"}},"category_tree":{"type":"string","nullable":true,"description":"The category tree related to this channel."},"is_active":{"type":"boolean","description":"Specifies whether the channel is active.","default":true},"schema":{"type":"object","description":"Additional schema information for the channel.","nullable":true},"created_date":{"type":"string","format":"date-time","readOnly":true},"modified_date":{"type":"string","format":"date-time"}}}}},"paths":{"/api/v1/pos/":{"get":{"summary":"List all pos entries","tags":["Pos"],"parameters":[{"$ref":"#/components/parameters/id"},{"$ref":"#/components/parameters/channel"},{"$ref":"#/components/parameters/modified_date"}],"responses":{"200":{"description":"A list of pos entries.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pos"}}}}}}}}}}
```

## POST /api/v1/pos/

> Create a new pos object

```json
{"openapi":"3.0.3","info":{"title":"Omnitron API","version":"1.0.0"},"security":[{"Token":[]}],"components":{"securitySchemes":{"Token":{"type":"apiKey","in":"header","name":"Authorization"}},"schemas":{"Pos":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the POS (Point of Sale) system."},"channel":{"$ref":"#/components/schemas/Channel","description":"Reference to the channel associated with the POS system."},"name":{"type":"string","maxLength":64,"description":"Name of the POS system."},"slug":{"type":"string","maxLength":64,"description":"Unique slug used to identify the POS system."},"gateway":{"type":"string","maxLength":128,"enum":["garanti","nestpay","cmi","posnet","payu","mastercard","masterpass","bex","hyperpay","payu_poland","payu_romania","payu_ro","fastpay","maximumpay","liqpay","gpay","easypay","mobilexpress","mobilexpress_credit_card","iyzico","iyzico_bkm","finansbank","denizbank","yandex_money","paypal","alpha","dummypay","ykb_credit","compay","compay_credit","param","garanti_switch","pay_with_iyzico","tompay","iyzico_funds_transfer","paycell","posas_giftcard","multisafepay","garanti_credit","multisafepay_direct","ozan","netopia","teqpay","payu_pl","stripe","bulut","fiba_credit","mobilexpress_hosted","paymob","tompay_credit","paytr","payzee","mobilexpress_v8_cc","ykb_worldpay","extension","vakifbank","bulut_direct","eren_card","craftgate","iyzico_saved_card","checkout","checkout_apple_pay","zip_credit","mobilexpress_wire_transfer","payu_ro_paybyclick","payu_ro_saved_card","paybyme","sipay","paywall","dummy_psp","tap","qpay_tap","tap_saved_card","akbank","hepsipay","qnb_pay"],"description":"Payment gateway associated with the POS system. This field represents an enumerated value."},"resource_url":{"type":"string","format":"uri","description":"URL of the POS resource."},"three_d_resource_url":{"type":"string","format":"uri","nullable":true,"description":"Optional URL for 3D secure payments via the POS system."},"config":{"type":"object","additionalProperties":{"type":"string"},"description":"JSON configuration for the POS system settings."},"created_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was created."},"modified_date":{"type":"string","format":"date-time","description":"Timestamp when the POS system was last modified."}},"required":["name","slug","gateway","resource_url","channel"],"description":"The Pos model represents a Point of Sale system used for processing payments. It includes details such as the name, slug, payment gateway, resource URLs, and configuration settings. It is associated with a specific channel and can be integrated with external systems via the integration field."},"Channel":{"type":"object","required":["name","catalog","channel_type","conf","is_active"],"properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":255},"catalog":{"type":"integer"},"channel_type":{"type":"string","description":"The type of channel. ex: web, distributed, hepsiburada, etc.","enum":["hepsiburada","hepsiburadads","gittigidiyor","n11","web","feed","trendyol","morhipo","morhipoV2","lidyana","amazon","allegro","distributed","aliexpress","emag","ciceksepeti","gordumaldim","pazarama","flo","turkcellds","sales_channel"]},"conf":{"type":"object","description":"A JSON object containing configuration settings for the channel.","additionalProperties":{"type":"string"}},"category_tree":{"type":"string","nullable":true,"description":"The category tree related to this channel."},"is_active":{"type":"boolean","description":"Specifies whether the channel is active.","default":true},"schema":{"type":"object","description":"Additional schema information for the channel.","nullable":true},"created_date":{"type":"string","format":"date-time","readOnly":true},"modified_date":{"type":"string","format":"date-time"}}}},"responses":{"400":{"description":"Required field(s) are missing, data is invalid, or the action is not allowed.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"field":{"oneOf":[{"type":"array","description":"Indicates that no value was provided for the {field} field in the request.","items":{"type":"string"}},{"type":"array","description":"Indicates usage of a non-existent object for {field} in the request.","items":{"type":"string"}}]},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"non_field_errors":{"description":"Indicates invalid data or action usage in the request.","type":"array","items":{"type":"string"}},"code":{"type":"string","description":"Represents the server-side error code."}}},{"type":"object","properties":{"detail":{"description":"Provides a detailed message for the given error.","type":"string"},"code":{"type":"string","description":"Represents the server-side error code."}}}]}}}}}},"paths":{"/api/v1/pos/":{"post":{"summary":"Create a new pos object","tags":["Pos"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pos"}}}},"responses":{"201":{"description":"The pos was successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pos"}}}},"400":{"$ref":"#/components/responses/400"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.akinon.com/omnitron-openapis/pos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
