Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriesproductPriceList

entities.productPriceList

Read product price list records with the productPriceList repository, and change them with the product price list mutations. Same records as the REST ProductPriceLists entity.

Queries

Fields of entities { productPriceList { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ProductPriceListEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ProductPriceListEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ProductPriceListFilterInput, orderBy: [ProductPriceListOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ProductPriceListEntity!]!
QUERYgetByCriteria(filter: ProductPriceListFilterInput, orderBy: [ProductPriceListOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ProductPriceListEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateProductPriceList(input: CreateProductPriceListInput!, validationLevel: [ValidationLevel!])Create one recordCreateProductPriceListPayload
MUTATIONupdateProductPriceList(input: UpdateProductPriceListInput!, action: UpdateProductPriceListActionEnum, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateProductPriceListPayload
MUTATIONbulkUpdateProductPriceList(input: [CreateOrUpdateProductPriceListInput!]!, deleteInput: [DeleteProductPriceListInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateProductPriceListPayload
MUTATIONdeleteProductPriceList(input: DeleteProductPriceListInput!)Soft-deleteDeleteProductPriceListPayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

ProductPriceListEntity object 17 fields: isDeleteProtected, id, isDeleted, …

Price list with product prices per currency, applied to opportunities and quotes while it is active.

FieldTypeDescription
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-form description of the price list.
endDateDateDate when the price list expires. Empty means open-ended.
isActiveBooleanMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameString!Name of the entity and its default text representation.
rulesFieldFilterConditions that determine which opportunities or quotes the price list applies to (for example by sales unit, account or custom field).
startDateDateDate when the price list becomes active. Empty means immediately.
typeProductPriceListTypeEnumKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionIntRevision when entity was lastly changed.
isDefaultBoolean!True for the team space default price list, which cannot be deleted. Read-only.
statusProductPriceListStatusEnum!Effective status of the price list (Active, Inactive, Scheduled, Expired). Read-only; derived from isActive and the start/end dates.
productPriceListPricesProductPriceListPriceEntityConnection (8 args)Per-product, per-currency prices configured in the price list.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ProductPriceListEntityConnection object pageInfo: PageInfo!, edges: [ProductPriceListEntityEdge]!, totalCount: Int

Paginated list of ProductPriceList records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ProductPriceListEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
ProductPriceListEntityEdge object node: ProductPriceListEntity, cursor: String!

A Relay edge containing a ProductPriceListEntity and its cursor.

FieldTypeDescription
nodeProductPriceListEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
ProductPriceListFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for ProductPriceList records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[ProductPriceListFilterInput!]Matches records that meet at least one of the listed filters.
AND[ProductPriceListFilterInput!]Matches records that meet all of the listed filters.
NOTProductPriceListFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
descriptionEntityFilterStringFieldFree-form description of the price list.
isActiveBooleanMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameEntityFilterStringFieldName of the entity and its default text representation.
typeProductPriceListTypeEnumFilterInputKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
isDefaultBooleanTrue for the team space default price list, which cannot be deleted. Read-only.
statusProductPriceListStatusEnumEffective status of the price list (Active, Inactive, Scheduled, Expired). Read-only; derived from isActive and the start/end dates.
productPriceListPricesProductPriceListPriceFilterInputPer-product, per-currency prices configured in the price list. Matches records where a related record meets these conditions.
ProductPriceListOrderByInput input Asc or Desc per field

Sorting of ProductPriceList records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
descriptionOrderByEnumFree-form description of the price list.
endDateOrderByEnumDate when the price list expires. Empty means open-ended.
isActiveOrderByEnumMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameOrderByEnumName of the entity and its default text representation.
startDateOrderByEnumDate when the price list becomes active. Empty means immediately.
typeOrderByEnumKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionOrderByEnumRevision when entity was lastly changed.
isDefaultOrderByEnumTrue for the team space default price list, which cannot be deleted. Read-only.
ProductPriceListTypeEnumFilterInput input eq: [ProductPriceListTypeEnum!], NOT: ProductPriceListTypeEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[ProductPriceListTypeEnum!]Matches any of the listed values.
NOTProductPriceListTypeEnumFilterInputMatches values that do not meet this condition.
CreateOrUpdateProductPriceListInput input 13 fields: clientMutationId, id, modified, …

Field values of a ProductPriceList record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-form description of the price list.
endDateDateDate when the price list expires. Empty means open-ended.
isActiveBooleanMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameStringName of the entity and its default text representation.
rulesJSONStringFilter expression — a FieldFilter JSON object — deciding which records (e.g. accounts, opportunities) the price list applies to. Empty when it applies to all records. Validated on write. Full structure: /reference/graphql/types/f/#FieldFilter
startDateDateDate when the price list becomes active. Empty means immediately.
typeProductPriceListTypeEnumKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionIntRevision when entity was lastly changed.
productPriceListPrices[CreateProductPriceListPriceNoProductPriceListBackrefInput!]Per-product, per-currency prices configured in the price list.
CreateProductPriceListInput input 12 fields: clientMutationId, modified, created, …

Field values of a new ProductPriceList record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-form description of the price list.
endDateDateDate when the price list expires. Empty means open-ended.
isActiveBooleanMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameString!Name of the entity and its default text representation.
rulesJSONStringFilter expression — a FieldFilter JSON object — deciding which records (e.g. accounts, opportunities) the price list applies to. Empty when it applies to all records. Validated on write. Full structure: /reference/graphql/types/f/#FieldFilter
startDateDateDate when the price list becomes active. Empty means immediately.
typeProductPriceListTypeEnumKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionIntRevision when entity was lastly changed.
productPriceListPrices[CreateProductPriceListPriceNoProductPriceListBackrefInput!]Per-product, per-currency prices configured in the price list.
CreateProductPriceListPriceNoProductPriceListBackrefInput input 7 fields: modified, created, currencyId, …

Field values of a new ProductPriceListPrice record, created together with the record it belongs to.

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
currencyIdID!Id of the currency the price is denominated in.
priceFloatPrice amount stored at 6-decimal precision; values set via the API are rounded.
productIdID!Id of the product the price applies to.
settingsProductPriceListPriceSettingsJSONString!Per-price access controls (e.g. which user roles can override this price). Stored as a JSON object.
revisionIntRevision when entity was lastly changed.
DeleteProductPriceListInput input clientMutationId: String, id: ID!

Id of the ProductPriceList record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateProductPriceListInput input 13 fields: clientMutationId, id, modified, …

Id of a ProductPriceList record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
descriptionStringFree-form description of the price list.
endDateDateDate when the price list expires. Empty means open-ended.
isActiveBooleanMaster switch for the price list. Inactive price lists are not applied to opportunities or quotes regardless of dates.
nameStringName of the entity and its default text representation.
rulesJSONStringFilter expression — a FieldFilter JSON object — deciding which records (e.g. accounts, opportunities) the price list applies to. Empty when it applies to all records. Validated on write. Full structure: /reference/graphql/types/f/#FieldFilter
startDateDateDate when the price list becomes active. Empty means immediately.
typeProductPriceListTypeEnumKind of price list: a regular price list (Standard), or a price schedule with special prices that take precedence over standard price lists while active (Scheduled).
revisionIntRevision when entity was lastly changed.
productPriceListPrices[CreateProductPriceListPriceNoProductPriceListBackrefInput!]Per-product, per-currency prices configured in the price list.
BulkUpdateProductPriceListPayload object result: BulkUpdateResults!

Result of the bulkUpdateProductPriceList mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateProductPriceListPayload object productPriceList: ProductPriceListEntity, clientMutationId: String

Result of the createProductPriceList mutation.

FieldTypeDescription
productPriceListProductPriceListEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteProductPriceListPayload object productPriceList: ProductPriceListEntity, clientMutationId: String

Result of the deleteProductPriceList mutation.

FieldTypeDescription
productPriceListProductPriceListEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateProductPriceListPayload object productPriceList: ProductPriceListEntity, clientMutationId: String

Result of the updateProductPriceList mutation.

FieldTypeDescription
productPriceListProductPriceListEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
FieldFilter object 5 fields: operator, formula, filterMainBox, …

Filter definition: conditions on a record type and on related records, grouped in filter boxes and combined with And, Or or a custom formula.

FieldTypeDescription
operatorFilterGroupOperator!How the filter boxes combine — And or Or.
formulaStringOptional boolean formula combining the filter boxes by their number.
filterMainBoxMainFilterBox!Primary group of filter conditions.
filterSiblingBoxes[FilterBox!]!Additional condition groups, combined per operator/formula.
isEnabledBoolean!When false, the filter is ignored and all records match.
ProductPriceListStatusEnum enum Active, Inactive, Scheduled, Expired

Effective status of a price list.

ValueDescription
ActiveThe price list is switched on and within its validity dates.
InactiveThe price list is switched off.
ScheduledThe price list's start date is in the future.
ExpiredThe price list's end date has passed.
ProductPriceListTypeEnum enum Standard, Scheduled

Kind of price list.

ValueDescription
StandardRegular price list that offers product prices to matching records.
ScheduledPrice schedule with special prices; while active, its lowest applicable price takes precedence over standard price lists.