/identity/v1/price-adjustments/{priceAdjustmentId}/attach-assetsAttach assets to a specific price adjustment for a network.
assetGroupIdsarrayrequired
{
"assetGroupIds": [
"string"
]
}OK
{
"attached": true
}/identity/v1/price-adjustmentsRetrieve a list of price adjustments based on specified criteria
limitstringThe maximum number of price adjustments to return (default 20, maximum 100).
startingAfterstringThe ID of the last price adjustment in the previous page of results. Results will start after this price adjustment.
A list of price adjustments
{
"data": {
"hasMore": true,
"items": [
{
"id": "string",
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"currency": "string",
"expirationDate": "2023-06-07T17:32:28Z",
"type": "PERCENTAGE",
"amount": 123.0,
"maxAdjustment": 123.0,
"status": "ACTIVE",
"autoApproveInvitations": true,
"networkId": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
]
}
}/identity/v1/price-adjustmentsCreate a new price adjustment for a site partner
sitePartnerIdstringrequired
nameobjectrequired
en_USstringrequired
typestringrequired
expirationDatestringamountnumberrequired
maxAdjustmentnumberautoApproveInvitationsbooleanrequired
networkIdstringcurrencystringrequired
{
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"type": "PERCENTAGE",
"expirationDate": "2023-06-07T17:32:28Z",
"amount": 123.0,
"maxAdjustment": 123.0,
"autoApproveInvitations": true,
"networkId": "string",
"currency": "string"
}OK
{
"data": {
"id": "string",
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"currency": "string",
"expirationDate": "2023-06-07T17:32:28Z",
"type": "PERCENTAGE",
"amount": 123.0,
"maxAdjustment": 123.0,
"status": "ACTIVE",
"autoApproveInvitations": true,
"networkId": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v1/price-adjustments/{priceAdjustmentId}/detach-assetsDetach assets from a specific price adjustment for a network.
assetGroupIdsarrayrequired
{
"assetGroupIds": [
"string"
]
}OK
{
"attached": true
}/identity/v1/price-adjustments/{priceAdjustmentId}/detach-driversDetach one or more drivers from a price adjustment by providing a list of driver IDs
driverIdsarrayrequired
{
"driverIds": [
"string"
]
}OK
{
"success": true
}/identity/v1/price-adjustments/{priceAdjustmentId}/disableDisable a specific price adjustment
priceAdjustmentIdstringrequired
OK
{
"data": {
"id": "string",
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"currency": "string",
"expirationDate": "2023-06-07T17:32:28Z",
"type": "PERCENTAGE",
"amount": 123.0,
"maxAdjustment": 123.0,
"status": "ACTIVE",
"autoApproveInvitations": true,
"networkId": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v1/price-adjustments-assetsRetrieve a list of Price Adjustment Asset Junctions based on specified criteria.
limitstringThe maximum number of Price Adjustment Asset Junctions to return (default 20, maximum 100).
startingAfterAssetstringThe ID of the last asset in the previous page of results. Results will start after this asset.
startingAfterPriceAdjustmentstringThe ID of the last price adjustment in the previous page of results. Results will start after this price adjustment.
OK
{
"data": {
"hasMore": true,
"items": [
{
"priceAdjustmentId": "string",
"networkId": "string",
"status": "ATTACHED",
"attachedAt": "2023-06-07T17:32:28Z",
"detachedAt": "2023-06-07T17:32:28Z",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z",
"assetId": "string"
}
]
}
}/identity/v1/price-adjustments-driversRetrieve a list of Price Adjustment Driver Junctions based on specified criteria.
limitstringThe maximum number of Price Adjustment Druver Junctions to return (default 20, maximum 100).
startingAfterDriverstringThe ID of the last driver in the previous page of results. Results will start after this driver.
startingAfterPriceAdjustmentstringThe ID of the last price adjustment in the previous page of results. Results will start after this price adjustment.
OK
{
"data": {
"hasMore": true,
"items": [
{
"priceAdjustmentId": "string",
"networkId": "string",
"status": "ATTACHED",
"attachedAt": "2023-06-07T17:32:28Z",
"detachedAt": "2023-06-07T17:32:28Z",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z",
"driverId": "string"
}
]
}
}/identity/v1/price-adjustments/searchSearch for an applicable price adjustment based on assetId and driverId
assetIdstringThe ID of the asset for which the price adjustment is applicable.
driverIdstringThe ID of the driver for whom the price adjustment is applicable.
OK
{
"data": {
"id": "string",
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"currency": "string",
"expirationDate": "2023-06-07T17:32:28Z",
"type": "PERCENTAGE",
"amount": 123.0,
"maxAdjustment": 123.0,
"status": "ACTIVE",
"autoApproveInvitations": true,
"networkId": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v1/price-adjustments/{priceAdjustmentId}This endpoint updates an existing priceAdjustment by its ID./
nameobjecten_USstringrequired
autoApproveInvitationsboolean{
"name": {
"en_US": "string"
},
"autoApproveInvitations": true
}The updated priceAdjustment object.
{
"data": {
"id": "string",
"sitePartnerId": "string",
"name": {
"en_US": "string"
},
"currency": "string",
"expirationDate": "2023-06-07T17:32:28Z",
"type": "PERCENTAGE",
"amount": 123.0,
"maxAdjustment": 123.0,
"status": "ACTIVE",
"autoApproveInvitations": true,
"networkId": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}Was this page helpful?