transactionId required | integer |
{- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
transactionId required | string |
required | object (mirasvit-rewards-data-transaction-interface) |
{- "transaction": {
- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
}
{- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
required | object (mirasvit-rewards-data-transaction-interface) |
{- "transaction": {
- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
}
{- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
{- "items": [
- {
- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
customerId required | integer |
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
[- {
- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
]
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
[- {
- "id": 0,
- "customer_id": 0,
- "amount": 0,
- "amount_used": 0,
- "comment": "string",
- "code": "string",
- "is_expired": 0,
- "is_expiration_email_sent": 0,
- "expires_at": "string",
- "created_at": "string",
- "activated_at": "string",
- "is_activated": true
}
]
orderId required | integer |
{- "quote_id": 0,
- "order_id": 0,
- "spend_points": 0,
- "spend_amount": 0,
- "base_spend_amount": 0,
- "spend_min_points": 0,
- "spend_max_points": 0,
- "earn_points": 0,
- "lock_quote": "string"
}
orderId required | integer |
{- "quote_id": 0,
- "order_id": 0,
- "spend_points": 0,
- "spend_amount": 0,
- "base_spend_amount": 0,
- "spend_min_points": 0,
- "spend_max_points": 0,
- "earn_points": 0,
- "lock_quote": "string"
}
shippingCarrier | string //we need mixed type here |
shippingMethod | string //we need mixed type here |
paymentMethod | string //we need mixed type here |
{- "shippingCarrier": "string",
- "shippingMethod": "string",
- "paymentMethod": "string"
}
{- "chechout_rewards_is_show": true,
- "chechout_rewards_points": "string",
- "chechout_rewards_points_max": 0,
- "chechout_rewards_points_spend": "string",
- "chechout_rewards_points_availble": "string",
- "chechout_rewards_points_used": 0
}
pointAmount required | integer |
{- "pointAmount": 0
}
true
sku required | string |
price required | number |
customerId required | integer |
websiteId required | integer |
tierId required | integer |
{- "sku": "string",
- "price": 0,
- "customerId": 0,
- "websiteId": 0,
- "tierId": 0
}
0
required | Array of objects (mirasvit-rewards-data-product-points-interface) |
{- "productInfo": [
- {
- "sku": "string",
- "price": 0,
- "customer_id": 0,
- "website_id": 0,
- "tier_id": 0
}
]
}
[- {
- "sku": "string",
- "points": 0
}
]
{- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
tierId required | string |
required | object (mirasvit-rewards-data-tier-interface) |
{- "tier": {
- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
}
{- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
{- "items": [
- {
- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
required | object (mirasvit-rewards-data-tier-interface) |
{- "tier": {
- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
}
{- "tier_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "min_earn_points": 0,
- "tier_logo": "string",
- "template_id": 0,
- "website_ids": [
- 0
]
}
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
{- "items": [
- {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
required | object (mirasvit-rewards-data-earning-rule-interface) |
{- "rule": {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
}
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
ruleId required | integer |
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
ruleId required | string |
required | object (mirasvit-rewards-data-earning-rule-interface) |
{- "rule": {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
}
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "behavior_trigger": "string",
- "sort_order": 0,
- "is_stop_processing": 0,
- "param1": "string",
- "history_message": "string",
- "email_message": "string",
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "earning_style": "string",
- "earn_points": 0,
- "monetary_step": 0,
- "points_limit": 0,
- "qty_step": 0,
- "transfer_to_group": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
searchCriteria[filterGroups][0][filters][0][field] | string Field |
searchCriteria[filterGroups][0][filters][0][value] | string Value |
searchCriteria[filterGroups][0][filters][0][conditionType] | string Condition type |
searchCriteria[sortOrders][0][field] | string Sorting field. |
searchCriteria[sortOrders][0][direction] | string Sorting direction. |
searchCriteria[pageSize] | integer Page size. |
searchCriteria[currentPage] | integer Current page. |
{- "items": [
- {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}
required | object (mirasvit-rewards-data-spending-rule-interface) |
{- "rule": {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
}
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
ruleId required | integer |
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
ruleId required | string |
required | object (mirasvit-rewards-data-spending-rule-interface) |
{- "rule": {
- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
}
{- "id": 0,
- "rule_id": 0,
- "name": "string",
- "description": "string",
- "is_active": true,
- "active_from": "string",
- "active_to": "string",
- "type": "string",
- "condition": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "action": {
- "condition_type": "string",
- "conditions": [
- { }
], - "aggregator_type": "string",
- "operator": "string",
- "attribute_name": "string",
- "value": "string",
- "extension_attributes": { }
}, - "sort_order": 0,
- "is_stop_processing": 0,
- "front_name": "string",
- "tiers": [
- {
- "tier_id": 0,
- "spending_style": "string",
- "spend_points": 0,
- "monetary_step": 0,
- "spend_min_points": 0,
- "spend_max_points": 0
}
], - "website_ids": [
- 0
], - "customer_group_ids": [
- "string"
]
}
code required | string |
storeId required | integer |
{- "code": "string",
- "storeId": 0
}
0
code required | string |
quoteId required | integer |
storeId required | integer |
{- "code": "string",
- "quoteId": 0,
- "storeId": 0
}
0