cart

cart.coupon.count

This method allows you to get the number of coupons. On some platforms, you can filter the coupons by the date they were active.

get/cart.coupon.count.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/cart.coupon.count.json
  • Auth: API key in header x-api-key and API key in header x-store-key

Query parameters

store_idstring

Store Id

availboolean

Defines category's visibility status

date_start_fromstring

Filter entity by date_start (greater or equal)

date_start_tostring

Filter entity by date_start (less or equal)

date_end_fromstring

Filter entity by date_end (greater or equal)

date_end_tostring

Filter entity by date_end (less or equal)

Response

successful operation

return_codeinteger nullable
return_messagestring nullable
additional_fieldsobject nullable
custom_fieldsobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.