/** * @type OmsCancelOrderRequest: Document representing a request to cancel an order that is integrated with Order Management (OMS). The cancellation always applies to the entire order; partial cancellations are not supported. * * @property reason: The reason for cancelling the order. The value must match one of the `cancelReasonCodes` configured in OMS and returned by the `getOmsMetaData` endpoint. When omitted, the default reason code configured in OMS is applied by the server. * - **Max Length:** 256 * * @property orderAccessCode: A time-limited access code that serves as an alternative access grant for guest shoppers who have lost their original session. The code is generated by calling the `requestOrderAccessCode` endpoint, which delivers it via email to the address on the order. The shopper provides this code to authorize the request. The code is valid for 15 minutes after generation. * - **Pattern:** /^\\d{6}$/ * - **Max Length:** 6 * */ export type OmsCancelOrderRequest = { reason?: string; orderAccessCode?: string; } & { [key: string]: any; };