Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.09 KB

update-vendor-request.md

File metadata and controls

30 lines (21 loc) · 1.09 KB

Update Vendor Request

Represents an input to a call to UpdateVendor.

Structure

UpdateVendorRequest

Fields

Name Type Tags Description Getter Setter
idempotencyKey ?string Optional A client-supplied, universally unique identifier (UUID) for the
request.

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

Example (as JSON)

{
  "idempotency_key": "8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe",
  "vendor": {
    "id": "INV_V_JDKYHBWT1D4F8MFH63DBMEN8Y4",
    "name": "Jack's Chicken Shack",
    "status": "ACTIVE",
    "version": 1
  }
}