GET v1/companies/{CompanyId}/entities/{LocationId}/integrators/{IntegratorId}/RefundInvoices/{InvoiceId}?EntityId={EntityId}
Get the refund invoice details of a refunded order.
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/{InvoiceId}
Usage:
Use this endpoint to get the invoice details of a refund that originated on an order 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 |
he 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 |
InvoiceId |
The InvoiceId of the refund invoice. |
globally unique identifier |
Required |
LocationId | string |
None. |
Body Parameters
None.
Response Information
Resource Description
CovaSalesOrderGetRefundInvoiceByIdReturnName | Description | Type | Additional information |
---|---|---|---|
RefundInvoiceId | globally unique identifier |
None. |
|
RefundInvoiceNumber | string |
None. |
|
OriginalInvoiceId | globally unique identifier |
None. |
|
RefundOrderId | globally unique identifier |
None. |
|
RefundOrderNumber | string |
None. |
|
OriginalOrderNumber | string |
None. |
|
LocationId | integer |
None. |
|
CustomerId | globally unique identifier |
None. |
|
ProductsRefunded | Collection of CovaSalesOrderGetRefundInvoiceByIdProductsrefunded |
None. |
|
Payments | Collection of CovaSalesOrderGetRefundInvoiceByIdPayment |
None. |
Response Formats
application/json, text/json
{ "RefundInvoiceId": "445ccd8a-748f-43bd-8dd0-e9af8faa6ea0", "RefundInvoiceNumber": "sample string 2", "OriginalInvoiceId": "30404352-ca25-4871-9aa1-74cdf056c15c", "RefundOrderId": "e6eb1ba9-8c5e-4186-b5cd-e94ee56bcc7f", "RefundOrderNumber": "sample string 5", "OriginalOrderNumber": "sample string 6", "LocationId": 7, "CustomerId": "2e7955c9-60fd-48c9-ae1c-409f1a6b2b7f", "ProductsRefunded": [ { "ProductId": "cf23e2a5-9eec-4848-83af-5f4bf4647271", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "22f8bee7-eb38-4da5-a64d-4d9a33e55530", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "22f8bee7-eb38-4da5-a64d-4d9a33e55530", "Tax": 2.0, "TaxName": "sample string 3" } ] } }, { "ProductId": "cf23e2a5-9eec-4848-83af-5f4bf4647271", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "22f8bee7-eb38-4da5-a64d-4d9a33e55530", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "22f8bee7-eb38-4da5-a64d-4d9a33e55530", "Tax": 2.0, "TaxName": "sample string 3" } ] } } ], "Payments": [ { "PaymentId": "a905ac9c-b202-46f9-af56-97e17a774155", "OriginalPaymentId": "b819d665-990e-42cc-99c2-24556172f02f", "Last4Digits": "sample string 3", "CustomerAccountId": "05ae2af2-8699-4da9-89a9-a834784c0ade", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" }, { "PaymentId": "a905ac9c-b202-46f9-af56-97e17a774155", "OriginalPaymentId": "b819d665-990e-42cc-99c2-24556172f02f", "Last4Digits": "sample string 3", "CustomerAccountId": "05ae2af2-8699-4da9-89a9-a834784c0ade", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" } ] }