Download OpenAPI specification:Download
OpenAPI specification for Repzo Variant endpoints.
{- "data": [
- {
- "_id": "string",
- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}
], - "total_result": 0,
- "current_count": 0,
- "total_pages": 0,
- "current_page": 0,
- "per_page": 0,
- "first_page_url": "string",
- "last_page_url": "string",
- "next_page_url": "string",
- "prev_page_url": "string",
- "path": "string"
}| name required | string Name of the variant |
| product required | string ID of the product this variant belongs to |
| price required | number Price of the variant |
| company_namespace | Array of strings Company namespaces |
| disabled | boolean Whether the variant is disabled |
| uuid | string UUID for the variant |
| local_name | string Localized name of the variant |
| sku | string Stock keeping unit |
| barcode | string Barcode of the variant |
| weight | number Weight of the variant |
| length | number Length of the variant |
| width | number Width of the variant |
| height | number Height of the variant |
| position | number Position of the variant |
| default | boolean Whether this is the default variant |
| variant_img | string Image URL for the variant |
| modifiers_groups | Array of strings Modifier groups for the variant |
object Integration metadata |
{- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { }
}{- "$ref": null
}{- "_id": "string",
- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}| id required | string |
| name | string Name of the variant |
| product | string ID of the product this variant belongs to |
| price | number Price of the variant |
| company_namespace | Array of strings Company namespaces |
| disabled | boolean Whether the variant is disabled |
| uuid | string UUID for the variant |
| local_name | string Localized name of the variant |
| sku | string Stock keeping unit |
| barcode | string Barcode of the variant |
| weight | number Weight of the variant |
| length | number Length of the variant |
| width | number Width of the variant |
| height | number Height of the variant |
| position | number Position of the variant |
| default | boolean Whether this is the default variant |
| variant_img | string Image URL for the variant |
| modifiers_groups | Array of strings Modifier groups for the variant |
object Integration metadata | |
| _id | string Unique identifier for the variant |
| createdAt | string <date-time> Creation timestamp |
| updatedAt | string <date-time> Last update timestamp |
| __v | number Version number |
{- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { },
- "_id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}{- "_id": "string",
- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}{- "_id": "string",
- "name": "string",
- "product": "string",
- "price": 0,
- "company_namespace": [
- "string"
], - "disabled": true,
- "uuid": "string",
- "local_name": "string",
- "sku": "string",
- "barcode": "string",
- "weight": 0,
- "length": 0,
- "width": 0,
- "height": 0,
- "position": 0,
- "default": true,
- "variant_img": "string",
- "modifiers_groups": [
- "string"
], - "integration_meta": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "__v": 0
}