- Authorization
- Orders
- Payments
- Invoices
- Invoices
- Templates
- Subscriptions
- Catalog Products
- Plans
- Subscriptions
- Payouts
- Webhooks
- Shipment Tracking
- Transaction Search
- Disputes
- List disputes
- Show dispute details
- Accept claim
- Appeal dispute
- Settle dispute
- Update dispute status
- Make offer to resolve dispute
- Provide evidence
- Acknowledge returned item
- Provide supporting information for dispute
- Escalate dispute to claim
- Accept offer to resolve dispute
- Send message about dispute to other party
- Deny offer to resolve dispute
- Partially update dispute
- Onboarding (Limited Release)
Delete template
DELETE
/v2/invoicing/templates/{template_id}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Basic 之后拼接空格,以及经过 Base64 编码的 username:password
示例:
Authorization: Basic *****************
Path 参数
template_id
string
必需
示例值:
{{invoice_template_id}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://api-m.sandbox.paypal.com/v2/invoicing/templates/{{invoice_template_id}}' \
--header 'Authorization: Basic Og=='
返回响应
🟢204204 No Content - Delete Template
application/json
Body
object {0}
示例
{}
🟠401401 Unauthorized - Invalid Token
🟠404404 Not Found - Template Not Found
修改于 2023-08-16 07:18:59