# Variant Operations related to variant, including create, get, etc ## Add Variant By Product Code - [POST /Variant/Add](https://developer.dealpos.com/openapi/openapi/variant/post-variant-add.md) ## Update Variant by Code - [PUT /Variant](https://developer.dealpos.com/openapi/openapi/variant/putvariant.md): Update Variant By variant code You must have "EDIT" role in "Products" Module ## Delete a Variant - [DELETE /Variant](https://developer.dealpos.com/openapi/openapi/variant/deletevariant.md): Delete Variant By variant code You must have "DELETE" role in "Products" Module ## List Variants - [GET /Variant](https://developer.dealpos.com/openapi/openapi/variant/getvariant.md): >Also available as HTTP POST with the same endpoint Get List of Variant existing Required Group Role: "Products" - "VIEW" ## List Variant Data - [GET /Variant/Data](https://developer.dealpos.com/openapi/openapi/variant/getvariantdata.md): >Also available as HTTP POST with the same endpoint Get List of Variant Data Required Group Role: "Products" - "VIEW" ## Variants Count - [GET /Variant/Count](https://developer.dealpos.com/openapi/openapi/variant/getvariantcount.md): >Also available as HTTP POST with the same endpoint Count total Variant Required Group Role: "Products" - "VIEW" ## Get a Variant By Code - [GET /Variant/Code](https://developer.dealpos.com/openapi/openapi/variant/getvariantbycode.md): Get Variant info by code. This API does not return the OnHand inventory , to retreive the inventory please use this API Get Inventory By Code Required Group Role: "Products" - "VIEW" ## Get a Variant By ID - [GET /Variant/ID](https://developer.dealpos.com/openapi/openapi/variant/getvariantbyid.md): > This endpoint is coming soon >Also available as HTTP POST with the same endpoint Get Variant info by Code Required Group Role: "Products" - "VIEW" ## Get Variant Code By List ID - [GET /Variant/ListID](https://developer.dealpos.com/openapi/openapi/variant/getvariantlistid.md): Get Variant List ID by Outlet ## Get Variant By List Code - [GET /Variant/GetByListCode](https://developer.dealpos.com/openapi/openapi/variant/getvariantbylistcode.md): Get List Variant By List Code >Also available as [HTTP POST](https://pos.docs.stoplight.io/FAQ#1-my-httpclient-library-does-not-support-http-get-with-request-body-what-should-i-do) (endpoint: /api/v3/Variant/GetByListCode)