Deals
Deals in Prism / Objects — Micro Go reference.
Reference for Go SDK 0.8.0.
Release source · Setup and client configuration
New
POST /v2/prism/{teamId}/deal
client.Prism.Objects.Deals.New(ctx context.Context, params micro.PrismObjectDealNewParams) (*micro.PrismObjectDealNewResponse, error)Create object
Update
PATCH /v2/prism/{teamId}/deal/{dealId}
client.Prism.Objects.Deals.Update(ctx context.Context, dealID string, params micro.PrismObjectDealUpdateParams) (*micro.PrismObjectDealUpdateResponse, error)Patch object
List
GET /v2/prism/{teamId}/deal
client.Prism.Objects.Deals.List(ctx context.Context, params micro.PrismObjectDealListParams) (*micro.PrismObjectDealListResponse, error)Convenience list endpoint. Equivalent to POST /v2/prism/{teamId}/{objectType}/query with an empty body, plus query-string sugar for the common cases. Any unrecognized query parameter is interpreted as an equality filter on a property of that name; pass arrays for in. Values are received as strings, so non-string property filters via this endpoint may not work — use the query endpoint for typed comparisons or anything beyond simple equality.
Delete
DELETE /v2/prism/{teamId}/deal/{dealId}
client.Prism.Objects.Deals.Delete(ctx context.Context, dealID string, params micro.PrismObjectDealDeleteParams) errorDelete object
BulkNew
POST /v2/prism/{teamId}/deal/import
client.Prism.Objects.Deals.BulkNew(ctx context.Context, params micro.PrismObjectDealBulkNewParams) (*micro.PrismObjectDealBulkNewResponse, error)Import multiple objects in batch. Properties are keyed by slug. Automatically routes based on size: small batches complete synchronously and return 200 with the final ImportJob; large batches start an async job, return 202 with status: processing and a Location header, and can be polled via GET /v2/prism/{teamId}/imports/{jobId}.
BulkDelete
POST /v2/prism/{teamId}/deal/batch/delete
client.Prism.Objects.Deals.BulkDelete(ctx context.Context, params micro.PrismObjectDealBulkDeleteParams) (*micro.PrismObjectDealBulkDeleteResponse, error)Soft-delete up to 100 records in a single call. Same partial-success contract as batch/update.
BulkUpdate
POST /v2/prism/{teamId}/deal/batch/update
client.Prism.Objects.Deals.BulkUpdate(ctx context.Context, params micro.PrismObjectDealBulkUpdateParams) (*micro.PrismObjectDealBulkUpdateResponse, error)Patch up to 100 records in a single call. Each item is attempted independently — failures don't abort the batch. Inspect results[].status per item.
Count
GET /v2/prism/{teamId}/deal/count
client.Prism.Objects.Deals.Count(ctx context.Context, params micro.PrismObjectDealCountParams) (*micro.PrismObjectDealCountResponse, error)Returns the total number of records of this object type that the caller can see. Avoids the page-overshoot anti-pattern — clients no longer need to keep paging until has_more flips false to discover the total. Currently does not apply query filters; for a filtered total, pass include_total: true in a POST /query body.
Duplicate
POST /v2/prism/{teamId}/deal/{dealId}/duplicate
client.Prism.Objects.Deals.Duplicate(ctx context.Context, dealID string, params micro.PrismObjectDealDuplicateParams) (*micro.PrismObjectDealDuplicateResponse, error)Duplicate object
Find
GET /v2/prism/{teamId}/deal/by/{slug}/{value}
client.Prism.Objects.Deals.Find(ctx context.Context, slug string, value string, params micro.PrismObjectDealFindParams) (*micro.PrismObjectDealFindResponse, error)Returns the single record whose property {slug} equals {value}. 404 if nothing matches; 409 if more than one record matches.
Get
GET /v2/prism/{teamId}/deal/{dealId}
client.Prism.Objects.Deals.Get(ctx context.Context, dealID string, params micro.PrismObjectDealGetParams) (*micro.PrismObjectDealGetResponse, error)Get object
Query
POST /v2/prism/{teamId}/deal/query
client.Prism.Objects.Deals.Query(ctx context.Context, params micro.PrismObjectDealQueryParams) (*micro.PrismObjectDealQueryResponse, error)Query
Restore
POST /v2/prism/{teamId}/deal/{dealId}/restore
client.Prism.Objects.Deals.Restore(ctx context.Context, dealID string, params micro.PrismObjectDealRestoreParams) (*micro.PrismObjectDealRestoreResponse, error)Restore object
Upsert
PUT /v2/prism/{teamId}/deal/by/{slug}/{value}
client.Prism.Objects.Deals.Upsert(ctx context.Context, slug string, value string, params micro.PrismObjectDealUpsertParams) (*micro.PrismObjectDealUpsertResponse, error)Idempotent create-or-update keyed on {slug}={value}. If exactly one record matches, it is patched and 200 is returned. If none match, a new record is created (with the lookup property set if absent) and 201 is returned. If multiple records match, 409 is returned and you should patch by id instead.
Parameter and response types
These declarations show the request parameters and response shapes used by the methods above.
PrismObjectDealNewResponse
type PrismObjectDealNewResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealNewResponseJSON `json:"-"`
}PrismObjectDealUpdateResponse
type PrismObjectDealUpdateResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealUpdateResponseJSON `json:"-"`
}PrismObjectDealListResponse
type PrismObjectDealListResponse struct {
Data []PrismObjectDealListResponseData `json:"data" api:"required"`
// Accurate end-of-data signal — false on the last page, never forces clients to
// overshoot.
HasMore bool `json:"has_more" api:"required"`
NextCursor string `json:"next_cursor" api:"nullable"`
// Populated only when `?include_total=true` was passed.
Total int64 `json:"total" api:"nullable"`
JSON prismObjectDealListResponseJSON `json:"-"`
}PrismObjectDealBulkNewResponse
type PrismObjectDealBulkNewResponse struct {
// Null for sync imports (results inlined). Set for async imports.
JobID string `json:"job_id" api:"required,nullable"`
Status PrismObjectDealBulkNewResponseStatus `json:"status" api:"required"`
// Total number of rows in the import.
Total int64 `json:"total" api:"required"`
CreatedAt time.Time `json:"created_at" format:"date-time"`
// Set when status=failed; describes the job-level failure (not per-row).
Error PrismObjectDealBulkNewResponseError `json:"error"`
ExpiresAt time.Time `json:"expires_at" format:"date-time"`
Failed int64 `json:"failed"`
// Rows that have been attempted (succeeded + failed).
Processed int64 `json:"processed"`
// Per-row outcomes. Always present for sync imports; populated for async imports
// once the job reaches `complete`.
Results []PrismObjectDealBulkNewResponseResult `json:"results"`
Succeeded int64 `json:"succeeded"`
UpdatedAt time.Time `json:"updated_at" format:"date-time"`
JSON prismObjectDealBulkNewResponseJSON `json:"-"`
}PrismObjectDealBulkDeleteResponse
type PrismObjectDealBulkDeleteResponse struct {
Results []PrismObjectDealBulkDeleteResponseResult `json:"results" api:"required"`
Summary PrismObjectDealBulkDeleteResponseSummary `json:"summary" api:"required"`
JSON prismObjectDealBulkDeleteResponseJSON `json:"-"`
}PrismObjectDealBulkUpdateResponse
type PrismObjectDealBulkUpdateResponse struct {
Results []PrismObjectDealBulkUpdateResponseResult `json:"results" api:"required"`
Summary PrismObjectDealBulkUpdateResponseSummary `json:"summary" api:"required"`
JSON prismObjectDealBulkUpdateResponseJSON `json:"-"`
}PrismObjectDealCountResponse
type PrismObjectDealCountResponse struct {
// Number of records matching the access scope.
Total int64 `json:"total" api:"required"`
JSON prismObjectDealCountResponseJSON `json:"-"`
}PrismObjectDealDuplicateResponse
type PrismObjectDealDuplicateResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealDuplicateResponseJSON `json:"-"`
}PrismObjectDealFindResponse
type PrismObjectDealFindResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealFindResponseJSON `json:"-"`
}PrismObjectDealGetResponse
type PrismObjectDealGetResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealGetResponseJSON `json:"-"`
}PrismObjectDealQueryResponse
type PrismObjectDealQueryResponse struct {
Data []PrismObjectDealQueryResponseData `json:"data" api:"required"`
// Accurate end-of-data signal. False when this page contains the last record; true
// only when at least one more record exists. (Implementation note: the server
// fetches one extra row internally to determine this — clients never need to
// overshoot to discover the end.)
HasMore bool `json:"has_more" api:"required"`
// Opaque cursor pointing at the next page. Pass it back unchanged in the request
// body (`cursor`) of the next call. Null when `has_more` is false.
NextCursor string `json:"next_cursor" api:"nullable"`
// Only populated when the request set `include_total: true`. Total number of
// records matching the query, ignoring pagination. Opt-in because it costs an
// additional pass over the result set.
Total int64 `json:"total" api:"nullable"`
JSON prismObjectDealQueryResponseJSON `json:"-"`
}PrismObjectDealRestoreResponse
type PrismObjectDealRestoreResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealRestoreResponseJSON `json:"-"`
}PrismObjectDealUpsertResponse
type PrismObjectDealUpsertResponse struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealUpsertResponseJSON `json:"-"`
}PrismObjectDealNewParams
type PrismObjectDealNewParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
PrismObjectProperties PrismObjectPropertiesParam `json:"prism_object_properties" api:"required"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealUpdateParams
type PrismObjectDealUpdateParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
PrismObjectProperties PrismObjectPropertiesParam `json:"prism_object_properties" api:"required"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
IfMatch param.Field[string] `header:"If-Match"`
}PrismObjectDealListParams
type PrismObjectDealListParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
// Opaque cursor from a previous response's `next_cursor`. Pass it back unchanged
// to fetch the next page.
Cursor param.Field[string] `query:"cursor"`
// Include soft-deleted records. Pass the literal string `true`.
Deleted param.Field[bool] `query:"deleted"`
// When set to `true`, the response includes a `total` field with the unpaginated
// row count. Costs an extra pass; prefer `GET .../count` for the unfiltered total.
IncludeTotal param.Field[bool] `query:"include_total"`
// Maximum number of rows to return. Capped server-side at 50.
Limit param.Field[int64] `query:"limit"`
// Scope properties to a specific list/app.
ListID param.Field[string] `query:"list_id" format:"uuid"`
// Comma-separated property slugs to return. Use dot notation for relationships.
// `id` is always returned at the top level. Defaults to all properties.
Select param.Field[string] `query:"select"`
// Comma-separated list of slugs. Prefix with `-` for descending. Example:
// `sort=-updated_at,name`.
Sort param.Field[string] `query:"sort"`
}PrismObjectDealDeleteParams
type PrismObjectDealDeleteParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
IfMatch param.Field[string] `header:"If-Match"`
}PrismObjectDealBulkNewParams
type PrismObjectDealBulkNewParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
// Array of objects to import with property values keyed by slug
Objects param.Field[[]PrismObjectPropertiesParam] `json:"objects" api:"required"`
Options param.Field[PrismObjectDealBulkNewParamsOptions] `json:"options"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealBulkDeleteParams
type PrismObjectDealBulkDeleteParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
IDs param.Field[[]string] `json:"ids" api:"required" format:"uuid"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealBulkUpdateParams
type PrismObjectDealBulkUpdateParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
Items param.Field[[]PrismObjectDealBulkUpdateParamsItem] `json:"items" api:"required"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealCountParams
type PrismObjectDealCountParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
// Scope the count to a specific list/app.
ListID param.Field[string] `query:"list_id" format:"uuid"`
}PrismObjectDealDuplicateParams
type PrismObjectDealDuplicateParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealFindParams
type PrismObjectDealFindParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
// Scope the lookup to a specific list/app.
ListID param.Field[string] `query:"list_id" format:"uuid"`
}PrismObjectDealGetParams
type PrismObjectDealGetParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
// Comma-separated property slugs to return. Use dot notation for relationships.
// `id` is always returned at the top level. Defaults to all properties.
Select param.Field[string] `query:"select"`
}PrismObjectDealQueryParams
type PrismObjectDealQueryParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
Query param.Field[PrismObjectDealQueryParamsQuery] `json:"query" api:"required"`
ID param.Field[PrismObjectDealQueryParamsIDUnion] `json:"id" format:"uuid"`
Boxes param.Field[[]string] `json:"boxes"`
// Alternative location for the opaque cursor (a sibling of `query`). Use whichever
// feels more natural; if both are present, `query.cursor` wins.
Cursor param.Field[string] `json:"cursor"`
Deleted param.Field[bool] `json:"deleted"`
// When true, the response includes a `total` field with the unpaginated row count.
// Costs an additional pass over the result set — for unfiltered totals prefer
// `GET /v2/prism/{teamId}/{objectType}/count` instead.
IncludeTotal param.Field[bool] `json:"include_total"`
Sources param.Field[[]string] `json:"sources" format:"uuid"`
}PrismObjectDealRestoreParams
type PrismObjectDealRestoreParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealUpsertParams
type PrismObjectDealUpsertParams struct {
// Use [option.WithTeamID] on the client to set a global default for this field.
TeamID param.Field[string] `path:"teamId" api:"required" format:"uuid"`
PrismObjectProperties PrismObjectPropertiesParam `json:"prism_object_properties" api:"required"`
IdempotencyKey param.Field[string] `header:"Idempotency-Key"`
}PrismObjectDealListResponseData
type PrismObjectDealListResponseData struct {
ID string `json:"id" api:"required" format:"uuid"`
IsUserObject bool `json:"is_user_object"`
// Selected property values keyed by property slug. For select/multiselect
// properties, option slugs are returned. For reference properties, values are
// nested `{ id, properties }` objects.
Properties map[string]interface{} `json:"properties"`
Source []string `json:"source" api:"nullable"`
JSON prismObjectDealListResponseDataJSON `json:"-"`
}PrismObjectDealBulkNewResponseStatus
type PrismObjectDealBulkNewResponseStatus stringError
type Error = apierror.ErrorPrismObjectDealBulkNewResponseError
type PrismObjectDealBulkNewResponseError struct {
Code string `json:"code"`
Message string `json:"message"`
JSON prismObjectDealBulkNewResponseErrorJSON `json:"-"`
}PrismObjectDealBulkNewResponseResult
type PrismObjectDealBulkNewResponseResult struct {
ID string `json:"id" api:"nullable" format:"uuid"`
Created bool `json:"created"`
Error PrismObjectDealBulkNewResponseResultsError `json:"error"`
// True if the row matched an existing record via the dedupe key.
Existing bool `json:"existing"`
JSON prismObjectDealBulkNewResponseResultJSON `json:"-"`
}PrismObjectDealBulkDeleteResponseResult
type PrismObjectDealBulkDeleteResponseResult struct {
// Item ID, or null if the input was unparseable.
ID string `json:"id" api:"required,nullable"`
Status PrismObjectDealBulkDeleteResponseResultsStatus `json:"status" api:"required"`
Error PrismObjectDealBulkDeleteResponseResultsError `json:"error"`
// Object returned by reads (get/create/patch/restore). id is always present.
Record PrismObjectDealBulkDeleteResponseResultsRecord `json:"record"`
JSON prismObjectDealBulkDeleteResponseResultJSON `json:"-"`
}PrismObjectDealBulkDeleteResponseSummary
type PrismObjectDealBulkDeleteResponseSummary struct {
Failed int64 `json:"failed" api:"required"`
Succeeded int64 `json:"succeeded" api:"required"`
Total int64 `json:"total" api:"required"`
JSON prismObjectDealBulkDeleteResponseSummaryJSON `json:"-"`
}PrismObjectDealBulkUpdateResponseResult
type PrismObjectDealBulkUpdateResponseResult struct {
// Item ID, or null if the input was unparseable.
ID string `json:"id" api:"required,nullable"`
Status PrismObjectDealBulkUpdateResponseResultsStatus `json:"status" api:"required"`
Error PrismObjectDealBulkUpdateResponseResultsError `json:"error"`
// Object returned by reads (get/create/patch/restore). id is always present.
Record PrismObjectDealBulkUpdateResponseResultsRecord `json:"record"`
JSON prismObjectDealBulkUpdateResponseResultJSON `json:"-"`
}PrismObjectDealBulkUpdateResponseSummary
type PrismObjectDealBulkUpdateResponseSummary struct {
Failed int64 `json:"failed" api:"required"`
Succeeded int64 `json:"succeeded" api:"required"`
Total int64 `json:"total" api:"required"`
JSON prismObjectDealBulkUpdateResponseSummaryJSON `json:"-"`
}PrismObjectDealQueryResponseData
type PrismObjectDealQueryResponseData struct {
ID string `json:"id" api:"required" format:"uuid"`
IsUserObject bool `json:"is_user_object"`
// Selected property values keyed by property slug. For select/multiselect
// properties, option slugs are returned. For reference properties, values are
// nested `{ id, properties }` objects.
Properties map[string]interface{} `json:"properties"`
Source []string `json:"source" api:"nullable"`
JSON prismObjectDealQueryResponseDataJSON `json:"-"`
}PrismObjectPropertiesParam
type PrismObjectPropertiesParam struct {
// Properties keyed by property slug. Values can be strings, numbers, booleans,
// arrays, or null. For select/multiselect properties, values may be option slugs
// or option UUIDs on write; option slugs are returned on read.
Default param.Field[map[string]interface{}] `json:"default"`
List param.Field[interface{}] `json:"list"`
}PrismObjectDealBulkNewParamsOptions
type PrismObjectDealBulkNewParamsOptions struct {
// Whether deduplication should be case insensitive
CaseInsensitive param.Field[bool] `json:"caseInsensitive"`
// Property slug to deduplicate on
DedupeBy param.Field[string] `json:"dedupe_by"`
// App/CRM ID for context (optional)
ListID param.Field[string] `json:"list_id" format:"uuid"`
}PrismObjectDealBulkUpdateParamsItem
type PrismObjectDealBulkUpdateParamsItem struct {
ID param.Field[string] `json:"id" api:"required" format:"uuid"`
ExtraFields map[string]interface{} `json:"-,extras"`
}PrismObjectDealQueryParamsQuery
type PrismObjectDealQueryParamsQuery struct {
// Property slugs to select. Use dot notation for relationships (e.g.
// attendee.contact.first_name). `id` is always returned at the top level of each
// row and does not need to be selected.
Select param.Field[[]string] `json:"select" api:"required"`
// Logical operator for combining filters
Combinator param.Field[PrismObjectDealQueryParamsQueryCombinator] `json:"combinator"`
// Opaque cursor from a previous response's `next_cursor`. Pass it back unchanged
// to fetch the next page. When set, `page` and `limit` are derived from the cursor
// and any explicit values are ignored.
Cursor param.Field[string] `json:"cursor"`
// Filters as [{ slug: { operator: value } }]. For select/multiselect properties,
// values may be option slugs or option UUIDs.
Filter param.Field[[]map[string]PrismObjectDealQueryParamsQueryFilterUnion] `json:"filter"`
// Maximum number of rows to return. Capped server-side at 50; requests above the
// cap are rejected.
Limit param.Field[int64] `json:"limit"`
ListID param.Field[string] `json:"list_id" format:"uuid"`
// Page number (1-based). Prefer `cursor`. Page-number pagination drifts under
// concurrent writes; use it only for one-shot exports.
//
// Deprecated: deprecated
Page param.Field[int64] `json:"page"`
// Sort order as [{ slug: direction }]. Array order determines sort priority
Sort param.Field[[]map[string]PrismObjectDealQueryParamsQuerySort] `json:"sort"`
}PrismObjectDealQueryParamsIDUnion
type PrismObjectDealQueryParamsIDUnion interface {
ImplementsPrismObjectDealQueryParamsIDUnion()
}PrismObjectDealBulkNewResponseResultsError
type PrismObjectDealBulkNewResponseResultsError struct {
Code string `json:"code"`
Message string `json:"message"`
JSON prismObjectDealBulkNewResponseResultsErrorJSON `json:"-"`
}PrismObjectDealBulkDeleteResponseResultsStatus
type PrismObjectDealBulkDeleteResponseResultsStatus stringPrismObjectDealBulkDeleteResponseResultsError
type PrismObjectDealBulkDeleteResponseResultsError struct {
Code string `json:"code"`
Message string `json:"message"`
JSON prismObjectDealBulkDeleteResponseResultsErrorJSON `json:"-"`
}PrismObjectDealBulkDeleteResponseResultsRecord
type PrismObjectDealBulkDeleteResponseResultsRecord struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealBulkDeleteResponseResultsRecordJSON `json:"-"`
}PrismObjectDealBulkUpdateResponseResultsStatus
type PrismObjectDealBulkUpdateResponseResultsStatus stringPrismObjectDealBulkUpdateResponseResultsError
type PrismObjectDealBulkUpdateResponseResultsError struct {
Code string `json:"code"`
Message string `json:"message"`
JSON prismObjectDealBulkUpdateResponseResultsErrorJSON `json:"-"`
}PrismObjectDealBulkUpdateResponseResultsRecord
type PrismObjectDealBulkUpdateResponseResultsRecord struct {
ID string `json:"id" api:"required" format:"uuid"`
// Properties keyed by property slug.
Default map[string]interface{} `json:"default"`
List interface{} `json:"list"`
JSON prismObjectDealBulkUpdateResponseResultsRecordJSON `json:"-"`
}PrismObjectDealQueryParamsQueryCombinator
type PrismObjectDealQueryParamsQueryCombinator stringPrismObjectDealQueryParamsQueryFilterUnion
type PrismObjectDealQueryParamsQueryFilterUnion interface {
implementsPrismObjectDealQueryParamsQueryFilterUnion()
}PrismObjectDealQueryParamsQuerySort
type PrismObjectDealQueryParamsQuerySort string