GET Companies({CompanyId})/Sales({SalesOrderId})

Returns Details for the Sales Order Id provided

Information:

Base URL:

https://api.covasoft.net/pointofsale

Example of a call would be:

https://api.covasoft.net/pointofsale/Companies({CompanyId})/Sales({SalesOrderId})

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

The unique Company Id that was provided in your onboarding pacakage.

integer

Required

SalesOrderId

This is Sales Order Id Guid that you want details for

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Details for the Sales Order Id provided

GetSalesOrderByIdReturn
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Location

Location

None.

Status

string

None.

Details

Object

None.

CreatedTime

date

None.

TenderedByUserId

integer

None.

TenderedBy

string

None.

Customer

Customer

None.

ReceiptNumber

string

None.

InStock

Collection of InStock

None.

Dropships

Collection of Object

None.

TaxCalculation

TaxCalculation

None.

Payments

Payments

None.

Discounts

Object

None.

Invoice

Object

None.

Total

Total

None.

SaleOverrides

SaleOverrides

None.

OrderFulfillment

OrderFulfillment

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "8162c7d2-c397-4851-b9ba-f0fd6c310a0b",
  "Location": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "Status": "sample string 2",
  "Details": {},
  "CreatedTime": "2024-11-07T08:48:44.2489853+00:00",
  "TenderedByUserId": 5,
  "TenderedBy": "sample string 6",
  "Customer": {
    "Id": "c6887b92-8534-4405-b10a-33983e8bd190",
    "Number": "sample string 2",
    "FullName": "sample string 3",
    "ShippingAddressId": {},
    "ShippingAddress": {},
    "BillingAddress": {},
    "BillingAddressId": {},
    "AddressId": {},
    "MedicalInformation": {}
  },
  "ReceiptNumber": "sample string 7",
  "InStock": [
    {
      "No": 1,
      "CatalogId": "ecbe607d-6f1c-4b8a-8cf1-6ec9676f5864",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    },
    {
      "No": 1,
      "CatalogId": "ecbe607d-6f1c-4b8a-8cf1-6ec9676f5864",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    }
  ],
  "Dropships": [
    {},
    {}
  ],
  "TaxCalculation": {
    "TaxCalculcationId": {},
    "Lines": [
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "d0bf81c3-4d31-4cf4-97d7-05d9e99872c1",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "d0bf81c3-4d31-4cf4-97d7-05d9e99872c1",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      },
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "d0bf81c3-4d31-4cf4-97d7-05d9e99872c1",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "d0bf81c3-4d31-4cf4-97d7-05d9e99872c1",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      }
    ]
  },
  "Payments": {
    "Items": [
      {},
      {}
    ],
    "ChangeDue": 1,
    "CashBack": 2
  },
  "Discounts": {},
  "Invoice": {},
  "Total": {
    "Products": 1,
    "Taxes": 2.1
  },
  "SaleOverrides": {
    "UserId": 1,
    "Authorizations": {
      "Discount": {
        "invoiceLevel": [
          {
            "name": "sample string 1",
            "value": 2.1,
            "valueType": "sample string 3"
          },
          {
            "name": "sample string 1",
            "value": 2.1,
            "valueType": "sample string 3"
          }
        ],
        "Granted": true,
        "Tag": "sample string 2",
        "Percentage": 1.1,
        "Dollar": 1.1
      }
    }
  },
  "OrderFulfillment": {
    "Source": "sample string 1",
    "Method": "sample string 2",
    "Reference": "sample string 3",
    "OrderNumber": {},
    "Status": "sample string 5",
    "TrackingNumber": {}
  }
}