Emporix Customers Assignments API

Manage customer assignments to segments

Business capability
Customer Segmentation Management BC-420.20

Operations 10

GET /customer-segment/{tenant}/segments/{segmentId}/customers Retrieving all customer assignments for a customer segment #
POST /customer-segment/{tenant}/segments/{segmentId}/customers/search Searching with parameters for customer assignments #
GET /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId} [B2C] Retrieving a customer assignment for a customer segment #
PUT /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId} [B2C] Updating a customer assignment for a customer segment #
DELETE /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId} [B2C] Removing a customer from customer segment #
GET /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId}/{legalEntityId} [B2B] Retrieving a customer assignment for a customer segment #
PUT /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId}/{legalEntityId} [B2B] Updating a customer assignment for a customer segment #
DELETE /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId}/{legalEntityId} [B2B] Removing a customer from customer segment #
PUT /customer-segment/{tenant}/segments/{segmentId}/customers/bulk Updating customer assignments for a customer segment in bulk #
DELETE /customer-segment/{tenant}/segments/{segmentId}/customers/bulk Removing customers from customer segment in bulk #

Documentation

📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-1
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-23
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-6
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-7
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-5
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-8
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-17
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-25
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-37
📖
Documentation
https://developer.emporix.io/api-references/readme/approval-api-reference
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-15
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-13
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-16
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-14
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-41
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-9
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-10
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-12
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-19
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-38
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-40
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-36
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-22
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-3
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-20
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-24
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-29
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-26
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-39
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-4
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-21
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-27
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-28
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-11
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-30
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-18
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-35
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-2
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-33
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-31
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-32
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-34
📖
Documentation
https://developer.emporix.io/api-references/readme/api-reference-42

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-metadata-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-agent-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-conversation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-agent-analytics-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-agent-template-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-rag-emporix-native-tool-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-access-token-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-access-token-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-create-catalog-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-catalog-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-update-catalog-properties-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-update-catalog-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-object-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-create-catalog-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-tree-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-deprecated-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-create-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-partial-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-cart-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-cart-item-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-cart-item-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-update-cart-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-discount-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-create-cart-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-request-checkout-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-request-from-quote-checkout-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-response-checkout-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-fee-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-item-fee-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-item-yrns-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-search-item-fee-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-search-items-fee-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-item-fee-creation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-payment-mode-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-payment-method-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-refund-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-initialize-payment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-authorize-frontend-payment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-authorize-payment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-get-shopping-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-employee-shopping-list-create-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-own-shopping-list-create-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-own-shopping-list-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-get-shopping-lists-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-approval-id-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-legal-entity-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-legal-entity-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-contact-assignment-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-contact-assignment-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-location-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-location-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-customer-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-exchange-auth-token-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-customer-signup-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-address-create-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-validate-token-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-refresh-customer-token-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-category-tree-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-item-assignment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-patch-operation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-customer-assignment-b2-cresponse-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-group-assignment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-bulk-assignment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-customer-for-seller-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-address-2-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-address-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-password-migration-retention-config-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-customer-bulk-item-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-password-migration-retention-config-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-vendor-create-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-vendor-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-client-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-country-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-currency-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-currency-retrieval-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-currency-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-exchange-rate-retrieval-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-exchange-rate-creation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-exchange-rate-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-index-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-reindex-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-index-public-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-reindex-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-reindex-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-index-creation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-site-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-mixin-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-mixins-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-resource-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-base-unit-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-conversion-factor-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-conversion-factor-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-conversion-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-update-unit-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-conversion-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-basic-delivery-time-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-slot-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-payload-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-slot-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-method-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-patch-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-upload-session-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-download-url-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-upload-session-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-asset-create-link-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-asset-update-link-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-availability-with-bundle-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-availability-bulk-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-availability-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-bulk-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-location-search-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-job-status-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-job-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-sales-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-order-entries-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-sales-order-creation-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-order-update-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-historical-transitions-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-return-id-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-match-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-price-model-definition-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-match-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-search-prices-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-create-price-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-price-model-definition-retrieval-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-calculation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-calculation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-retrieval-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-creation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-tax-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-brand-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-brand-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-update-brand-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-brands-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-label-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-label-update-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-label-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-dynamic-variant-product-with-id-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-dynamic-variant-recalculation-job-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-dynamic-variant-recalculation-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-dynamic-variant-recalculation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-bundle-product-with-id-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-parent-variant-product-with-id-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-create-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-history-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-create-from-cart-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-reason-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-quote-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-referral-coupon-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-base-coupon-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-coupon-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-redemption-creation-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-coupon-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-redemption-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-redeem-option-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-added-points-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-redeemed-points-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-points-summary-out-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-new-customer-in-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-redeem-coupon-out-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-user-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-access-control-query-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-group-create-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-group-update-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-groups-query-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-access-control-upsert-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-changelog-history-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-import-run-schema.json
📊
JSONSchema
https://artifacts.apis.io/emporix/json-schema/emporix-import-stream-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/emporix:emporix-customers-assignments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

