Create or update a batch of services by unique property values
POST
/crm/v3/objects/0-162/batch/upsert https://api.hubapi.com
Create or update records identified by a unique property value as specified by the idProperty query param. idProperty query param refers to a property whose values are unique for the object.
Request Body
application/json
required
interface BatchInputSimplePublicObjectBatchInputUpsert {
inputs:SimplePublicObjectBatchInputUpsert [];
}
inputs:
}
Responses
200 application/json
successful operation
interface BatchResponseSimplePublicUpsertObject24 {
completedAt: string;
errors?:StandardError [];
links?: { };
numErrors?: number;
requestedAt?: string;
results:SimplePublicUpsertObject24 [];
startedAt: string;
status: "CANCELED" | "COMPLETE" | "PENDING" | "PROCESSING";
}
completedAt: string;
errors?:
links?: { };
numErrors?: number;
requestedAt?: string;
results:
startedAt: string;
status: "CANCELED" | "COMPLETE" | "PENDING" | "PROCESSING";
}
default */*
An error occurred.
interface Error {
category: string;
context?: { };
correlationId: string;
errors?:ErrorDetail [];
links?: { };
message: string;
subCategory?: string;
}
category: string;
context?: { };
correlationId: string;
errors?:
links?: { };
message: string;
subCategory?: string;
}