Bulk Assign Donation to Product Variants

Creates a new Donation and assigns it to the specified Group of Product Variants. Also clears any Group
donation overrides in place on the Variants (but not their parent Products).

Query Params
ids
array of int64s
required

List of Product IDs (as they appears in our system).

ids*
Body Params
int32
enum
required
Allowed:
double
required

Value of donation relative to the DonationType (ex: type=0 (percent) + amount=3 = 3% of order value)

causes
array of strings | null

(OPTIONAL) List of nonprofit EINs that will receive donations from the entity when purchased.
Can be up to 6 nonprofits, or a single portfolio.

causes
boolean

Determines if this Donation should be excluded from all entity donation calculations.

date-time | null

(OPTIONAL) Datetime stamp to start offering this Donation on the entity. Only viable when Donation is
NOT excluded.

date-time | null

(OPTIONAL) Datetime stamp to stop offering this Donation on the entity. Only viable when Donation is
NOT excluded.

Headers
string
required

Your store ID (we will provide this).

Responses
200

Success

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json