Represents an output from a call to CreateVendor.
CreateVendorResponse
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
errors |
?(Error[]) |
Optional | Errors encountered when the request fails. | getErrors(): ?array | setErrors(?array errors): void |
vendor |
?Vendor |
Optional | Represents a supplier to a seller. | getVendor(): ?Vendor | setVendor(?Vendor vendor): void |
{
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
},
{
"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"
}
}
}