Skip to main content
Version: 8.8.x

Agreement Definition

An agreement definition describes the agreement details.

Read Agreement Definition​

Read the agreement definition from the item agreement selection.

Workflow​

  1. Start with item
  2. GET the link with rel: agreements
  3. GET the link with rel: element
  4. GET the link with rel: definition
  5. Render the response

Response Fields​

Type: agreements.item-agreement​

NameDescriptionType
agreement-lengthThe number of billing intervals in the agreement term.integer
billing-intervalAn object containing billing interval details for this agreement.object
  amountThe length of the billing interval, in units.integer
  unitThe unit of measure for the billing interval.string
can-be-cancelledIndicates if the subscription can be cancelled before the term ends.boolean
can-be-pausedIndicates if the subscription can be paused.boolean
display-nameThe name to display on the client.string
end-behaviourIndicates what happens after the agreement term ends. Can contain ROLLOVER or EXPIRE.string