On this page
No Headings
Oauth 2.0 authentication
Client CredentialsToken URLhttps://api-m.sandbox.paypal.com/v1/oauth2/tokenInheaderScopes
https://uri.paypal.com/services/invoicing/invoices/readwritehttps://uri.paypal.com/services/invoicing/internalThe ID of the invoice for which to delete the conditional rule associated with it.
^INV2-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}$24 <= length <= 24The conditional rule ID of the invoice for which to delete the detail.
^CR-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$39 <= length <= 39Holds authorization information for external API calls.
^.*$1 <= length <= 16000application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://api-m.sandbox.paypal.com/v2/invoicing/invoices/stringstringstringstring/conditional-rules/stringstringstringstringstringstringstr" \ -H "Authorization: Bearer A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ"{
"name": "INVALID_REQUEST",
"message": "Request is not well-formed, syntactically incorrect, or violates schema.",
"debug_id": "80931aae87961",
"details": [
{
"issue": "INVALID_PARAMETER_VALUE",
"description": "The value of a field is invalid.",
"field": "conditional_rule_id",
"value": "CR-11FF-A725-27C6999C-A699-33CD614E75EC",
"location": "path"
}
],
"links": [
{
"href": "https://developer.paypal.com/docs/api/invoicing/#errors",
"rel": "information_link",
"method": "GET"
}
]
}{
"name": "AUTHENTICATION_FAILURE",
"debug_id": "b1d1f06c7246c",
"message": "Authentication failed due to missing Authorization header, or invalid authentication credentials."
}{
"name": "NOT_AUTHORIZED",
"debug_id": "b1d1f06c7246c",
"message": "Authorization failed due to insufficient permissions."
}{
"name": "RESOURCE_NOT_FOUND",
"message": "The specified resource does not exist.",
"debug_id": "13baa436f527b",
"links": [
{
"href": "https://developer.paypal.com/docs/api/invoicing/#errors",
"rel": "information_link",
"method": "GET"
}
]
}{
"name": "INTERNAL_SERVER_ERROR",
"debug_id": "b1d1f06c7246c",
"message": "An internal server error has occurred."
}{
"name": "INTERNAL_SERVER_ERROR",
"debug_id": "b1d1f06c7246c",
"message": "An internal server error has occurred."
}