Send Certificate via Place Order API
Endpoint:POST /rest/V1/carts/mine/payment-information
Description: Allows the submission of payment information and includes functionality to send a certificate as part of the order placement process.
Request Body Example:
{
"paymentMethod": {
"method": "purchaseorder",
"extension_attributes": {
"agreement_ids": ["1"]
}
},
"billing_address": {
"email": "user@example.com",
"region": "Region Name",
"region_id": 518,
"region_code": "XX",
"country_id": "NL",
"street": [
"123 Example St"
],
"postcode": "123456",
"city": "Example City",
"telephone": "1234567890",
"firstname": "FirstName",
"lastname": "LastName",
"extension_attributes": {
"custom_email": "custom_email@example.com"
}
}
}
Key Notes:
- Extension Attributes:
custom_email: Add a customer email attribute underbilling_addressfor sending the certificate.