This method will auto-generate an ID and create a new setting. If an ID is specified for the setting, an error will be thrown.
The setting that you would like to be saved.
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will look up a setting by the specified ID and return it back.
curl -i -X GET \ 'https://commerce.api.756794052567.rhythmsoftware.com/settings/:tenantId?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing setting with the specified ID.
The updated setting that will be saved.
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing setting with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "contact_role_permissions": [
- {
- "role_id": "string",
- "manage_coupon_codes": true
}
], - "enable_order_confirmation_email": true,
- "order_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_shipment_confirmation_email": true,
- "shipment_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_cancellation_confirmation_email": true,
- "cancellation_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_return_confirmation_email": true,
- "return_confirmation_email": {
- "from": "string",
- "from_name": "string",
- "reply_to": "string",
- "subject": "string",
- "cc": "string",
- "bcc": "string",
- "body": "string"
}, - "enable_retroactive_coupons_in_portal": true,
- "restrict_retroactive_coupons_by_time_period": true,
- "retroactive_coupon_allowed_time_period": 0,
- "default_ship_from_address": {
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "state": "string",
- "postal_code": "string",
- "county": "string",
- "country": "string",
- "country_name": "string",
- "latitude": 0,
- "longitude": 0,
- "time_zone_id": "string"
}, - "notes": "string",
- "default_store_id": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a setting with the specified ID.
curl -i -X DELETE \ https://commerce.api.756794052567.rhythmsoftware.com/settings/:tenantId \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"