Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.36 KB

create-vendor-request.md

File metadata and controls

37 lines (28 loc) · 1.36 KB

Create Vendor Request

Represents an input to a call to CreateVendor.

Structure

CreateVendorRequest

Fields

Name Type Tags Description Getter Setter
idempotencyKey string Required A client-supplied, universally unique identifier (UUID) to make this CreateVendor call idempotent.

See Idempotency in the
API Development 101 section for more
information.
Constraints: Minimum Length: 1, Maximum Length: 128
getIdempotencyKey(): string setIdempotencyKey(string idempotencyKey): void
vendor ?Vendor Optional Represents a supplier to a seller. getVendor(): ?Vendor setVendor(?Vendor vendor): void

Example (as JSON)

{
  "idempotency_key": "idempotency_key6",
  "vendor": {
    "id": "id6",
    "created_at": "created_at4",
    "updated_at": "updated_at2",
    "name": "name6",
    "address": {
      "address_line_1": "address_line_16",
      "address_line_2": "address_line_26",
      "address_line_3": "address_line_32",
      "locality": "locality6",
      "sublocality": "sublocality6"
    }
  }
}