DELETE
/
v1
/
organizations
/
{organizationId}
/
contracts
/
{contractId}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

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.

Path Parameters

organizationId
string
required

Fabric internal id of the record.

contractId
string
required

Fabric internal id of the record or contract id.

Response

200 - application/json
_id
string
required

Fabric internal id of the record.

contractId
string
required

contract id. It must have 2 or more characters.

isDeleted
boolean
required

flag that indicates if the record is deleted.

partyId
string
required

Fabric internal id for party.

status
enum<string>
required

status.

Available options:
ACTIVE,
DRAFT,
INACTIVE
startDate
string
required

start date of the contract. It should be lower that the end date.

endDate
string
required

end date of the contract. It should be after the start date.

createdAt
string
required

date of creation of the record.

updatedAt
string
required

laste date of update of the record.

addressId
string

Fabric internal id for address.

accountId
string

Fabric internal id for account.

contractType
string

contract type.

additionalAttributes
object

Contains all additional attributes not captured in the schema.