Creates a partnership agreement
Creates a depth commitment contract. An agreement between an agency (member) and Trade Me, to upgrade all listings of a matched criteria, to a set level of depth product.
| URL: | https://api.trademe.co.nz/v1/Property/PartnershipAgreements.{file_format} |
|---|---|
| HTTP Method: | POST |
| Requires Authentication? | Yes |
| Permission Required: | PropertyB2BInternalServicesWrite: Oidc write permission for Customer Broker Api |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| file_format | Enumeration (required) | The format of the response. | ||||
|---|---|---|---|---|---|---|
|
||||||
POST Data
<CommitmentContractRequest>
| CrmId | String (required) |
The external ID of the contract from the source system |
|||||||
|---|---|---|---|---|---|---|---|---|---|
| MemberId | Integer (required) |
The member ID of the agency for which this contract applies |
|||||||
| StartDate | DateTime (optional) |
The start date of the contract. If not supplied, this will be defaulted to the current date |
|||||||
| EndDate | DateTime (optional) |
The end date of the contract. If not supplied, the contract will not expire |
|||||||
| ItemCode | String (required) |
The financial item code for the depth product applied to listings as part of this contract. This will be used for invoicing purposes |
|||||||
| InvoiceLine | String (required) |
The descriptive invoice line for the depth product applied to listings as part of this contract |
|||||||
| PaymentType | String (required) |
The payment type for the depth product applied to listings as part of this contract |
|||||||
| ListingFee | Boolean (optional) |
If true, when a listing is created while this contract is in effect, the listing fee (or base fee) will not be charged. If false, the listing fee will continue to be charged |
|||||||
| FeatureCombo | Boolean (optional) |
If true, Feature Combo will be applied to listings subject to this contract |
|||||||
| PackageCode | String (optional) |
The code of any package that are applied to listings subject to this contract |
|||||||
| CategoryIds | Collection of Integer (required) |
The listing categories in which this contract will apply |
|||||||
| ListingExtras | Collection of <ListingExtras> (optional) |
The listing extras that are applied to listings subject to this contract |
|||||||
|
|||||||||
| AutoApplyPremiumPackage | Boolean (optional) |
Flag for whether the PA is NOT Flexi or Flexi (true = Not Flexi) |
|||||||
Returns
<CommitmentContractResponse>
| Success | Boolean |
Indicates whether the operation was successful. |
|---|---|---|
| Description | String or null |
The description of the error, if the operation failed. |
| CommitmentContractId | Integer |
The internal ID of the commitment contract |