emporix-customers-assignments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Emporix Customers Assignments API
  version: ''
  contact:
    email: documentation@emporix.com
  description: 'Operations tagged Customers Assignments across 2 of this provider''s published API definitions: emporix-customer-segments-openapi.yml, emporix-customer-segments-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.emporix.io
security:
- OAuth2: []
tags:
- name: Customers Assignments
  description: Manage customer assignments to segments
paths:
  /customer-segment/{tenant}/segments/{segmentId}/customers:
    parameters:
    - $ref: '#/components/parameters/tenant'
    - $ref: '#/components/parameters/segmentId'
    get:
      summary: Retrieving all customer assignments for a customer segment
      tags:
      - Customers Assignments
      description: Retrieves all customer assignments for a given customer segment.
      security:
      - CustomerAccessToken: []
      - OAuth2:
        - customersegment.segment_read
        - customersegment.segment_read_own
      responses:
        '200':
          description: Customer assignments for a customer segment were successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerAssignmentResponse'
              examples:
                Customer Assignments:
                  $ref: '#/components/examples/CustomerAssignmentsResponse'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
      operationId: GET-customer-segment-retrieve-customers
      parameters:
      - $ref: '#/components/parameters/qParam'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageNumber'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/xTotalCount'
    servers:
    - url: https://api.emporix.io
  /customer-segment/{tenant}/segments/{segmentId}/customers/search:
    parameters:
    - $ref: '#/components/parameters/tenant'
    - $ref: '#/components/parameters/segmentId'
    post:
      summary: Searching with parameters for customer assignments
      tags:
      - Customers Assignments
      description: Returns all customer assignments that match provided criteria.
      security:
      - OAuth2:
        - customersegment.segment_read
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentsSearch'
            examples:
              Search Segments:
                value:
                  q: assignmentType:MANUAL
      responses:
        '200':
          description: Customer assignments for a customer segment were successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerAssignmentResponse'
              examples:
                Customer Assignments:
                  $ref: '#/components/examples/CustomerAssignmentsResponse'
        '400':
          $ref: '#/components/responses/Common_response_BadRequest_400'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
      operationId: POST-customer-segment-search-customers
      parameters:
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageNumber'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/fields'
      - $ref: '#/components/parameters/xTotalCount'
    servers:
    - url: https://api.emporix.io
  /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId}:
    parameters:
    - $ref: '#/components/parameters/tenant'
    - $ref: '#/components/parameters/segmentId'
    - schema:
        type: string
      name: customerId
      in: path
      description: Unique identifier of the customer which is added to a customer segment.
      required: true
    get:
      summary: '[B2C] Retrieving a customer assignment for a customer segment'
      tags:
      - Customers Assignments
      description: Retrieves a customer with specified customerId assigned to a customer segment.
      security:
      - OAuth2:
        - customersegment.segment_read
      responses:
        '200':
          description: Customer assignment for a customer segment was successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAssignmentB2CResponse'
              examples:
                Customer Assignment Response:
                  $ref: '#/components/examples/CustomerAssignmentB2CResponse'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
        '404':
          $ref: '#/components/responses/Common_response_NotFound_404'
      operationId: GET-customer-segment-retrieve-customer-by-customerId
      parameters:
      - $ref: '#/components/parameters/fields'
    put:
      summary: '[B2C] Updating a customer assignment for a customer segment'
      tags:
      - Customers Assignments
      operationId: PUT-customer-segment-update-customer-by-customerId
      description: Performs `UPSERT` operation. Updates a customer assigned to a customer segment. A new customer assignment is created if it's not present in the system.
      security:
      - OAuth2:
        - customersegment.segment_manage
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAssignmentUpsert'
            examples:
              Customer Assignment Update:
                $ref: '#/components/examples/CustomerAssignmentUpsert'
      responses:
        '201':
          description: A new customer assignment was successfully created.
        '204':
          description: Customer assignment was successfully updated.
        '400':
          $ref: '#/components/responses/Common_response_BadRequest_400'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
        '409':
          $ref: '#/components/responses/Common_response_Conflict_409'
    delete:
      summary: '[B2C] Removing a customer from customer segment'
      tags:
      - Customers Assignments
      operationId: DELETE-customer-segment-remove-customer-by-customerId
      description: Removes customer assignment.
      security:
      - OAuth2:
        - customersegment.segment_manage
      responses:
        '204':
          description: Customer assignment was successfully removed.
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
    servers:
    - url: https://api.emporix.io
  /customer-segment/{tenant}/segments/{segmentId}/customers/{customerId}/{legalEntityId}:
    parameters:
    - $ref: '#/components/parameters/tenant'
    - $ref: '#/components/parameters/segmentId'
    - schema:
        type: string
      name: customerId
      in: path
      description: Unique identifier of the customer which is added to a customer segment.
      required: true
    - schema:
        type: string
      name: legalEntityId
      in: path
      description: Unique identifier of the legal entity which customer is assigned to.
      required: true
    get:
      summary: '[B2B] Retrieving a customer assignment for a customer segment'
      tags:
      - Customers Assignments
      description: Retrieves a customer with specified customerId and companyId assigned to a customer segment.
      security:
      - OAuth2:
        - customersegment.segment_read
      responses:
        '200':
          description: Customer assignment for a customer segment was successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerAssignmentResponse'
              examples:
                Customer Assignment Response:
                  $ref: '#/components/examples/CustomerAssignmentResponse'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
        '404':
          $ref: '#/components/responses/Common_response_NotFound_404'
      operationId: GET-customer-segment-retrieve-customer
      parameters:
      - $ref: '#/components/parameters/fields'
    put:
      summary: '[B2B] Updating a customer assignment for a customer segment'
      tags:
      - Customers Assignments
      operationId: PUT-customer-segment-update-customer
      description: Performs `UPSERT` operation. Updates a customer assigned to a customer segment. A new customer assignment is created if it's not present in the system.
      security:
      - OAuth2:
        - customersegment.segment_manage
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerAssignmentUpsert'
            examples:
              Customer Assignment Update:
                $ref: '#/components/examples/CustomerAssignmentUpsert'
      responses:
        '201':
          description: A new customer assignment was successfully created.
        '204':
          description: Customer assignment was successfully updated.
        '400':
          $ref: '#/components/responses/Common_response_BadRequest_400'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
        '409':
          $ref: '#/components/responses/Common_response_Conflict_409'
    delete:
      summary: '[B2B] Removing a customer from customer segment'
      tags:
      - Customers Assignments
      operationId: DELETE-customer-segment-remove-customer
      description: Removes customer assignment.
      security:
      - OAuth2:
        - customersegment.segment_manage
      responses:
        '204':
          description: Customer assignment was successfully removed.
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
    servers:
    - url: https://api.emporix.io
  /customer-segment/{tenant}/segments/{segmentId}/customers/bulk:
    parameters:
    - $ref: '#/components/parameters/tenant'
    - $ref: '#/components/parameters/segmentId'
    put:
      summary: Updating customer assignments for a customer segment in bulk
      tags:
      - Customers Assignments
      operationId: PUT-customer-segment-update-customers-bulk
      description: Performs `UPSERT` operation. Updates multiple customer assignments to a customer segment. The maximum batch size is 200.
      security:
      - OAuth2:
        - customersegment.segment_manage
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CustomerAssignmentUpsertBulk'
            examples:
              Customer Assignment Update:
                $ref: '#/components/examples/CustomerAssignmentsUpsert'
      responses:
        '207':
          description: Multi-status response.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BulkAssignmentResponse'
              examples:
                Customer Assignments Update:
                  $ref: '#/components/examples/BulkAssignmentUpdateResponse'
        '400':
          $ref: '#/components/responses/Common_response_BadRequest_400'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
    delete:
      summary: Removing customers from customer segment in bulk
      tags:
      - Customers Assignments
      operationId: DELETE-customer-segment-remove-customers-bulk
      description: 'Removes multiple customer assignments to a customer segment. The maximum batch size is 200.


        ### The request body for this endpoint is array of objects with `customerId` and `legalEntityId` fields.

        #### Example: `[{"customerId": "firstCustomerId", "legalEntityId": "firstLegalEntityId"}, {"customerId": "secondCustomerId", "legalEntityId": "secondLegalEntityId"}, {"customerId": "thirdCustomerId", "legalEntityId": "thirdLegalEntityId"}]`'
      security:
      - OAuth2:
        - customersegment.segment_manage
      responses:
        '207':
          description: Multi-status response.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BulkAssignmentResponse'
              examples:
                Customer Assignments Deletion:
                  $ref: '#/components/examples/BulkAssignmentDeletionResponse'
        '400':
          $ref: '#/components/responses/Common_response_BadRequest_400'
        '401':
          $ref: '#/components/responses/Common_response_Unauthorized_401'
        '403':
          $ref: '#/components/responses/Common_response_Forbidden_403'
    servers:
    - url: https://api.emporix.io
