/v1/profile/purchase/list/element
Testing
GET
https://uat-api.wellnessliving.io/v1/profile/purchase/list/element
Request
id_region
(integer) - The ID of the region for which the purchase list element is being retrieved.k_business
(integer) - The business key associated with the purchase list element.k_purchase_item
(integer) - The key of the specific purchase item.Response
a_component
(array) - An array of components.a_logo
(object) - An object containing logo details such as height, width, and URL.a_restrict
(array) - An array of restrictions.a_tax
(array) - An array of tax details.can_renew
(boolean) - Indicates whether the purchase can be renewed.dl_end
(string) - End date for the purchase list element.dl_purchase
(string) - Purchase date for the element.{
"type": "object",
"properties": {
"a_component": {"type": "array"},
"a_logo": {
"type": "object",
"properties": {
"i_height": {"type": "integer"},
"i_width": {"type": "integer"},
"is_empty": {"type": "boolean"},
"s_url": {"type": "string"}
},
"additionalProperties": false
},
"a_restrict": {"type": "array"},
"a_tax": {"type": "array"},
"can_renew": {"type": "boolean"},
"dl_end": {"type": "string"},
"dl_purchase": {"type": "string"},
"dl_send": {"type": "string"},
"dl_start": {"type": "string"},
"dt_cancel": {"type": "string"},
"dt_hold_end": {"type": "string"},
"dt_hold_start": {"type": "string"},
"dt_purchase": {"type": "string"},
"dt_redeem": {"type": "string"},
"f_discount_login_type_percent": {"type": "number"},
"html_description": {"type": "string"},
"i_book": {"type": "integer"},
"i_book_duration": {"type": "integer"},
"i_buy": {"type": "integer"},
"i_discount_count": {"type": "integer"},
"i_duration": {"type": "integer"},
"i_left": {"type": "integer"},
"i_limit": {"type": "integer"},
"i_payment_period": {"type": "integer"},
"i_remain": {"type": "integer"},
"i_remain_duration": {"type": "integer"},
"i_renew": {"type": "integer"},
"i_use": {"type": "integer"},
"i_use_duration": {"type": "integer"},
"id_activation": {"type": "integer"},
"id_discount_commission_type": {"type": "integer"},
"id_duration": {"type": "integer"},
"id_program_type": {"type": "integer"},
"id_purchase_item": {"type": "integer"},
"id_sale": {"type": "integer"},
"is_active": {"type": "boolean"},
"is_asset": {"type": "boolean"},
"is_component": {"type": "boolean"},
"is_convert": {"type": "boolean"},
"is_expire": {"type": "boolean"},
"is_hold": {"type": "boolean"},
"is_limit": {"type": "boolean"},
"is_login_type_member": {"type": "boolean"},
"is_mail": {"type": "boolean"},
"is_past": {"type": "boolean"},
"is_redeem": {"type": "boolean"},
"is_renew": {"type": "boolean"},
"is_transfer": {"type": "boolean"},
"k_code_result": {"type": "string"},
"k_currency": {"type": "string"},
"k_id": {"type": "string"},
"k_login_promotion_result": {"type": "string"},
"k_purchase_result": {"type": "string"},
"m_cost_item": {"type": "string"},
"m_cost_total": {"type": "string"},
"m_discount_amount": {"type": "string"},
"m_discount_login_type_amount": {"type": "string"},
"m_discount_manual": {"type": "string"},
"m_period_price": {"type": "string"},
"m_price": {"type": "string"},
"m_refund": {"type": ["null", "string"]},
"s_code": {"type": "string"},
"s_gift_code": {"type": "string"},
"s_gift_recipient": {"type": "string"},
"s_limit_actor": {"type": "string"},
"s_mail": {"type": "string"},
"s_message": {"type": "string"},
"s_payer": {"type": "string"},
"s_promotion_convert": {"type": "string"},
"s_purchase": {"type": "string"},
"s_recipient": {"type": "string"},
"s_sender": {"type": "string"},
"s_title": {"type": "string"},
"sid_value": {"type": "string"},
"text_expire": {"type": "string"},
"uid_payer": {"type": "string"},
"uid_recipient": {"type": "string"},
"status": {"type": "string"},
"s_version": {"type": "string"}
},
"additionalProperties": false
}
Request
Query Params
id_region
stringÂ
required
Example:
2
k_business
stringÂ
required
Example:
49197
k_purchase_item
stringÂ
required
Example:
100014130847