previewCustomizeOfferAndServices offer
Calculate offer with selected payment terms and services without mutating it
Path parameters
Offer ID
Offer ID
Query parameters
the shared token
the shared token
Request body
Example request
{
"lines": [
{
"offer_line_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"selected_contract_terms_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"selected_services": [
"abc123"
]
}
]
}Response
OK response.
Example response
{
"created_at": "1970-01-01T00:00:01Z",
"customer_has_vat_number": false,
"email": "alice@example.com",
"exit_redirect": "abc123",
"expires_at": "1970-01-01T00:00:01Z",
"has_single_term_duration": false,
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"lines": [
{
"applied_discount_id": "abc123",
"available_contract_terms": {
"pay_now": {
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"id": "739b63c2-9e58-4964-b38d-4ebb424de242"
},
"rent": {
"duration": 6,
"durations": [
12
],
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"monthly_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
}
},
"available_first_party_services": [
{
"additional_values": {
"accessory_type": "experiment_charger",
"deductible_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"images": {
"url1x": "abc123",
"url2x": "abc123",
"url3x": "abc123"
}
},
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"monthly_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"type": "topi_replace"
}
],
"base_rental_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"contract_terms_list": [
{
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"payload": {
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"duration": 6
},
"type": "rent"
}
],
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"pretty_id": "abc123",
"price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"pricing_category": "legacy_phone_24",
"product_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"quantity": 1,
"requires_serial_number": false,
"selected_contract_terms_id": "abc123",
"selected_first_party_service_ids": [
"abc123"
],
"seller_product_provided_by": "abc123",
"seller_product_references": [
{
"reference": "123ab-5343",
"source": "sap"
}
],
"seller_product_type": "software",
"sublines": [
{
"applied_discount_id": "abc123",
"available_contract_terms": {
"pay_now": {
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"id": "739b63c2-9e58-4964-b38d-4ebb424de242"
},
"rent": {
"duration": 6,
"durations": [
12
],
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"monthly_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
}
},
"available_first_party_services": [
{
"additional_values": {
"accessory_type": "experiment_charger",
"deductible_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"images": {
"url1x": "abc123",
"url2x": "abc123",
"url3x": "abc123"
}
},
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"monthly_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"type": "topi_replace"
}
],
"base_rental_price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"contract_terms_list": [
{
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"payload": {
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"duration": 6
},
"type": "rent"
}
],
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"pretty_id": "abc123",
"price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"pricing_category": "legacy_phone_24",
"product_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"quantity": 1,
"requires_serial_number": false,
"selected_contract_terms_id": "abc123",
"selected_first_party_service_ids": [
"abc123"
],
"seller_product_provided_by": "abc123",
"seller_product_references": [
{
"reference": "123ab-5343",
"source": "sap"
}
],
"seller_product_type": "software",
"subtitle": "abc123",
"title": "abc123"
}
],
"subtitle": "abc123",
"title": "abc123"
}
],
"payment_method_required": false,
"pricing_overview": {
"instead_of_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"items_summaries": [
{
"identifier": "abc123",
"pay_now": {
"pay_now_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
},
"pay_now_excluding_sublines": {
"pay_now_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
},
"rent": [
{
"duration": 12,
"monthly_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
}
],
"rent_excluding_sublines": [
{
"duration": 12,
"monthly_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
}
],
"total_pay_now": {
"pay_now_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
},
"total_rent": [
{
"duration": 12,
"monthly_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
}
]
}
],
"rent_info": {
"rent_only_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"tenure_lines": [
{
"amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"duration": 6
}
],
"total_rent": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
},
"should_show_instead_of_amount": false,
"total_amount_first_payment": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"total_amount_first_payment_without_shipping": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"total_purchase_amount": {
"currency": "EUR",
"gross": 119000,
"net": 100000
}
},
"redirect_to_superseding_offer_url": "abc123",
"sales_channel": "ecommerce",
"seller_info": {
"address": {
"city": "abc123",
"country_code": "DE",
"line1": "abc123",
"line2": "aaa",
"postal_code": "abc123",
"region": "abc123"
},
"capability_add_custom_products": false,
"capability_anonymized_pricing": false,
"capability_anonymous_ecom_offer_creation": false,
"capability_bundles": false,
"capability_chatbot_id": "abc123",
"capability_dual_pricing": false,
"capability_hide_buy_now": false,
"capability_international_shipment": false,
"currency": "abc123",
"email": "abc123",
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"logo_url": "abc123",
"name": "abc123",
"parent_seller_id": "abc123",
"pdf_reader_assistant_id": "abc123",
"pretty_name": "abc123",
"product_reference_source": "abc123"
},
"seller_offer_reference": "abc123",
"shipping": {
"is_in_store_pickup": false,
"price": {
"currency": "EUR",
"gross": 119000,
"net": 100000
},
"seller_shipping_reference": "Sandbox Shipping Service"
},
"status": "voided"
}Changes
Changed in 3 of the 10 revisions of this API.19
- ●
added the new
iphone_18_proenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
iphone_18_proenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
iphone_18_pro_maxenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
iphone_18_pro_maxenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
iphone_duoenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
iphone_duoenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
mac_desktop_m5_m6enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
mac_desktop_m5_m6enum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
mac_studio_m5enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
mac_studio_m5enum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
smartwatch_apple_12_genenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
smartwatch_apple_12_genenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
smartwatch_apple_ultra_4_genenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
smartwatch_apple_ultra_4_genenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
48.00enum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
added the new
48.00enum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
added the new
48.00enum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
accessory_gpuenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
accessory_gpuenum value to the////response property for the response statusresponse-property-enum-value-added
- ●