FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: retrieve-vendor-response.md
# Retrieve Vendor Response Represents an output from a call to [RetrieveVendor](../../doc/apis/vendors.md#retrieve-vendor). ## Structure `RetrieveVendorResponse` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `errors` | [`?(Error[])`](../../doc/models/error.md) | Optional | Errors encountered when the request fails. | getErrors(): ?array | setErrors(?array errors): void | | `vendor` | [`?Vendor`](../../doc/models/vendor.md) | Optional | Represents a supplier to a seller. | getVendor(): ?Vendor | setVendor(?Vendor vendor): void | ## Example (as JSON) ```json { "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", "code": "MAP_KEY_LENGTH_TOO_LONG", "detail": "detail6", "field": "field4" } ], "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" } } } ```
Save
Back