ADO.NET Provider for Shopify

Build 26.0.9655

DiscountRedeemCodeBulkAdd

Asynchronously adds discount codes in bulk to a code discount. Maximum: 250 codes per call.

Procedure-Specific Information

The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.

  • Codes references the DiscountRedeemCodeBulkAddCodeInputs temporary table.

DiscountRedeemCodeBulkAddCodeInputs Temporary Table Columns

Column NameTypeDescription
CodeStringThe code to use the discount.

Input

Name Type Required Description
DiscountId String True The ID of the DiscountCodeNode object receiving the codes.
Codes String True The list of codes to associate with the code discount.
WaitJob String False The Stored Procedure will wait until the Job is done.

The default value is true.

Result Set Columns

Name Type Description
Success Boolean Indicates whether or not the operation executed successfully.
Details String Any extra details on the operation's execution.
JobId String The ID of the bulk operation that creates the discount codes.
Status String The status of the Job.
CodesCount Int The total number of codes to be created.
ImportedCount Int The number of codes successfully created.
FailedCount Int The number of codes that failed to be created.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655