# ProductDto

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Size UOM Enum:
      type: string
      enum:
        - CM
        - FT
        - IN
      x-apidog:
        enumDescriptions:
          CM: ' Centimeter'
          FT: Feet
          IN: Inches
      x-apidog-folder: ''
    Weight UOM Enum:
      type: string
      enum:
        - LBS
        - KG
      x-apidog:
        enumDescriptions:
          LBS: Pounds
          KG: Kilogram
      x-apidog-folder: ''
    FreightClassEnum:
      type: number
      enum:
        - 0
        - 50
        - 55
        - 60
        - 65
        - 70
        - 77.5
        - 85
        - 92.5
        - 100
        - 110
        - 125
        - 150
        - 175
        - 200
        - 250
        - 300
        - 400
        - 500
      x-apidog:
        enumDescriptions:
          '0': Unspecified
          '50': ''
          '55': ''
          '60': ''
          '65': ''
          '70': ''
          '85': ''
          '100': ''
          '110': ''
          '125': ''
          '150': ''
          '175': ''
          '200': ''
          '250': ''
          '300': ''
          '400': ''
          '500': ''
          '77.5': ''
          '92.5': ''
      format: float
      x-apidog-folder: ''
    PackageTypesEnum:
      type: string
      enum:
        - ACC
        - ATT
        - BAGS
        - BALE
        - BRRL
        - BASK
        - BIN
        - BOXS
        - BUCK
        - BHDS
        - BNDL
        - CARB
        - CRTN
        - CASE
        - CHST
        - COIL
        - CTN
        - CRTS
        - CYLS
        - DRUM
        - EACH
        - ENVLP
        - FEET
        - FIRK
        - GYLD
        - KEGS
        - LOOS
        - OCTA
        - PACK
        - PAIL
        - PLTS
        - PIEC
        - PCJC
        - RACK
        - REEL
        - ROLL
        - SKID
        - SLIP
        - SPRS
        - TOTE
        - TRLR
        - TRYS
        - TRCK
        - TRNK
        - TUBE
        - TUBS
        - UNITS
        - UNPK
        - VHCL
      x-apidog:
        enumDescriptions:
          ACC: Accessories
          ATT: Attachments
          BAGS: Bags
          BALE: Bales
          BRRL: Barrels
          BASK: Baskets
          BIN: Bins
          BOXS: Boxes
          BUCK: Buckets
          BHDS: Bulkheads
          BNDL: Bundles
          CARB: Carboys
          CRTN: Cartons
          CASE: Cases
          CHST: Chests
          COIL: Coils
          CTN: Container
          CRTS: Crates
          CYLS: Cylinders
          DRUM: Drums
          EACH: Each
          ENVLP: Envelopes
          FEET: Feet
          FIRK: Firkins
          GYLD: Gaylords
          KEGS: Kegs
          LOOS: Loose
          OCTA: Octabin
          PACK: Packages
          PAIL: Pails
          PLTS: Pallets
          PIEC: Pieces
          PCJC: Plastic Jerricans
          RACK: Racks
          REEL: Reels
          ROLL: Rolls
          SKID: Skids
          SLIP: Slip Sheets
          SPRS: Super Sack
          TOTE: Totes
          TRLR: Trailers
          TRYS: Trays
          TRCK: Truckload
          TRNK: Trunks
          TUBE: Tubes
          TUBS: Tubs
          UNITS: Units
          UNPK: Unpackaged
          VHCL: Vehicles
      x-apidog-folder: ''
    ProductDto:
      required:
        - class
        - packageType
        - quantity
        - weight
      type: object
      properties:
        packageType:
          description: Product package type.
          $ref: '#/components/schemas/PackageTypesEnum'
        quantity:
          minimum: 0
          exclusiveMinimum: true
          type: integer
          description: Product quantity
          format: int32
        class:
          description: Product freight class
          $ref: '#/components/schemas/FreightClassEnum'
        weight:
          minimum: 0
          exclusiveMinimum: true
          type: number
          description: Product weight
          format: double
        weightUnitOfMeasurement:
          description: The weight unit of measurement.  Defaults to `LBS`
          $ref: '#/components/schemas/Weight%20UOM%20Enum'
        dimensions:
          $ref: '#/components/schemas/DimensionsDto'
          description: Product dimensions
        nmfc:
          type: string
          description: Product national motor freight classification
          maxLength: 50
        description:
          type: string
          description: Product description
          maxLength: 1000
        sku:
          type: string
          description: Product stock keeping unit
          maxLength: 500
        referenceNumber:
          type: string
          description: The product reference number.
          maxLength: 250
        hazmatDetails:
          $ref: '#/components/schemas/HazmatDetailsDto'
          description: Details for if the Product is a hazardous material
        internationalDetails:
          $ref: '#/components/schemas/InternationalDetailDto'
          description: Additional info for international product shipments
        isHazmat:
          type: boolean
          description: >-
            Indicates whether this instance is hazmat. This field is
            automatically set.
          readOnly: true
      additionalProperties: false
      description: Class ProductDto.
      x-apidog-orders:
        - packageType
        - quantity
        - class
        - weight
        - weightUnitOfMeasurement
        - dimensions
        - nmfc
        - description
        - sku
        - referenceNumber
        - hazmatDetails
        - isHazmat
        - internationalDetails
      x-apidog-folder: ''
    InternationalDetailDto:
      type: object
      properties:
        harmonizedSystemCode:
          type: string
          description: Harmonized System Code
          maxLength: 50
          nullable: true
        systemBCode:
          type: string
          description: Schedule B Code
          maxLength: 50
          nullable: true
        eccn:
          type: string
          description: ECCN
          maxLength: 5
          nullable: true
      additionalProperties: false
      x-apidog-orders:
        - harmonizedSystemCode
        - systemBCode
        - eccn
      x-apidog-folder: ''
    HazmatDetailsDto:
      required:
        - class
        - contactMethods
        - unNumber
      type: object
      properties:
        name:
          maxLength: 50
          type: string
          description: The contact name for the particular hazmat product.
          nullable: true
        contactMethods:
          $ref: '#/components/schemas/ContactMethodsDto'
          description: The contact methods for the particular hazmat product.
        isPoison:
          type: boolean
          description: Flag hazardous product as a poison.
        unNumber:
          maxLength: 20
          minLength: 1
          type: string
          description: >-
            United Nations standardized four digit number to identify the
            dangerous goods or hazardous substances.
        shippingName:
          maxLength: 1000
          type: string
          description: Proper Hazmat Shipping Name for the product.
          nullable: true
        class:
          maxLength: 20
          minLength: 1
          type: string
          description: DOT provided classification for the particular hazmat product.
        packageGroup:
          maxLength: 50
          type: string
          description: >-
            The grouping required according to the degree of danger presented by
            the hazardous material. Based on class.
          nullable: true
      additionalProperties: false
      description: The object that contains HazMat details about a specific product.
      x-apidog-orders:
        - name
        - contactMethods
        - isPoison
        - unNumber
        - shippingName
        - class
        - packageGroup
      x-apidog-folder: ''
    DimensionsDto:
      type: object
      properties:
        unitOfMeasurement:
          description: |-
            The unit of measurement for the provided dimensions.
            Required if dimensions are provided.
          $ref: '#/components/schemas/Size%20UOM%20Enum'
        length:
          minimum: 0
          type: number
          description: The length of the shipment or product.
          format: double
        width:
          minimum: 0
          type: number
          description: The width of the shipment or product.
          format: double
        height:
          minimum: 0
          type: number
          description: The height of the shipment or product.
          format: double
      additionalProperties: false
      description: Class DimensionsDto.
      x-apidog-orders:
        - unitOfMeasurement
        - length
        - width
        - height
      x-apidog-folder: ''
    ContactMethodsDto:
      type: object
      properties:
        phoneNumber:
          type: string
          description: Phone number for contact
          maxLength: 50
          nullable: true
        extension:
          type: string
          description: Phone extension for contact
          maxLength: 10
          nullable: true
        faxNumber:
          type: string
          description: Fax number for contact
          maxLength: 28
          nullable: true
        email:
          type: string
          description: Email for contact
          maxLength: 128
          nullable: true
      additionalProperties: false
      description: Class ContactMethodsDto.
      x-apidog-orders:
        - phoneNumber
        - extension
        - faxNumber
        - email
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
