{ "name": "Hours Template2068368965", "default": true, "unit_of_measure": "HOURS", "template_data": { "tax_calculated_after_discount": false, "tax_inclusive": false, "note": "Thank you for your business", "logo_url": "https://pics.paypal.com/v1/images/redDot.jpeg", "items": [ { "name": "Nutri Bullet", "quantity": "1", "unit_price": { "currency": "USD", "value": "50.00" } } ], "merchant_info": { "email": "jaypatel512-facilitator@hotmail.com" } }, "settings": [ { "field_name": "custom", "display_preference": { "hidden": true } }, { "field_name": "items.date", "display_preference": { "hidden": true } } ] }
Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/invoicing/templates.
{ "name": "BUSINESS_ERROR", "message": "Exceed maximum number of templates.", "information_link": "https://developer.paypal.com/docs/api/invoicing/#errors", "debug_id": "13745232f0fcd", "details": [ { "location": "15", "value": "Exceed maximum number of templates", "error_code": "15" } ] }