# Organizations

Organizations in Prism / Objects — Micro Go reference.

Reference for Go SDK **0.8.0**.

[Release source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/api.md) · [Setup and client configuration](/docs/reference/go)

## New

`POST /v2/prism/{teamId}/organization`

````text
client.Prism.Objects.Organizations.New(ctx context.Context, params micro.PrismObjectOrganizationNewParams) (*micro.PrismObjectOrganizationNewResponse, error)
````

Create object

## Update

`PATCH /v2/prism/{teamId}/organization/{organizationId}`

````text
client.Prism.Objects.Organizations.Update(ctx context.Context, organizationID string, params micro.PrismObjectOrganizationUpdateParams) (*micro.PrismObjectOrganizationUpdateResponse, error)
````

Patch object

## List

`GET /v2/prism/{teamId}/organization`

````text
client.Prism.Objects.Organizations.List(ctx context.Context, params micro.PrismObjectOrganizationListParams) (*micro.PrismObjectOrganizationListResponse, 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}/organization/{organizationId}`

````text
client.Prism.Objects.Organizations.Delete(ctx context.Context, organizationID string, params micro.PrismObjectOrganizationDeleteParams) error
````

Delete object

## BulkNew

`POST /v2/prism/{teamId}/organization/import`

````text
client.Prism.Objects.Organizations.BulkNew(ctx context.Context, params micro.PrismObjectOrganizationBulkNewParams) (*micro.PrismObjectOrganizationBulkNewResponse, 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}/organization/batch/delete`

````text
client.Prism.Objects.Organizations.BulkDelete(ctx context.Context, params micro.PrismObjectOrganizationBulkDeleteParams) (*micro.PrismObjectOrganizationBulkDeleteResponse, error)
````

Soft-delete up to 100 records in a single call. Same partial-success contract as batch/update.

## BulkUpdate

`POST /v2/prism/{teamId}/organization/batch/update`

````text
client.Prism.Objects.Organizations.BulkUpdate(ctx context.Context, params micro.PrismObjectOrganizationBulkUpdateParams) (*micro.PrismObjectOrganizationBulkUpdateResponse, 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}/organization/count`

````text
client.Prism.Objects.Organizations.Count(ctx context.Context, params micro.PrismObjectOrganizationCountParams) (*micro.PrismObjectOrganizationCountResponse, 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}/organization/{organizationId}/duplicate`

````text
client.Prism.Objects.Organizations.Duplicate(ctx context.Context, organizationID string, params micro.PrismObjectOrganizationDuplicateParams) (*micro.PrismObjectOrganizationDuplicateResponse, error)
````

Duplicate object

## Find

`GET /v2/prism/{teamId}/organization/by/{slug}/{value}`

````text
client.Prism.Objects.Organizations.Find(ctx context.Context, slug string, value string, params micro.PrismObjectOrganizationFindParams) (*micro.PrismObjectOrganizationFindResponse, 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}/organization/{organizationId}`

````text
client.Prism.Objects.Organizations.Get(ctx context.Context, organizationID string, params micro.PrismObjectOrganizationGetParams) (*micro.PrismObjectOrganizationGetResponse, error)
````

Get object

## Query

`POST /v2/prism/{teamId}/organization/query`

````text
client.Prism.Objects.Organizations.Query(ctx context.Context, params micro.PrismObjectOrganizationQueryParams) (*micro.PrismObjectOrganizationQueryResponse, error)
````

Query

## Restore

`POST /v2/prism/{teamId}/organization/{organizationId}/restore`

````text
client.Prism.Objects.Organizations.Restore(ctx context.Context, organizationID string, params micro.PrismObjectOrganizationRestoreParams) (*micro.PrismObjectOrganizationRestoreResponse, error)
````

Restore object

## Upsert

`PUT /v2/prism/{teamId}/organization/by/{slug}/{value}`

````text
client.Prism.Objects.Organizations.Upsert(ctx context.Context, slug string, value string, params micro.PrismObjectOrganizationUpsertParams) (*micro.PrismObjectOrganizationUpsertResponse, 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.

### PrismObjectOrganizationNewResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationNewResponse 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    prismObjectOrganizationNewResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationUpdateResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationUpdateResponse 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    prismObjectOrganizationUpdateResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationListResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationListResponse struct {
	Data []PrismObjectOrganizationListResponseData `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  prismObjectOrganizationListResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkNewResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewResponse struct {
	// Null for sync imports (results inlined). Set for async imports.
	JobID  string                                       `json:"job_id" api:"required,nullable"`
	Status PrismObjectOrganizationBulkNewResponseStatus `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     PrismObjectOrganizationBulkNewResponseError `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   []PrismObjectOrganizationBulkNewResponseResult `json:"results"`
	Succeeded int64                                          `json:"succeeded"`
	UpdatedAt time.Time                                      `json:"updated_at" format:"date-time"`
	JSON      prismObjectOrganizationBulkNewResponseJSON     `json:"-"`
}
````


### PrismObjectOrganizationBulkDeleteResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponse struct {
	Results []PrismObjectOrganizationBulkDeleteResponseResult `json:"results" api:"required"`
	Summary PrismObjectOrganizationBulkDeleteResponseSummary  `json:"summary" api:"required"`
	JSON    prismObjectOrganizationBulkDeleteResponseJSON     `json:"-"`
}
````


### PrismObjectOrganizationBulkUpdateResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponse struct {
	Results []PrismObjectOrganizationBulkUpdateResponseResult `json:"results" api:"required"`
	Summary PrismObjectOrganizationBulkUpdateResponseSummary  `json:"summary" api:"required"`
	JSON    prismObjectOrganizationBulkUpdateResponseJSON     `json:"-"`
}
````


### PrismObjectOrganizationCountResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationCountResponse struct {
	// Number of records matching the access scope.
	Total int64                                    `json:"total" api:"required"`
	JSON  prismObjectOrganizationCountResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationDuplicateResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationDuplicateResponse 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    prismObjectOrganizationDuplicateResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationFindResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationFindResponse 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    prismObjectOrganizationFindResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationGetResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationGetResponse 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    prismObjectOrganizationGetResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationQueryResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryResponse struct {
	Data []PrismObjectOrganizationQueryResponseData `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  prismObjectOrganizationQueryResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationRestoreResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationRestoreResponse 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    prismObjectOrganizationRestoreResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationUpsertResponse

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationUpsertResponse 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    prismObjectOrganizationUpsertResponseJSON `json:"-"`
}
````


### PrismObjectOrganizationNewParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationNewParams 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"`
}
````


### PrismObjectOrganizationUpdateParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationUpdateParams 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"`
}
````


### PrismObjectOrganizationListParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationListParams 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"`
}
````


### PrismObjectOrganizationDeleteParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationDeleteParams 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"`
}
````


### PrismObjectOrganizationBulkNewParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewParams 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[PrismObjectOrganizationBulkNewParamsOptions] `json:"options"`
	IdempotencyKey param.Field[string]                                      `header:"Idempotency-Key"`
}
````


### PrismObjectOrganizationBulkDeleteParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteParams 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"`
}
````


### PrismObjectOrganizationBulkUpdateParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateParams 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[[]PrismObjectOrganizationBulkUpdateParamsItem] `json:"items" api:"required"`
	IdempotencyKey param.Field[string]                                        `header:"Idempotency-Key"`
}
````


### PrismObjectOrganizationCountParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationCountParams 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"`
}
````


### PrismObjectOrganizationDuplicateParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationDuplicateParams 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"`
}
````


### PrismObjectOrganizationFindParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationFindParams 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"`
}
````


### PrismObjectOrganizationGetParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationGetParams 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"`
}
````


### PrismObjectOrganizationQueryParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParams 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[PrismObjectOrganizationQueryParamsQuery]   `json:"query" api:"required"`
	ID     param.Field[PrismObjectOrganizationQueryParamsIDUnion] `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"`
}
````


### PrismObjectOrganizationRestoreParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationRestoreParams 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"`
}
````


### PrismObjectOrganizationUpsertParams

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationUpsertParams 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"`
}
````


### PrismObjectOrganizationListResponseData

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationListResponseData 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       prismObjectOrganizationListResponseDataJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkNewResponseStatus

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewResponseStatus string
````


### Error

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/aliases.go)

````text
type Error = apierror.Error
````


