has_one
payment_methods
Retrieve the default payment method associated to the order
Changed onRetrieve the default payment method associated to the order
get/orders/{orderId}/default_payment_method
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/orders/{orderId}/default_payment_method
- AuthHTTP bearer
Path parameters
orderIdstring required
The resource's id
Response
The default_payment_method associated to the order
Changes
- info
endpoint added
- info