GET v1/companies/{CompanyId}/entities/{LocationId}/integrators/{IntegratorId}/RefundInvoices?EntityId={EntityId}&DateSince={DateSince}&PaymentTypeName={PaymentTypeName}
Get all refund invoices by company and location, originating from an order created by the integrator, since a date.
Information:
Base URL:
https://api.covasoft.net/covaorderintake
Example of a call would be:
https://api.covasoft.net/covaorderintake/v1/companies/{CompanyId}/entities/{LocationId}/integrators/{IntegratorId}/RefundInvoices?DateSince=2020-11-05T00:00:00.00Z&PaymentTypes=Store Credit
Usage:
Use this endpoint to get all refund invoices created in a date range, by a location, originating with a specific integrator.
NOTE CURRENTLY IntegratorId PARAMETER IS IGNORED, AND ALL REFUNDS RETURNED. BE ADVISED THAT THIS WILL CHANGE AT A FUTURE DATE
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
The company the refund was created at. |
integer |
Required |
EntityId |
The location the refund was created at. |
integer |
Required |
IntegratorId |
The integrator who created the originating order. **CURRENTLY THIS PARAMETER IS IGNORED, AND ALL REFUNDS RETURNED. BE ADVISED THAT THIS WILL CHANGE AT A FUTURE DATE. |
globally unique identifier |
Required |
DateSince |
UTC date from date until now, to show refunds. |
date |
Required |
PaymentTypeName |
Optional param to filter results on payment type names. |
string |
None. |
LocationId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CovaSalesOrderGetInvoicesForRefundedOrdersReturnName | Description | Type | Additional information |
---|---|---|---|
InvoiceId | globally unique identifier |
None. |
|
InvoiceNumber | string |
None. |
|
OrderNumber | string |
None. |
|
Total | decimal number |
None. |
|
Type | string |
None. |
|
PaymentTypes | string |
None. |
|
CustomerID | globally unique identifier |
None. |
|
CreatedDateUtc | date |
None. |
Response Formats
application/json, text/json
[ { "InvoiceId": "131f9e62-0b91-4ac1-81a0-0379ef78f1c5", "InvoiceNumber": "sample string 2", "OrderNumber": "sample string 3", "Total": 4.0, "Type": "sample string 5", "PaymentTypes": "sample string 6", "CustomerID": "c11fc6a3-649d-41c0-b9a1-550b083e77f8", "CreatedDateUtc": "2024-11-25T11:49:14.0413224+00:00" }, { "InvoiceId": "131f9e62-0b91-4ac1-81a0-0379ef78f1c5", "InvoiceNumber": "sample string 2", "OrderNumber": "sample string 3", "Total": 4.0, "Type": "sample string 5", "PaymentTypes": "sample string 6", "CustomerID": "c11fc6a3-649d-41c0-b9a1-550b083e77f8", "CreatedDateUtc": "2024-11-25T11:49:14.0413224+00:00" } ]