ListProductVariantConditionals

RazorCart > Integration > REST API
Usage
Lists a product variant conditional groups
Basic URI
/DesktopModules/RazorCart/Services/v1/Products/{id}/Variants/{id}/Conditionals?top={top}&skip={skip}&orderby={orderby}
Parameters
int id                 The product Id
int id                 The variant 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/8/Conditionals?top=50&skip=0&orderby=id HTTP/1.1
Authorization: Bearer {access_token}
Content-Type: application/json
 
Response
[
  {
    "ID": 2,
    "VariantGroupID": 6,
    "VariantGroup": "Grid",
    "VariantID": 8,
    "VariantName": "Check 2",
    "VariantDisplayType": "CheckBox"
  },
  {
    "ID": 3,
    "VariantGroupID": 7,
    "VariantGroup": "Icons",
    "VariantID": 8,
    "VariantName": "Check 2",
    "VariantDisplayType": "CheckBox"
  },
  {
    "ID": 1,
    "VariantGroupID": 8,
    "VariantGroup": "File Upload",
    "VariantID": 8,
    "VariantName": "Check 2",
    "VariantDisplayType": "CheckBox"
  }
]