Handling Returns
Progressive Leasing requires that all returns be authorized by Progressive prior to submitting the return. This can be accomplished using the /application/return/availability/
endpoint as shown below:
curl --request POST \
--url https://www.progressivelp.com/Progressive.B2BAPI.Orchestrator/api/v1/application/return/availability?applicationId={applicationId} \
--header 'Accept: application/json' \
--header 'Authorization: Basic {auth_hash}' \
--header 'Content-Type: application/*+json'
If merchandiseReturnAuthorization.isReturnEligible
returns TRUE
, then a return can be attempted using /application/return/
curl --request POST \
--url https://www.progressivelp.com/Progressive.B2BAPI.Orchestrator/api/v1/application/return \
--header 'Accept: application/json' \
--header 'Authorization: Basic {auth_hash}' \
--header 'Content-Type: application/*+json' \
--data '
{
"applicationId": {applicationId},
"dateOfReturn": "2022-03-17T23:04:17.199Z"
}
'
If the lease is in Lease Accepted
status, and no part of the order has been shipped, the order can be canceled instead of returned. This is accomplished using the /application/contract
endpoint.
curl --request DELETE \
--url https://www.progressivelp.com/Progressive.B2BAPI.Orchestrator/api/v1/application/contract?applicationId={applicationId} \
--header 'Accept: application/json' \
--header 'Authorization: Basic {auth_hash}' \
--header 'Content-Type: application/*+json'
Updated over 2 years ago