# Consignee

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Consignee:
      type: object
      properties:
        ContactInfo:
          $ref: '#/components/schemas/ContactInfo'
          description: Consignee contact information
        AddressInfo:
          $ref: '#/components/schemas/AddressInfo'
          description: Consignee address information
        CompanyName:
          type: string
          description: Consignee company name
        Note:
          type: string
          description: Consignee note
        CompanyID:
          type: string
          description: Consignee company identifier
        LocationName:
          type: string
          description: Consignee location name
        VendorID:
          type: string
          description: >-
            Consignee vendor identifier - Used to map to an existing vendor in
            Banyan
        DCRefNum:
          type: string
          description: >-
            Consignee distribution center identifier - Used to map to an
            existing distribution center in Banyan
        Dock:
          $ref: '#/components/schemas/Dock'
          description: Consignee dock information
      required:
        - ContactInfo
        - AddressInfo
        - Dock
        - LocationName
      x-apidog-orders:
        - ContactInfo
        - AddressInfo
        - LocationName
        - CompanyName
        - Note
        - CompanyID
        - VendorID
        - DCRefNum
        - Dock
      x-apidog-folder: ''
    Dock:
      type: object
      properties:
        Name:
          type: string
          description: The name of the dock
        Note:
          type: string
          description: A note in regards of the dock.
          maxLength: 1000
        OpenTime:
          type: string
          description: >-
            The time the dock opens, must be the same date of the scheduled
            pickup/delivery.
        ShipmentDateTime:
          type: string
          description: "The date & time of the scheduled pickup or delivery.\t"
        CloseTime:
          type: string
          description: >-
            The time the dock closes, must be the same date of the scheduled
            pickup/delivery.
        ConfirmationNumber:
          type: string
          description: "The pickup/delivery confirmation number.\t"
        FCFS:
          type: boolean
          description: First come, first serve
      x-apidog-orders:
        - Name
        - Note
        - OpenTime
        - ShipmentDateTime
        - CloseTime
        - ConfirmationNumber
        - FCFS
      x-apidog-folder: ''
    ContactInfo:
      type: object
      properties:
        FirstName:
          type: string
          description: First Name
          faker: name.firstName
          nullable: true
        LastName:
          type: string
          description: "Last Name\t"
          faker: name.lastName
          nullable: true
        ContactName:
          type: string
          description: "Contact Name\t"
          faker: name.fullName
          nullable: true
        Phone:
          type: string
          description: "Phone\t"
          faker: phone.number
          nullable: true
        PhoneExt:
          type: string
          description: "Phone Extension\t"
          faker: ext. 123
          nullable: true
        Fax:
          type: string
          description: "Fax Number\t"
          faker: phone.number
          nullable: true
        Email:
          type: string
          description: Email
          faker: internet.exampleEmail
          nullable: true
      x-apidog-orders:
        - FirstName
        - LastName
        - ContactName
        - Phone
        - PhoneExt
        - Fax
        - Email
      x-apidog-folder: ''
    AddressInfo:
      type: object
      properties:
        Address1:
          type: string
          faker: address.streetAddress
          description: Address 1
        Address2:
          type: string
          description: Address 2
          nullable: true
        City:
          type: string
          description: City
          faker: address.city
          nullable: true
        CountryName:
          type: string
          description: "Country Name\t"
          faker: address.country
          nullable: true
        CountryCode:
          type: string
          description: Country Code
          faker: address.countryCode
        State:
          type: string
          description: State
          faker: address.stateAbbr
        Zipcode:
          type: string
          description: Zipcode
          faker: address.zipCode
        LocationName:
          type: string
          description: "Location Name\t"
          faker: company.name
      required:
        - Address1
        - CountryCode
        - State
        - Zipcode
        - LocationName
        - City
      x-apidog-orders:
        - Address1
        - Address2
        - City
        - CountryName
        - CountryCode
        - State
        - Zipcode
        - LocationName
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
