âŦ†ī¸Request and Response

Request to the API endpoint

Retrieves a list of orders that meet the specified criteria

POST https://api.alephcrm.com/v2/productlistings/discounts

Query Parameters

{
    "Total": integer,
    "Results": [{
      "ProductListingStatus": [{ProductListingDiscountType}],
      "Status": integer,
      "Message": string
    }]
}

Parameters details

API_KEY

The API_KEY that was provided.

accountId

The Alephee account ID of the orders you are trying to get.

Product listings discount list

The list of product listings needed to change. You can set a discount to a list of product listings by indicating the brand/sku of the product OR a list of product listings IDs from each marketplace. One or the other. Not both. â€ĸ When setting product brand/SKU this method will attempt to set the given discount of all the product listings belonging to that product. â€ĸ When setting product listing IDs, this method will attempt to set the given discount of all the indicated product listings. The start and ending dates must be provided in a datetime without timezone property and the hour part given in UTC fixed time. The start date and time must be later than the current date and time.

Last updated