import type * as Square from "../../../../index"; /** * @example * { * idempotencyKey: "8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe", * vendor: { * name: "Joe's Fresh Seafood", * address: { * addressLine1: "505 Electric Ave", * addressLine2: "Suite 600", * locality: "New York", * administrativeDistrictLevel1: "NY", * postalCode: "10003", * country: "US" * }, * contacts: [{ * name: "Joe Burrow", * emailAddress: "joe@joesfreshseafood.com", * phoneNumber: "1-212-555-4250", * ordinal: 1 * }], * accountNumber: "4025391", * note: "a vendor" * } * } */ export interface CreateVendorRequest { /** * A client-supplied, universally unique identifier (UUID) to make this [CreateVendor](api-endpoint:Vendors-CreateVendor) call idempotent. * * See [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency) in the * [API Development 101](https://developer.squareup.com/docs/buildbasics) section for more * information. */ idempotencyKey: string; /** The requested [Vendor](entity:Vendor) to be created. */ vendor?: Square.Vendor; }