PartnerSalesBatchRequestOptions Model

Request model for submitting a batch of PartnerSalesTransaction records for a Trading Date or Z Report.

allowPartialBatchSubmission : bool

Defines whether the entire batch should be rolled back in the event of a failure with one or more of the provided PartnerSalesTransaction records.
Value: True - All valid PartnerSalesTransactions in the reuqest will be stored, invalid records will not be stored. Response will indicate success or failure for each record.
Value: False - No records will be stored on the server if any of the PartnerSalesTransaction records are considered invalid. Response will indicate failure for entire batch.
Default: False, it is recommended (but not required) to use a value of True and handle partial responses appropriately.

autoFinalisePreviousTradingDays : bool

Defines whether any unfinalised Z Reports from previous trading days should be automatically finalised when this batch completes.
Value: True - All unfinalised Z Reports from previous trading days for this integration will be finalised automatically. It is important that sales are submitted in ascending trading day order if using this setting.
Value: False - No previous Z Reports for this integration will be finalised automatically.
Default: False

Example
{
  "allowPartialBatchSubmission": true,
  "autoFinalisePreviousTradingDays": true
}