Get Agreement

Get a single Agreement object by ID.

get
Path parameters
idstringRequired
Query parameters
selectstringOptional
Responses
200
OK
application/json
get
GET /public/v1/commerce/agreements/{id} HTTP/1.1
Host: 
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-21T20:46:20.506Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "updated": {
      "at": "2025-06-21T20:46:20.506Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "active": {
      "at": "2025-06-21T20:46:20.506Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "provisioning": {
      "at": "2025-06-21T20:46:20.506Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "terminated": {
      "at": "2025-06-21T20:46:20.506Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "icon": "text",
  "status": "text",
  "listing": {
    "id": "text"
  },
  "authorization": {
    "id": "text",
    "name": "text",
    "currency": "text"
  },
  "vendor": {
    "id": "text",
    "icon": "text",
    "type": "text",
    "status": "text",
    "name": "text"
  },
  "client": {
    "id": "text",
    "icon": "text",
    "type": "text",
    "status": "text",
    "name": "text"
  },
  "price": {
    "currency": "text",
    "markup": 1,
    "margin": 1,
    "SPxY": 1,
    "SPxM": 1,
    "PPxY": 1,
    "PPxM": 1
  },
  "startDate": "2025-06-21T20:46:20.506Z",
  "endDate": "2025-06-21T20:46:20.506Z",
  "template": {
    "id": "text",
    "name": "text"
  },
  "error": {
    "id": "text",
    "message": "text",
    "parameters": null
  },
  "name": "text",
  "lines": [
    {
      "id": "text",
      "quantity": 1,
      "item": {
        "id": "text",
        "audit": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "name": "text",
        "description": "text",
        "externalIds": {
          "vendor": "text",
          "operations": "text"
        },
        "group": {
          "id": "text",
          "name": "text"
        },
        "unit": {
          "id": "text",
          "description": "text",
          "name": "text"
        },
        "terms": {
          "period": "1m",
          "commitment": "1m"
        },
        "quantityNotApplicable": true,
        "status": "text",
        "product": {
          "id": "text",
          "name": "text",
          "externalIds": {
            "operations": "text",
            "defaultErpItem": "text"
          },
          "icon": "text",
          "status": "text"
        },
        "parameters": [
          {
            "id": "text",
            "externalId": "text",
            "type": "text",
            "name": "text",
            "value": null,
            "displayValue": "text"
          }
        ]
      },
      "audit": {
        "created": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "updated": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "terminated": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "deleted": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        }
      },
      "price": {
        "currency": "text",
        "markup": 1,
        "margin": 1,
        "unitSP": 1,
        "unitPP": 1,
        "PPx1": 1,
        "SPx1": 1
      },
      "order": {
        "id": "text",
        "audit": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "type": "text",
        "status": "text",
        "notes": "text",
        "comments": "text",
        "statusNotes": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "template": {
          "id": "text",
          "name": "text"
        },
        "listing": {
          "id": "text"
        },
        "authorization": {
          "id": "text",
          "name": "text",
          "currency": "text"
        },
        "agreement": {
          "id": "text",
          "icon": "text",
          "status": "text",
          "name": "text"
        },
        "assignee": {
          "id": "text",
          "name": "text",
          "icon": "text"
        },
        "externalIds": {
          "client": "text",
          "operations": "text",
          "vendor": "text"
        },
        "price": {
          "currency": "text",
          "markup": 1,
          "margin": 1,
          "defaultMarkup": 1,
          "PPx1": 1,
          "SPx1": 1,
          "SPxY": 1,
          "SPxM": 1,
          "PPxY": 1,
          "PPxM": 1
        },
        "lines": [
          "[Circular Reference]"
        ],
        "subscriptions": [
          "[Circular Reference]"
        ],
        "parameters": {
          "ordering": [
            {
              "id": "text",
              "externalId": "text",
              "name": "text",
              "type": "text",
              "phase": "text",
              "error": {
                "id": "text",
                "message": "text",
                "parameters": null
              },
              "constraints": {
                "required": true,
                "hidden": true,
                "readonly": true
              },
              "displayValue": "text",
              "value": null
            }
          ],
          "fulfillment": [
            {
              "id": "text",
              "externalId": "text",
              "name": "text",
              "type": "text",
              "phase": "text",
              "error": {
                "id": "text",
                "message": "text",
                "parameters": null
              },
              "constraints": {
                "required": true,
                "hidden": true,
                "readonly": true
              },
              "displayValue": "text",
              "value": null
            }
          ]
        },
        "error": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "product": {
          "id": "text",
          "name": "text",
          "externalIds": {
            "operations": "text",
            "defaultErpItem": "text"
          },
          "icon": "text",
          "status": "text"
        },
        "client": {
          "id": "text",
          "icon": "text",
          "type": "text",
          "status": "text",
          "name": "text"
        },
        "licensee": {
          "id": "text",
          "icon": "text",
          "name": "text",
          "externalId": "text"
        },
        "buyer": {
          "id": "text",
          "icon": "text",
          "name": "text"
        },
        "seller": {
          "id": "text",
          "icon": "text",
          "externalId": "text",
          "name": "text"
        },
        "vendor": {
          "id": "text",
          "icon": "text",
          "type": "text",
          "status": "text",
          "name": "text"
        },
        "billTo": {
          "id": "text",
          "icon": "text",
          "name": "text"
        },
        "pricingPolicy": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "termsAndConditions": [
          "[Circular Reference]"
        ],
        "certificates": [
          {
            "id": "text",
            "name": "text"
          }
        ],
        "defaultMarkupSource": "text"
      },
      "status": "text"
    }
  ],
  "subscriptions": [
    {
      "id": "text",
      "name": "text"
    }
  ],
  "parameters": {
    "ordering": [
      {
        "id": "text",
        "externalId": "text",
        "name": "text",
        "type": "text",
        "phase": "text",
        "error": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "constraints": {
          "required": true,
          "hidden": true,
          "readonly": true
        },
        "displayValue": "text",
        "value": null
      }
    ],
    "fulfillment": [
      {
        "id": "text",
        "externalId": "text",
        "name": "text",
        "type": "text",
        "phase": "text",
        "error": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "constraints": {
          "required": true,
          "hidden": true,
          "readonly": true
        },
        "displayValue": "text",
        "value": null
      }
    ]
  },
  "licensee": {
    "id": "text",
    "icon": "text",
    "name": "text",
    "externalId": "text"
  },
  "buyer": {
    "id": "text",
    "icon": "text",
    "name": "text"
  },
  "seller": {
    "id": "text",
    "icon": "text",
    "externalId": "text",
    "name": "text"
  },
  "product": {
    "id": "text",
    "name": "text",
    "externalIds": {
      "operations": "text",
      "defaultErpItem": "text"
    },
    "icon": "text",
    "status": "text"
  },
  "externalIds": {
    "client": "text",
    "operations": "text",
    "vendor": "text"
  },
  "split": {
    "id": "text",
    "audit": {
      "created": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      },
      "updated": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "allocations": [
      {
        "buyer": {
          "id": "text",
          "icon": "text",
          "name": "text"
        },
        "percentage": 1,
        "price": {
          "currency": "text",
          "SPxY": 1,
          "SPxM": 1,
          "PPxY": 1,
          "PPxM": 1
        },
        "audit": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "statistics": {
          "subscriptions": 1
        },
        "externalIds": {
          "client": "text",
          "operations": "text",
          "vendor": "text"
        }
      }
    ]
  },
  "termsAndConditions": [
    {
      "id": "text",
      "audit": {
        "created": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "updated": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "published": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "pending": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "unpublished": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "name": "text",
      "description": "text",
      "displayOrder": 1,
      "status": "text",
      "product": {
        "id": "text",
        "name": "text",
        "externalIds": {
          "operations": "text",
          "defaultErpItem": "text"
        },
        "icon": "text",
        "status": "text"
      },
      "accepted": "2025-06-21T20:46:20.506Z",
      "acceptedBy": {
        "id": "text",
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "name": "text",
        "firstName": "text",
        "lastName": "text",
        "email": "text",
        "icon": "text"
      }
    }
  ],
  "certificates": [
    {
      "id": "text",
      "name": "text"
    }
  ]
}

Last updated

Was this helpful?