v2024-05-25
Search
/
API Status
Partner Portal
Home
Guides
API Explorer
GitHub
Support
Home
Guides
API Explorer
GitHub
Support
API Concepts
Overview
Environments and URLs
Authentication
API versioning
Rate limiting
HTTP headers
Pagination, sorting, and filtering
General
Access tokens
Partner settings
Webhook subscriptions
Webhook deliveries
Events
Common
Entities
Entity bank accounts
Entity persons
Entity VAT IDs
Roles
Entity users
Counterparts
Counterpart addresses
Counterpart bank accounts
Counterpart contacts
Counterpart VAT IDs
Financing
Payment records
Projects
Tags
Accounts payable
Analytics
Approval policies
Approval requests
Comments
Credit notes
Payable line items
Payables
Purchase orders
GET
Get purchase orders
POST
Create a purchase order
GET
Get the available variables for purchase orders
GET
Get a purchase order by ID
DEL
Delete a purchase order
PATCH
Update a purchase order
POST
Preview a purchase order's email message
POST
Send a purchase order via email
Accounts receivable
Measure units
Overdue reminders
Payment reminders
Payment terms
Products
Receivables
Recurrences
VAT rates
Payments
Batch payments
Entity bank account verifications
Entity onboarding data
Onboarding documents
Onboarding links
Onboarding requirements
Payment intents
Payment links
Payment methods
Accounting integration
Accounting connections
Accounting data pull
Accounting synchronized records
Accounting tax rates
Ledger accounts
Utilities
Audit logs
Data export
Data export - extra data
Files
Mail templates
Mailbox domains
Mailboxes
PDF templates
Text templates
API Status
Partner Portal
Accounts payable
Purchase orders
Preview a purchase order's email message
POST
https://
api.sandbox.monite.com/v1
/
payable_purchase_orders
/
:purchase_order_id
/
preview
Path parameters
purchase_order_id
string
Required
Headers
Auth
Authorization
string
Required
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-version
string
Required
x-monite-entity-id
string
Required
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
body_text
string
Required
subject_text
string
Required
Response
Successful Response
body_preview
string
subject_preview
string
Errors
400
Post Payable Purchase Orders ID Preview Request Bad Request Error
401
Post Payable Purchase Orders ID Preview Request Unauthorized Error
403
Post Payable Purchase Orders ID Preview Request Forbidden Error
404
Post Payable Purchase Orders ID Preview Request Not Found Error
422
Post Payable Purchase Orders ID Preview Request Unprocessable Entity Error
500
Post Payable Purchase Orders ID Preview Request Internal Server Error
Send a purchase order via email
Up Next