has_one
payment_methods

Retrieve the default payment method associated to the order

Changed on

Retrieve the default payment method associated to the order

get/orders/{orderId}/default_payment_method

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/orders/{orderId}/default_payment_method
  • Auth
    HTTP bearer

Path parameters

orderIdstring required

The resource's id

Response

The default_payment_method associated to the order

Changes