This endpoint adds a new service level rule to the ruleset.
{- "rule_name": "string",
- "config_type": "FULFILLMENT",
- "carrier_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "sequence": 0,
- "description": "string",
- "status": "ACTIVE",
- "source_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "delivery_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "order_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "merchants": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "pickup_partner_location_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "dropoff_partner_location_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "dropoff_v2": {
- "operator": "INCLUSION",
- "value": [
- {
- "country": "string",
- "state_cities": [
- {
- "state": "string",
- "city_areas": [
- {
- "city": null,
- "areas": [ ]
}
]
}
]
}
]
}, - "pickup_v2": {
- "operator": "INCLUSION",
- "value": [
- {
- "country": "string",
- "state_cities": [
- {
- "state": "string",
- "city_areas": [
- {
- "city": null,
- "areas": [ ]
}
]
}
]
}
]
}, - "volumetric_weight": {
- "min_value": 0,
- "max_value": 0
}, - "gross_weight": {
- "min_value": 0,
- "max_value": 0
}, - "custom_conditions": {
- "operator": "INCLUSION",
- "value": [
- {
- "attribute_name": "string",
- "operation": "CONTAINS",
- "values": [
- "string"
]
}
]
}, - "start_time": 0,
- "end_time": 0,
- "days": [
- "MONDAY"
]
}
{- "tenant": "string",
- "rule_id": "string",
- "rule_set_id": "string",
- "rule_name": "string",
- "sequence": 0,
- "description": "string",
- "config_type": "FULFILLMENT",
- "status": "ACTIVE",
- "source_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "delivery_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "carrier_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "order_type": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "merchants": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "pickup_partner_location_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "dropoff_partner_location_ids": {
- "operator": "INCLUSION",
- "value": [
- "string"
]
}, - "dropoff_v2": {
- "operator": "INCLUSION",
- "value": [
- {
- "country": "string",
- "state_cities": [
- {
- "state": "string",
- "city_areas": [
- {
- "city": null,
- "areas": [ ]
}
]
}
]
}
]
}, - "pickup_v2": {
- "operator": "INCLUSION",
- "value": [
- {
- "country": "string",
- "state_cities": [
- {
- "state": "string",
- "city_areas": [
- {
- "city": null,
- "areas": [ ]
}
]
}
]
}
]
}, - "volumetric_weight": {
- "min_value": 0,
- "max_value": 0
}, - "gross_weight": {
- "min_value": 0,
- "max_value": 0
}, - "custom_conditions": {
- "operator": "INCLUSION",
- "value": [
- {
- "attribute_name": "string",
- "operation": "CONTAINS",
- "values": [
- "string"
]
}
]
}, - "start_time": 0,
- "end_time": 0,
- "days": [
- "MONDAY"
], - "creation_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z"
}