has_one
orders

Retrieve the order associated to the payment option

Changed on

Retrieve the order associated to the payment option

get/payment_options/{paymentOptionId}/order

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/payment_options/{paymentOptionId}/order
  • Auth
    HTTP bearer

Path parameters

paymentOptionIdstring required

The resource's id

Response

The order associated to the payment option

Changes