import type * as Square from "../index"; /** * Represents one upsert within the bulk operation. */ export interface BulkUpsertOrderCustomAttributesRequestUpsertCustomAttribute { /** * The custom attribute to create or update, with the following fields: * * - `value`. This value must conform to the `schema` specified by the definition. * For more information, see [Value data types](https://developer.squareup.com/docs/customer-custom-attributes-api/custom-attributes#value-data-types). * * - `version`. To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) * control, include this optional field and specify the current version of the custom attribute. */ customAttribute: Square.CustomAttribute; /** * A unique identifier for this request, used to ensure idempotency. * For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). */ idempotencyKey?: string | null; /** The ID of the target [order](entity:Order). */ orderId: string; }