Get Product Variants

The following is an API endpoint to get information about our Product Variants.

Used to get information of our product variants.

Headers

  • Name
    Authorization
    Type
    uuid
    Description

    API Key (provided by BANGJEFF or retrieve from our Reseller Portal).

  • Name
    Content-Type
    Type
    application/json
    Description

    Content type application/json

Body

  • Name
    code
    Type
    string
    Description

    Please refer to Get Products or fill with empty string to receive all Product Variants

{
  "code": "string"
}

Request

Example

POST
/api/v3/variant
curl -X POST "https://sandbox-api.bangjeff.com/api/v3/variant" \
  -H "Authorization: {{api_key}}" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "string"
  }'

Response

Example

{
  "error": false,
  "code": 200,
  "message": "string",
  "data": [
    {
      "id": 0,
      "code": "string",
      "name": "string",
      "isActive": false,
      "price": 0,
      "processDuration": 0
    }
  ]
}