ListProductVariants

Usage
Lists a product variants
Basic URI
/DesktopModules/RazorCart/Services/v1/Products/{id}/Variants?top={top}&skip={skip}&orderby={orderby}
Parameters
int id                 The order Id
int top               The maximum number of rows to return
int skip              The start row index
string orderby    A sort expression
AUTH
Bearer JWT
Required Scope(s)
products
 
Request
GET https://domain.com/DesktopModules/RazorCart/Services/v1/Products/2/Variants?top=50&skip=0&orderby=sort_order HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "VariantID": 1,
    "ProductID": 2,
    "VariantGroup": "Color",
    "VariantName": "Black",
    "VariantImage": null,
    "PriceAdjustment": 15,
    "WeightAdjustment": 0,
    "SortOrder": 1,
    "PortalId": 0,
    "VariantRequired": false,
    "VariantDisplayType": "DropdownList",
    "VariantGroupID": 1,
    "Sku": "",
    "QtyOnHand": 0,
    "ConditionalGroupID": 0,
    "VariantZoomImage": "",
    "VariantIconImage": "",
    "DropDownImageOption": "NoCustomImageOptions",
    "IconImageOption": "NoCustomImageOptions",
    "RenderTextInImage": false,
    "LifecycleStatus": "Sale",
    "EnablePriceAdjustment": true,
    "SalePrice": 8,
    "Notes": "",
    "FeaturedVariant": false,
    "TaxableAmount": 0,
    "PriceType": "AbsolutePrice",
    "VariantDesc": ""
  },
  {
    "VariantID": 2,
    "ProductID": 2,
    "VariantGroup": "Color",
    "VariantName": "White",
    "VariantImage": null,
    "PriceAdjustment": 20,
    "WeightAdjustment": 0,
    "SortOrder": 2,
    "PortalId": 0,
    "VariantRequired": true,
    "VariantDisplayType": "DropdownList",
    "VariantGroupID": 1,
    "Sku": "",
    "QtyOnHand": 0,
    "ConditionalGroupID": 0,
    "VariantZoomImage": "",
    "VariantIconImage": "",
    "DropDownImageOption": "NoCustomImageOptions",
    "IconImageOption": "NoCustomImageOptions",
    "RenderTextInImage": false,
    "LifecycleStatus": "Sale",
    "EnablePriceAdjustment": true,
    "SalePrice": 12,
    "Notes": "",
    "FeaturedVariant": false,
    "TaxableAmount": 0,
    "PriceType": "AbsolutePrice",
    "VariantDesc": ""
  },
  {
    "VariantID": 4,
    "ProductID": 2,
    "VariantGroup": "Size",
    "VariantName": "Small",
    "VariantImage": null,
    "PriceAdjustment": 2,
    "WeightAdjustment": 0,
    "SortOrder": 3,
    "PortalId": 0,
    "VariantRequired": false,
    "VariantDisplayType": "RadioButtons",
    "VariantGroupID": 2,
    "Sku": "",
    "QtyOnHand": 0,
    "ConditionalGroupID": 0,
    "VariantZoomImage": "",
    "VariantIconImage": "",
    "DropDownImageOption": "Horizontal",
    "IconImageOption": "1",
    "RenderTextInImage": false,
    "LifecycleStatus": "Normal",
    "EnablePriceAdjustment": true,
    "SalePrice": 0,
    "Notes": "",
    "FeaturedVariant": false,
    "TaxableAmount": 0,
    "PriceType": "PriceAdjust",
    "VariantDesc": ""
  },
  {
    "VariantID": 5,
    "ProductID": 2,
    "VariantGroup": "Size",
    "VariantName": "Large",
    "VariantImage": null,
    "PriceAdjustment": 3,
    "WeightAdjustment": 0.5,
    "SortOrder": 4,
    "PortalId": 0,
    "VariantRequired": true,
    "VariantDisplayType": "RadioButtons",
    "VariantGroupID": 2,
    "Sku": "",
    "QtyOnHand": 0,
    "ConditionalGroupID": 0,
    "VariantZoomImage": "",
    "VariantIconImage": "",
    "DropDownImageOption": "Horizontal",
    "IconImageOption": "1",
    "RenderTextInImage": false,
    "LifecycleStatus": "Normal",
    "EnablePriceAdjustment": true,
    "SalePrice": 0,
    "Notes": "",
    "FeaturedVariant": false,
    "TaxableAmount": 0,
    "PriceType": "PriceAdjust",
    "VariantDesc": ""
  },
  {
    "VariantID": 10,
    "ProductID": 2,
    "VariantGroup": "Custom Notes",
    "VariantName": "Custom Note Txt 1",
    "VariantImage": null,
    "PriceAdjustment": 0,
    "WeightAdjustment": 0,
    "SortOrder": 5,
    "PortalId": 0,
    "VariantRequired": true,
    "VariantDisplayType": "MultiLineTextBox",
    "VariantGroupID": 5,
    "Sku": "",
    "QtyOnHand": 0,
    "ConditionalGroupID": 0,
    "VariantZoomImage": "",
    "VariantIconImage": "",
    "DropDownImageOption": "NoCustomImageOptions",
    "IconImageOption": "NoCustomImageOptions",
    "RenderTextInImage": false,
    "LifecycleStatus": "Normal",
    "EnablePriceAdjustment": false,
    "SalePrice": 0,
    "Notes": "",
    "FeaturedVariant": false,
    "TaxableAmount": 0,
    "PriceType": "NoPriceAdjust",
    "VariantDesc": ""
  }
]

Add Feedback