Agreement

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 attributes:

Field Name
Data Type
Description

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

object

A reference to the vendor account object filled in upon creation, according to the product.

Example:

client

object

A reference to the client account object.

Example:

buyer

object

A reference to the buyer object.

Example:

seller

object

A reference to the seller object.

Example:

licensee

object

A reference to the licensee object.

Example:

product

object

A reference to the product object.

Example:

listing

listing

A reference to the listing that allows this agreement.

Example:

authorization

object

A reference to the authorization object used for the agreement.

Example:

price

object

The agreement's pricing details, including the monthly and yearly costs, exclude one-time charges.

Different aspects of the price object are visible to actors, as indicated in the price object.

Example:

template

object

A reference to the template object.

Example:

error

object (error)

Markup text string explaining the reason for provisioning failure.

Example:

lines

object (line)

A list of items in the agreement.

Example:

subscriptions

object

The subscription within the agreement.

Example:

parameters.fulfillment

object

The orderParameter object containing a concise definition of a parameter, its value, and any associated errors.

Example:

parameters.ordering

object

The orderParameter object containing a concise definition of a parameter, its value, and any associated errors.

Example:

audit

object

A reference to the audit object. Allowed values: created, updated, activated, terminated,or failed.

externalIds

externalIds

A set of externalIds.

Example:

Example response

Last updated

Was this helpful?