Skip to main content
Version: 202201

Discount Rebate List

GET 

/openapi/2022-01/discount_rebates

Retrieves a list of rebate discounts available for a shop.

Request

Query Parameters

    limit int32

    Limit per page

    page int32

    Page number

    need_detail_url boolean

    details url return in responses

Responses

200

Schema
    pageinteger
    Default value: 0
    Example: 1
    limitinteger
    Default value: 0
    Example: 20
    totalstring
    Example: 1
    data object[]
  • Array [
  • allocation_limitstring
    Example: 0
    allocation_limit_amountstring
    Example: 0.0000
    allocation_methodstring
    Example: across
    customer_selectionstring
    Example: all
    detail_urlstring
    Example: tzt.myshoplaza.com/promotions/rebate/47d2a827-e914-49e0-a14c-3161edb1ae9e
    discount_typestring
    Example: fixed_amount
    ends_atstring
    Example: -1
    entitled_filter_idsarray
    entitled_filter_listarray
    entitled_product_idsarray
    global_show_textstring
    Example: close
    idstring
    Example: 47d2a827-e914-49e0-a14c-3161edb1ae9e
    once_per_customerstring
    Example: 0
    popups_idstring
    Example:
    popups_settingstring
    Example: close
    prerequisitestring
    Example: 1
    prerequisite_customer_idsarray
    prerequisite_customer_range
    prerequisite_customer_segment_idsarray
    prerequisite_quantity_range
    prerequisite_subtotal_range object[]
  • Array [
  • greater_than_or_equal_tostring
    Example: 123
    valuestring
    Example: 1
    value_event_typestring
    Example:
    value_conditionstring
    Example: less_than_or_equal_to
    target_typestring
    Example:
    target_dataarray
    target_data_variantarray
    target_data_collectionarray
  • ]
  • prerequisite_threshold_quantity_range
    prerequisite_threshold_subtotal_range
    product_num
    progressstring
    Example: ongoing
    sortstring
    Example: {"by":"title","direction":"asc"}
    starts_atstring
    Example: 1682652084
    statusstring
    Example: 1
    target_price_typestring
    Example: combined_price
    target_selectionstring
    Example: all
    target_typestring
    Example:
    times_usedstring
    Example: 0
    titlestring
    Example: tzt-满减活动-吸引客户购买更多
    usage_limitstring
    Example: 0
    valueinteger
    Default value: 0
    Example: 0
    value_typestring
    Example: fixed_amount
    variant_product_idsarray
  • ]