end_customer

updateEndCustomerInfo end_customer

Update end customer info for an offer

put/offers/{id}/end-customer-info

Path parameters

idstring regexp required

Offer ID

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Offer ID

Request body

Example request

{
  "end_customer": {
    "billing_address": {
      "city": "abc123",
      "country_code": "DE",
      "line1": "abc123",
      "line2": "aaa",
      "postal_code": "abc123",
      "region": "abc123"
    },
    "company_address": {
      "city": "abc123",
      "country_code": "DE",
      "line1": "abc123",
      "line2": "aaa",
      "postal_code": "abc123",
      "region": "abc123"
    },
    "company_registration_number": "abc123",
    "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
    "language": "de",
    "name": "aa",
    "not_vat_registered": false,
    "tax_number": "abc123",
    "type": "Partnership",
    "vat_number": "abc123"
  },
  "end_user": {
    "first_name": "aa",
    "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
    "last_name": "aa",
    "phone_country_code": "abc123",
    "phone_national_number": "abc123",
    "phone_type": "abc123"
  }
}

Response

OK response.

Example response

{
  "end_customer": {
    "billing_address": {
      "city": "abc123",
      "country_code": "DE",
      "line1": "abc123",
      "line2": "aaa",
      "postal_code": "abc123",
      "region": "abc123"
    },
    "company_address": {
      "city": "abc123",
      "country_code": "DE",
      "line1": "abc123",
      "line2": "aaa",
      "postal_code": "abc123",
      "region": "abc123"
    },
    "company_registration_number": "abc123",
    "email_domain": "abc123",
    "group": "abc123",
    "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
    "in_migration": false,
    "is_new": false,
    "language": "abc123",
    "name": "abc123",
    "not_vat_registered": false,
    "psp_provider": "abc123",
    "risk_status": "abc123",
    "tax_number": "abc123",
    "type": "Partnership",
    "vat_number": "abc123"
  },
  "end_user": {
    "email": "abc123",
    "first_name": "abc123",
    "id": "739b63c2-9e58-4964-b38d-4ebb424de242",
    "is_new": false,
    "last_name": "abc123",
    "phone_number": {
      "country_code": "abc123",
      "country_prefix": "abc123",
      "international_format": "abc123",
      "national": "abc123",
      "number": "abc123"
    },
    "phone_type": "abc123"
  }
}

Changes

Changed in 2 of the 6 revisions of this API.5

    • added the new optional request property end_customer/company_address

      new-optional-request-property

    • added the optional property end_customer/company_address to the response with the 200 status

      response-optional-property-added

    • added the new optional request property end_customer/not_vat_registered

      new-optional-request-property

    • added the optional property end_customer/not_vat_registered to the response with the 200 status

      response-optional-property-added

    • added the optional property end_user/phone_type to the response with the 200 status

      response-optional-property-added