I feel stupid. No one else seems to have this problem. I want to replace "purchase_units". According to the docs it can be replaced. But it is not working. Patching a single property of purchase_units is also not working. Request: curl -v -X PATCH <a href="https://api.sandbox.paypal.com/v2/checkout/orders/ORDER_ID/" target="_blank">https://api.sandbox.paypal.com/v2/checkout/orders/ORDER_ID/</a> -H "Content-Type: application/json" -H "Authorization: Bearer ACCESS_TOKEN" -d '[{"op":"replace","path":"/purchase_units/@reference_id=='default'","value":[{"amount":{"currency_code":"EUR","value":"11.22"}}]}]' Response: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"path","value":"/purchase_units/@reference_id==default","location":"body","issue":"INVALID_JSON_POINTER_FORMAT","description":"Path should be a valid JSON Pointer <a href="https://tools.ietf.org/html/rfc6901" target="_blank">https://tools.ietf.org/html/rfc6901</a> that references a location within the request where the operation is performed."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"b25a467e2950a","links":[{"href":"<a href="https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_JSON_POINTER_FORMAT","rel":"information_link","method":"GET" target="_blank">https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_JSON_POINTER_FORMAT","rel":"information_link","method":"GET</a>"}]} The example in the docs is also not working. invoice_id is being patched but the value passed is an object with the property integration_artifact?? This makes no sense. invoice_id should be a string. Please help ;(
... View more