Orders

Delete a customer order

delete/customer-billing/orders/{id}

Request

  • Base URL
    https://api.fanheroapi.com
  • URL
    https://api.fanheroapi.com/customer-billing/orders/{id}
  • Auth
    API key in header apiKey

Response

Returns an OrderOutput object with details of the deleted order.

idstring required

Order ID

createdAtstring required
updatedAtstring required
deletedboolean required
accountstring required
subscriptionstring required
invoicestring required
paymentstring required
productstring required
status'PENDING' | 'ACTIVE' | 'FAILED' | 'UNPAID' | 'CANCELED' required
amountnumber required
customFieldsobject required

Example response

{
  "id": "62420f859d68ae3d2cf769cc",
  "createdAt": "2023-02-09T19:00:05.641Z",
  "updatedAt": "2023-02-09T19:00:05.641Z",
  "account": "62420f70f2b687fb054df722",
  "subscription": "62420f72144f596fcd9f4a5a",
  "invoice": "62420f75044d56cd3398d4f7",
  "payment": "62420f771dcb96a8ac5bae8c",
  "product": "62420f7a0b7bac3955bcd95b",
  "status": "ACTIVE",
  "amount": 122.75,
  "customFields": {
    "fullName": "Jon Doe"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.