### PrismObjectOrganizationBulkNewResponseError

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewResponseError struct {
	Code    string                                          `json:"code"`
	Message string                                          `json:"message"`
	JSON    prismObjectOrganizationBulkNewResponseErrorJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkNewResponseResult

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewResponseResult struct {
	ID      string                                             `json:"id" api:"nullable" format:"uuid"`
	Created bool                                               `json:"created"`
	Error   PrismObjectOrganizationBulkNewResponseResultsError `json:"error"`
	// True if the row matched an existing record via the dedupe key.
	Existing bool                                             `json:"existing"`
	JSON     prismObjectOrganizationBulkNewResponseResultJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkDeleteResponseResult

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponseResult struct {
	// Item ID, or null if the input was unparseable.
	ID     string                                                 `json:"id" api:"required,nullable"`
	Status PrismObjectOrganizationBulkDeleteResponseResultsStatus `json:"status" api:"required"`
	Error  PrismObjectOrganizationBulkDeleteResponseResultsError  `json:"error"`
	// Object returned by reads (get/create/patch/restore). id is always present.
	Record PrismObjectOrganizationBulkDeleteResponseResultsRecord `json:"record"`
	JSON   prismObjectOrganizationBulkDeleteResponseResultJSON    `json:"-"`
}
````


### PrismObjectOrganizationBulkDeleteResponseSummary

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponseSummary struct {
	Failed    int64                                                `json:"failed" api:"required"`
	Succeeded int64                                                `json:"succeeded" api:"required"`
	Total     int64                                                `json:"total" api:"required"`
	JSON      prismObjectOrganizationBulkDeleteResponseSummaryJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkUpdateResponseResult

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponseResult struct {
	// Item ID, or null if the input was unparseable.
	ID     string                                                 `json:"id" api:"required,nullable"`
	Status PrismObjectOrganizationBulkUpdateResponseResultsStatus `json:"status" api:"required"`
	Error  PrismObjectOrganizationBulkUpdateResponseResultsError  `json:"error"`
	// Object returned by reads (get/create/patch/restore). id is always present.
	Record PrismObjectOrganizationBulkUpdateResponseResultsRecord `json:"record"`
	JSON   prismObjectOrganizationBulkUpdateResponseResultJSON    `json:"-"`
}
````


### PrismObjectOrganizationBulkUpdateResponseSummary

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponseSummary struct {
	Failed    int64                                                `json:"failed" api:"required"`
	Succeeded int64                                                `json:"succeeded" api:"required"`
	Total     int64                                                `json:"total" api:"required"`
	JSON      prismObjectOrganizationBulkUpdateResponseSummaryJSON `json:"-"`
}
````


### PrismObjectOrganizationQueryResponseData

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryResponseData 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       prismObjectOrganizationQueryResponseDataJSON `json:"-"`
}
````


### PrismObjectPropertiesParam

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prism.go)

````text
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"`
}
````


### PrismObjectOrganizationBulkNewParamsOptions

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewParamsOptions 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"`
}
````


### PrismObjectOrganizationBulkUpdateParamsItem

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateParamsItem struct {
	ID          param.Field[string]    `json:"id" api:"required" format:"uuid"`
	ExtraFields map[string]interface{} `json:"-,extras"`
}
````


### PrismObjectOrganizationQueryParamsQuery

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParamsQuery 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[PrismObjectOrganizationQueryParamsQueryCombinator] `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]PrismObjectOrganizationQueryParamsQueryFilterUnion] `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]PrismObjectOrganizationQueryParamsQuerySort] `json:"sort"`
}
````


### PrismObjectOrganizationQueryParamsIDUnion

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParamsIDUnion interface {
	ImplementsPrismObjectOrganizationQueryParamsIDUnion()
}
````


### PrismObjectOrganizationBulkNewResponseResultsError

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkNewResponseResultsError struct {
	Code    string                                                 `json:"code"`
	Message string                                                 `json:"message"`
	JSON    prismObjectOrganizationBulkNewResponseResultsErrorJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkDeleteResponseResultsStatus

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponseResultsStatus string
````


### PrismObjectOrganizationBulkDeleteResponseResultsError

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponseResultsError struct {
	Code    string                                                    `json:"code"`
	Message string                                                    `json:"message"`
	JSON    prismObjectOrganizationBulkDeleteResponseResultsErrorJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkDeleteResponseResultsRecord

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkDeleteResponseResultsRecord 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    prismObjectOrganizationBulkDeleteResponseResultsRecordJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkUpdateResponseResultsStatus

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponseResultsStatus string
````


### PrismObjectOrganizationBulkUpdateResponseResultsError

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponseResultsError struct {
	Code    string                                                    `json:"code"`
	Message string                                                    `json:"message"`
	JSON    prismObjectOrganizationBulkUpdateResponseResultsErrorJSON `json:"-"`
}
````


### PrismObjectOrganizationBulkUpdateResponseResultsRecord

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationBulkUpdateResponseResultsRecord 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    prismObjectOrganizationBulkUpdateResponseResultsRecordJSON `json:"-"`
}
````


### PrismObjectOrganizationQueryParamsQueryCombinator

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParamsQueryCombinator string
````


### PrismObjectOrganizationQueryParamsQueryFilterUnion

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParamsQueryFilterUnion interface {
	implementsPrismObjectOrganizationQueryParamsQueryFilterUnion()
}
````


### PrismObjectOrganizationQueryParamsQuerySort

[Source](https://github.com/micro-so/micro-sdk-go/blob/v0.8.0/prismobjectorganization.go)

````text
type PrismObjectOrganizationQueryParamsQuerySort string
````
