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 Type 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: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, maximum 60. (0 = 30 days from now) Int False
disable_get_product_attributes Optional: Disable get product attributes (performance improved) Bool False
include_payment_gateway_response Optional: Includes full payment gateway response Bool 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
    City String
    FloorNumber String
    StreetNameAndNumber String
    ApartmentNumber String
    ZipCode 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
    CustomerInstructions String
}
page Int32
page_size Int32
total_records Int32
store_id Int32