---
title: "ProductBarcode"
url: "https://developer.retailexpress.com.au/apis/retail-express-api-21-v2/versions/d3750347-3c58-45e9-b3b1-b23a00e713ed/schemas/ProductBarcode"
---

> Full API specification: https://developer.retailexpress.com.au/apis/retail-express-api-21-v2/versions/d3750347-3c58-45e9-b3b1-b23a00e713ed.md

# ProductBarcode

Product Barcode model

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Retail Express API
  version: V2
servers:
  - url: https://api.retailexpress.com.au/v2
components:
  schemas:
    ProductBarcode:
      title: ""
      required:
        - barcode
      type: object
      properties:
        id:
          type: integer
          description: Product Barcode id.
          format: int32
          nullable: true
        barcode:
          maxLength: 50
          minLength: 0
          pattern: ^[A-Za-z\d/-]*$
          type: string
          description: Product Barcode name.
        enabled:
          type: boolean
          description: Product Barcode enabled.
        product_id:
          type: integer
          description: Product id
          format: int32
        created_on:
          type: string
          description: Date of creation of Product Barcode
          format: date-time
        modified_on:
          type: string
          description: Date of last modification of Product Barcode
          format: date-time
      additionalProperties: false
      description: Product Barcode model
```
