Home Javascript SDK Rest API/SSO AppMarket Login

Method: /Stores/Orders

Endpoint

https://api.cashcow.co.il/Api/Stores/Orders

Method

HttpGet

Authentication

this method require a valid account access token. (parameter: token)

Permissions

Request

parameter Description Default Required
store_id Account Store Id Int True
page Page number Int True
page_size Number objects per page. maximum:20 Int True
order_status Filter by status:
1:Phone/BankTransfer
2:Lead
4:Paid
5:Error
6:Delivered
7:Paypal pending review
8:Cancaled
9:Claimed
Int False
OrderID Optional: Get by Order ID Int False
DaysFromNow Optional: Get results by days from now timespan. (0 = 2 years from now) Int False
token account access token string True

Response

Returns a valid JSON type.

Name Type Description
token String
response_time DateTime
state_id ResultState
result {
    Id Int32
    ShipingType TypesShipingTypes
    FirstName String
    LastName String
    Email String
    Phone String
    Address String
    OrderStatus TypesCustomerOrderTypes
    OrderDate DateTime
    ShipingPrice Double
    TotalPrice Double
    IsSelfDelivery Boolean
    IsAccountReadThisOrder Boolean
    PaymentOptionType TypesPaymentOptionTypes
    TotalProducts Int32
    Products IList`1
    CuponId Int32
    FullResponse String
    TransactionId String
    LastDigits String
    OrderShippingId Nullable`1
    ShippingTypeIcon String
    ShippingTypeName String
    OrderShippingStateId Nullable`1
    InvoiceUrl String
    CopyInvoiceUrl String
    InvoiceNumber String
    CuponValue String
    DiscountId Int32
    DiscountPrice Double
    IsCreditClaimed Boolean
    CreditsClaimed Nullable`1
    ExtraField1 String
    ExtraField2 String
    ExtraField3 String
    ExtraField4 String
    ExtraField5 String
    ExtraField6 String
    BranchID Int32
    FeePrice Double
}
page Int32
page_size Int32
total_records Int32
store_id Int32