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": "cfb7ac76-03e1-44fd-85ad-c62ca20bafd7", "RefundInvoiceNumber": "sample string 2", "OriginalInvoiceId": "58f8aab4-10c4-40c4-9e7b-80051ab6a4a2", "RefundOrderId": "09604f0b-2ee4-40bc-a845-5feb57ea1edc", "RefundOrderNumber": "sample string 5", "OriginalOrderNumber": "sample string 6", "LocationId": 7, "CustomerId": "26da6144-1b1c-4a7e-8f87-606f82639726", "ProductsRefunded": [ { "ProductId": "7c68e923-599f-46c8-a428-67a57981e24d", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "adc815d9-9695-411d-88f3-23be4e353c69", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "adc815d9-9695-411d-88f3-23be4e353c69", "Tax": 2.0, "TaxName": "sample string 3" } ] } }, { "ProductId": "7c68e923-599f-46c8-a428-67a57981e24d", "Quantity": 2.0, "RefundedAmountBeforeTax": 3.0, "Taxes": { "Tax": 1.0, "TaxDetails": [ { "TaxId": "adc815d9-9695-411d-88f3-23be4e353c69", "Tax": 2.0, "TaxName": "sample string 3" }, { "TaxId": "adc815d9-9695-411d-88f3-23be4e353c69", "Tax": 2.0, "TaxName": "sample string 3" } ] } } ], "Payments": [ { "PaymentId": "c3001e62-1b15-42a5-9dda-ab135dd1d335", "OriginalPaymentId": "e3a0afb3-0ae5-4ae7-ba78-205b706210b1", "Last4Digits": "sample string 3", "CustomerAccountId": "cbb5b383-e0ce-474a-900a-3e3f02898071", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" }, { "PaymentId": "c3001e62-1b15-42a5-9dda-ab135dd1d335", "OriginalPaymentId": "e3a0afb3-0ae5-4ae7-ba78-205b706210b1", "Last4Digits": "sample string 3", "CustomerAccountId": "cbb5b383-e0ce-474a-900a-3e3f02898071", "PaymentMethodId": 4, "PaymentMethodName": "sample string 5", "Amount": 6.0, "TransactionDateUtc": "sample string 7" } ] }