/identity/v1/price-adjustments/{priceAdjustmentId}/attach-assets
Attach assets to a specific price adjustment for a network.
assetGroupIds
array
required
{
"assetGroupIds": [
"string"
]
}
OK
{
"attached": true
}
/identity/v1/price-adjustments
Retrieve a list of price adjustments based on specified criteria
limit
string
The maximum number of price adjustments to return (default 20, maximum 100).
startingAfter
string
The 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-adjustments
Create a new price adjustment for a site partner
sitePartnerId
string
required
name
object
required
en_US
string
required
type
string
required
expirationDate
string
amount
number
required
maxAdjustment
number
autoApproveInvitations
boolean
required
networkId
string
currency
string
required
{
"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-drivers
Detach one or more drivers from a price adjustment by providing a list of driver IDs
driverIds
array
required
{
"driverIds": [
"string"
]
}
OK
{
"success": true
}
/identity/v1/price-adjustments/{priceAdjustmentId}/disable
Disable a specific price adjustment
priceAdjustmentId
string
required
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-assets
Retrieve a list of Price Adjustment Asset Junctions based on specified criteria.
limit
string
The maximum number of Price Adjustment Asset Junctions to return (default 20, maximum 100).
startingAfterAsset
string
The ID of the last asset in the previous page of results. Results will start after this asset.
startingAfterPriceAdjustment
string
The 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-drivers
Retrieve a list of Price Adjustment Driver Junctions based on specified criteria.
limit
string
The maximum number of Price Adjustment Druver Junctions to return (default 20, maximum 100).
startingAfterDriver
string
The ID of the last driver in the previous page of results. Results will start after this driver.
startingAfterPriceAdjustment
string
The 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/search
Search for an applicable price adjustment based on assetId and driverId
assetId
string
The ID of the asset for which the price adjustment is applicable.
driverId
string
The 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./
name
object
en_US
string
required
autoApproveInvitations
boolean
{
"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?