INPUT_OBJECT

CreateOrUpdateOpptyProductRelationNoBackrefInput

Field values of an OpptyProductRelation record to create, or to update when its id is set, together with the record it belongs to.

link GraphQL Schema definition

  • input CreateOrUpdateOpptyProductRelationNoBackrefInput {
  • # Unique identifier of entity.
  • id: ID
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Counterpart line item on the paired record (e.g. matching line on the active
  • # quote when this line is on the opportunity, or vice versa). Empty when there is
  • # no pairing.
  • pairedOpptyProductRelation: CreateOpptyProductRelationInput
  • # Total amount of the line item (price * quantity, with discounts applied).
  • amount: Float
  • # Free-form note describing this line item.
  • comment: String
  • # Id of the currency exchange rate list used to convert this line item, inherited
  • # from the parent opportunity or quote.
  • currencyExchangeRatesListId: ID
  • # Id of the online form field in which the respondent selected this product, or
  • # empty when the line item did not come from a form submission.
  • onlineFormFieldId: ID
  • # Id of the line-item type.
  • opptyProductRelationTypeId: ID
  • # Id of the paired line item.
  • pairedOpptyProductRelationId: ID
  • # Per-unit price of the line item. Defaults to the product price from the price
  • # list when not supplied explicitly.
  • price: Float
  • # Id of the product on this line item. Set on create; cannot be changed
  • # afterwards.
  • productId: ID
  • # Number of product units on this line item.
  • quantity: Float
  • # Identifier of the product section this line belongs to (see the productSections
  • # JSON layout on the parent opportunity or quote).
  • sectionId: ID
  • # Display order of the line item within its section. Maintained automatically when
  • # lines are added or moved.
  • sortOrder: Int
  • # Custom field values to set, as a JSON object keyed by custom field API name,
  • # e.g. {"cfBudget": 1000}. Only the custom fields included are changed; each value
  • # uses the format of that field.
  • customFields: JSONString
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Per-line revenue schedule splitting the line amount across periods. Available
  • # only when revenue scheduling is configured at product-amount level.
  • revenueSchedule: UpdateOpptyProductRelationRevenueScheduleNoIdBackrefInput
  • }