import type * as Square from "../index"; /** * Represents an [UpsertMerchantCustomAttribute](api-endpoint:MerchantCustomAttributes-UpsertMerchantCustomAttribute) response. * Either `custom_attribute_definition` or `errors` is present in the response. */ export interface UpsertMerchantCustomAttributeResponse { /** The new or updated custom attribute. */ customAttribute?: Square.CustomAttribute; /** Any errors that occurred during the request. */ errors?: Square.Error_[]; }