Update organization contract
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
Fabric internal id of the record.
"619fbb95969ceb49d19cd5a8"
Fabric internal id of the record or contract id.
"1234-5678-90123"
Body
start date of the contract. It should be lower that the end date.
"2021-08-19T15:16:20.630Z"
end date of the contract. It should be after the start date.
"2021-12-20T15:16:20.630Z"
status
ACTIVE
, DRAFT
, INACTIVE
"ACTIVE"
contract type
"TYPE-A"
price list id to create a relationship priceList-contract if sent.
100000
Contains all additional attributes not captured in the schema.
Response
Fabric internal id of the record
"61604a30fdfacd0009816e44"
contract id. It must have 2 or more characters.
201000000000013
Fabric internal id for party
"61a77df3941da90009fd35db"
status
ACTIVE
, DRAFT
, INACTIVE
"ACTIVE"
start date of the contract. It should be lower that the end date.
"2021-08-19T15:16:20.630Z"
end date of the contract. It should be after the start date.
"2021-12-20T15:16:20.630Z"
on contract flag. The default value is false.
true
promotion stacking flag. The default value is false.
true
flag that indicates if the record is deleted
false
date of creation of the record
"2021-08-30T23:20:42.822Z"
laste date of update of the record
"2021-08-30T23:20:42.822Z"
Fabric internal id for address
"6182ae91c67c61932b38c382"
Fabric internal id for account
"6182aeb6c67c61932b38c38b"
contract type
"TYPE-A"
Contains all additional attributes not captured in the schema.
this relationship we'll be created only if priceListId was sent in the request body
Was this page helpful?