POST/v1/items/bulk-repair

Repair several items with the same patch

Applies one patch to up to 500 items (ITEM-004 bulk edit); the result lists each item with its new status or the error code.

Scope items.write

Body

itemIdsarray of stringrequiredmin items 1max items 500
patchobjectrequired
5 fields
recipientobject
6 fields
namestringmax length 200
addressLine1stringmax length 200
addressLine2string or null
postalCodestringmax length 20
citystringmax length 120
countrystringmax length 40
variablesobject
sendDatedate or null
externalIdstring or null
metadataobject or null

Returns

2 fields of the 200 answer
resultsarray of objectsrequired
4 fields
idstringrequired
statusenum or nullrequired
NEEDS_ATTENTIONSUPPRESSEDHELDPENDING_APPROVALREADYSCHEDULED_FOR_RUNIN_PRODUCTIONCOMPLETEDFAILEDCANCELLEDRETURNEDNOT_SENT
warningsarray of objects
3 fields
codeenumrequired
address_invalidpostal_code_invalidhouse_number_missingcity_missingcountry_not_supporteddestination_not_supportedvariable_missingvariable_type_invalidvariable_too_longimage_fetch_failedimage_resolution_lowtext_overflowexpression_invalidlate_delivery_expectedwaiting_for_fundssuppressedcarrier_codes_missingexcluded_from_run
fieldstringrequired
messagestringrequired
errorstring
repairedintegerrequired

Responses

200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)