components:
  parameters:
    qParam:
      in: query
      name: q
      description: "A standard query parameter is used to search for specific values. \n\nSee: [Standard Practices - Query parameter](https://developer.emporix.io/api-documentation/standard-practices/q-param)\n"
      schema:
        type: string
    sort:
      schema:
        type: string
      in: query
      name: sort
      description: List of properties used to sort the results, separated by colons.
    tenant:
      name: tenant
      in: path
      required: true
      description: 'Your Emporix tenant name.


        **Note**: Always write the tenant name in lowercase.

        '
      schema:
        pattern: ^[a-z][a-z0-9]+$
        minLength: 3
        maxLength: 16
        type: string
    segmentId:
      name: segmentId
      in: path
      required: true
      description: Unique identifier of the customer segment.
      schema:
        type: string
    xTotalCount:
      schema:
        type: boolean
      in: header
      name: X-Total-Count
      description: Flag indicating whether the total number of retrieved results should be returned.
    pageNumber:
      schema:
        type: string
      in: query
      name: pageNumber
      description: The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
    pageSize:
      schema:
        type: string
      in: query
      name: pageSize
      description: The number of documents to be retrieved per page.
    fields:
      schema:
        type: string
      in: query
      name: fields
      description: Fields to be returned in the response.
  schemas:
    BulkAssignmentResponse:
      type: object
      properties:
        index:
          type: integer
          description: 'Index of the processed item, matching the item position in request body.

            '
        code:
          type: integer
          description: HTTP Status Code.
        status:
          type: string
          description: HTTP Status description.
        message:
          type: string
          description: Error message.
    LegalEntity:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of an existing legal entity.
        name:
          type: string
          description: Name of a legal entity.
    MetadataUpdate:
      allOf:
      - type: object
        properties:
          version:
            type: integer
            description: The document version number.
      - $ref: '#/components/schemas/MetadataCreate'
    CustomerAssignmentUpsertBulk:
      allOf:
      - $ref: '#/components/schemas/CustomerAssignmentUpsert'
      - type: object
        properties:
          customerId:
            type: string
            description: Unique identifier of an existing customer.
          legalEntityId:
            type: string
            description: Unique identifier of an existing legal entity. It should be omitted for B2C.
    MetadataCreate:
      type: object
      properties:
        mixins:
          type: object
          description: A key-value map, where key is a mixin name and value is a link to the mixin schema.
          additionalProperties: true
    CustomerAssignmentResponse:
      allOf:
      - type: object
        properties:
          legalEntity:
            $ref: '#/components/schemas/LegalEntity'
      - $ref: '#/components/schemas/CustomerAssignmentB2CResponse'
    Customer:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of an existing customer.
        firstName:
          type: string
          description: Customer's first name.
        lastName:
          type: string
          description: Customer's last name.
        email:
          type: string
          description: Customer's e-mail address.
    Error:
      type: object
      properties:
        code:
          type: integer
          description: HTTP Status Code.
        status:
          type: string
          description: HTTP Status.
        message:
          type: string
          description: Error message.
        resourceId:
          type: string
          description: An ID of the resource which caused the error.
        details:
          type: object
          description: Error details
          properties:
            field:
              type: string
            type:
              type: string
            message:
              type: string
            moreInfo:
              type: string
    SegmentsSearch:
      type: object
      properties:
        q:
          type: string
          description: "A standard query parameter is used to search for specific values. \n\nSee: [Standard Practices - Query parameter](https://developer.emporix.io/api-documentation/standard-practices/q-param)\n"
    CustomerAssignmentB2CResponse:
      allOf:
      - type: object
        properties:
          customer:
            $ref: '#/components/schemas/Customer'
      - type: object
        properties:
          assignmentType:
            type: string
            enum:
            - MANUAL
            - AUTOMATIC
      - $ref: '#/components/schemas/CustomerAssignmentUpsert'
      - type: object
        properties:
          metadata:
            $ref: '#/components/schemas/MetadataResponse'
    CustomerAssignmentUpsert:
      type: object
      description: ''
      properties:
        mixins:
          type: object
          description: A key-value map of additional attributes.
          additionalProperties: true
        metadata:
          $ref: '#/components/schemas/MetadataUpdate'
    MetadataResponse:
      allOf:
      - type: object
        properties:
          createdAt:
            description: The creation date.
            type: string
            format: date-time
          modifiedAt:
            description: The modification date.
            type: string
            format: date-time
      - $ref: '#/components/schemas/MetadataUpdate'
  examples:
    Response_BadRequest_400:
      value:
        code: 400
        status: Bad Request
        message: Validation problem with request body.
    Response_Forbidden_403:
      value:
        code: 403
        status: Forbidden
        message: The access to the requested resource has been forbidden by the server.
    Response_Conflict_409_changed:
      value:
        code: 409
        status: Conflict
        message: The resource you are attempting to access has changed.
    BulkAssignmentUpdateResponse:
      value:
      - index: 1
        code: 204
        status: OK
      - index: 2
        code: 400
        status: Bad Request
        message: Validation problem with request body.
    CustomerAssignmentsUpsert:
      value:
      - customerId: '98029737'
        legalEntityId: 660af2af69babe3cf6e40771
        mixins:
          segmentAttributes:
            membershipStatus: PREMIUM
        metadata:
          mixins:
            segmentAttributes: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/69537caeb3fd5d378296ae42_segmentAttributes.json
      - customerId: '18249883'
        legalEntityId: 628cd20c6e8b2432b6346ca6
        metadata:
          version: 1
    CustomerAssignmentB2CResponse:
      value:
        customer:
          id: '98029737'
          firstName: John
          lastName: Doe
          email: john.doe@email.com
        assignmentType: MANUAL
        metadata:
          createdAt: 2024-10-12 12:00:00+00:00
          modifiedAt: 2024-10-12 12:00:00+00:00
          version: 1
    CustomerAssignmentResponse:
      value:
        customer:
          id: '98029737'
          firstName: John
          lastName: Doe
          email: john.doe@email.com
        legalEntity:
          id: 660af2af69babe3cf6e40771
          name: SomeCompany
        assignmentType: MANUAL
        metadata:
          createdAt: 2024-10-12 12:00:00+00:00
          modifiedAt: 2024-10-12 12:00:00+00:00
          version: 1
    Response_Conflict_409_exists:
      value:
        code: 409
        status: Conflict
        message: The resource already exists.
    CustomerAssignmentsResponse:
      value:
      - customer:
          id: '98029737'
          firstName: John
          lastName: Doe
          email: john.doe@email.com
        legalEntity:
          id: 660af2af69babe3cf6e40771
          name: SomeCompany
        assignmentType: MANUAL
        metadata:
          createdAt: 2024-10-12 12:00:00+00:00
          modifiedAt: 2024-10-12 12:00:00+00:00
          version: 1
      - customer:
          customerId: '18249883'
          firstName: Jack
          lastName: Smith
          email: jack.smith@email.com
        legalEntity:
          id: 448gh29h1d0b5453g6346df6
          department: AnotherCompany
        assignmentType: MANUAL
        metadata:
          createdAt: 2024-10-16 12:00:00+00:00
          modifiedAt: 2024-10-16 12:00:00+00:00
          version: 1
    BulkAssignmentDeletionResponse:
      value:
      - index: 1
        code: 204
        status: OK
      - index: 2
        code: 204
        status: OK
    CustomerAssignmentUpsert:
      value:
        mixins:
          segmentAttributes:
            membershipStatus: PREMIUM
        metadata:
          mixins:
            segmentAttributes: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/69537caeb3fd5d378296ae42_segmentAttributes.json
    Response_NotFound_404:
      value:
        code: 404
        status: Not Found
        message: The resource with id 628cd20c6e8b2432b6346ca6 has not been found.
  responses:
    Common_response_Unauthorized_401:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              fault:
                type: object
                properties:
                  faultstring:
                    type: string
                  detail:
                    type: object
                    properties:
                      errorcode:
                        type: string
          examples:
            Invalid access token:
              value:
                fault:
                  faultstring: Invalid access token
                  detail:
                    errorcode: oauth.v2.InvalidAccessToken
    Common_response_Conflict_409:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Conflict - resource exists:
              $ref: '#/components/examples/Response_Conflict_409_exists'
            Conflict - resource has changed:
              $ref: '#/components/examples/Response_Conflict_409_changed'
    Common_response_Forbidden_403:
      description: Access forbidden. The caller is not allowed to access this resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Forbidden:
              $ref: '#/components/examples/Response_Forbidden_403'
    Common_response_BadRequest_400:
      description: Bad request due to validation, incorrect parameters, etc.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Validation Error:
              $ref: '#/components/examples/Response_BadRequest_400'
    Common_response_NotFound_404:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            Not Found:
              $ref: '#/components/examples/Response_NotFound_404'
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.emporix.io/oauth/token
          scopes:
            customersegment.segment_manage: Needed to create or update customer segments.
            customersegment.segment_read: Needed to read customer segments.
            customersegment.segment_read_own: Needed to read own customer segments.
    CustomerAccessToken:
      type: http
      scheme: bearer
      description: To generate a customer access token, go to the [Logging in a customer](https://developer.emporix.io/api-documentation/api-guides/companies-and-customers/customer-management/api-reference/authentication-and-authorization#post-customer-tenant-login) endpoint.
x-refined-from:
- emporix-customer-segments-openapi.yml
- emporix-customer-segments-openapi.yml