Agreements
The Agreement object represents an instance of a relationship between the seller, buyer, and licensee. It may refer to one-time purchases or a set of subscriptions.
This object contains the following properties:
id
string
Primary account identifier.
Example: AGR-2119-4550-8674
href
string
Relative reference to the object in the API.
Example: /v1/commerce/agreements/AGR-2119-4550-8674
status
string
The key status of the object. May only be specified on creation and cannot be updated with PUT
.
name
string
The agreement name. The value is assigned automatically when the agreement is created, as {product.name} for {licensee.name}. The value can be changed later.
Example: Microsoft Office 365 NCE E1
vendor
A reference to the vendor account object filled in upon creation, according to the product.
Example:
client
A reference to the client account object.
Example:
buyer
A reference to the Buyer object.
Example:
seller
A reference to the Seller object.
Example:
licensee
A reference to the Licensee object.
Example:
product
A reference to the Product object.
Example:
listing
A reference to the listing that allows this agreement.
Example:
authorization
A reference to the Authorization object used for the agreement.
Example:
price
price
The agreement's pricing details including the monthly and yearly costs, excluding one-time charges.
Different aspects of the price object are visible to different actors, as indicated in the Price Object.
Example:
template
A reference to the Template object.
Example:
error
errorObject
Markup text string explaining the reason for provisioning failure.
Example:
lines
lines
A list of items in the agreement.
Example:
subscriptions
A list of subscriptions in the agreement.
Example:
parameters.fulfillment
An object that holds a concise definition of a parameter, its value, and any associated errors.
Example:
parameters.ordering
An object that holds a concise definition of a parameter, its value, and any associated errors.
Example:
audit
A reference to the Audit object.
Possible audit events include Created
, Updated
, Activated
, Terminated
, or Failed
.
Example:
externalIds
A set of external IDs.
Example:
Example
Last updated
Was this helpful?