updatePurchase
Syntax
updatePurchase( purchase_id, data )
Changes the tracking data of an order.
Access rights
Full access required.
Parameters
purchase_id
data – Array with these fields:
- tracking_param – The vendor's tracking key
- custom – The custom field
- unlock_invoices - if true, access to order details and invoices will be granted to the buyer. Invoice and order details links will then work again. By default, access expires after 3 years.
- next_payment_at - date - extend the rebilling payment interval. Use this to grant the buyer a payment pause. It's not possible to shorten the payment intervals (and receive some extra money).
Return data
Array (
[is_modified] => Y
)
Was this helpful?