Create a batch of carts

POST {{baseUrl}}/crm/v3/objects/carts/batch/create

Request Body

{"inputs"=>[{"associations"=>[{"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}]}, {"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}]}], "properties"=>{"dolore51"=>"<string>", "labore_747"=>"<string>"}}, {"associations"=>[{"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"USER_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}]}, {"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"USER_DEFINED", "associationTypeId"=>"<integer>"}]}], "properties"=>{"ex9a"=>"<string>", "elit36"=>"<string>", "in_5e6"=>"<string>"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;completedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;results&quot;:[{&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;properties&quot;:{&quot;in_c7&quot;:&quot;\u003cstring\u003e&quot;,&quot;amet53&quot;:&quot;\u003cstring\u003e&quot;,&quot;consectetur_f&quot;:&quot;\u003cstring\u003e&quot;,&quot;esse_c9&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;archived&quot;:&quot;\u003cboolean\u003e&quot;,&quot;archivedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;propertiesWithHistory&quot;:{&quot;ut_6d&quot;:[{&quot;sourceType&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedByUserId&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;sourceType&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedByUserId&quot;:&quot;\u003cinteger\u003e&quot;}]}},{&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;properties&quot;:{&quot;anim_0&quot;:&quot;\u003cstring\u003e&quot;,&quot;consequat_3a7&quot;:&quot;\u003cstring\u003e&quot;,&quot;et030&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;archived&quot;:&quot;\u003cboolean\u003e&quot;,&quot;archivedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;propertiesWithHistory&quot;:{&quot;quis53a&quot;:[{&quot;sourceType&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedByUserId&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;sourceType&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceId&quot;:&quot;\u003cstring\u003e&quot;,&quot;sourceLabel&quot;:&quot;\u003cstring\u003e&quot;,&quot;updatedByUserId&quot;:&quot;\u003cinteger\u003e&quot;}]}}],&quot;startedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;PROCESSING&quot;,&quot;requestedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;links&quot;:{&quot;inf9&quot;:&quot;\u003cstring\u003e&quot;,&quot;laboris_9b&quot;:&quot;\u003cstring\u003e&quot;}}