docs
  1. Promotions
  2. Customer Segments
  3. Delete A Customer Segment

Delete a customer segment

v1.204.1
OpenAPI 3.0.3

This is the specification of the SCAYLE Admin API.

For more information about how to interact with the Admin API, you can read the respective developer guide. The developer guide includes code samples for our PHP SDK, for our Java SDK and for JavaScript and curl.

Authentication is done via X-Access-Token HTTP Header as described here.

Base url should be prefixed with /api/admin/v1.

If a client side timeout is deemed necessary, it is recommended to set it at a minimum of 380 seconds.

Server:https://{tenant-space}.admin.api.scayle.cloud/v1
Client Libraries

CustomerSegments

​

Delete a customer segment

​

Deletes a customer segment for the shop country's company.

Path Parameters

  • The shop key.

  • The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

  • Unique identifier of the customer segment.

Responses

  • Customer segment was successfully deleted.

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/shops/{shopKey}/countries/{countryCode}/customer-segments/{segmentGuid}
await adminApi.apis.CustomerSegments.deleteCustomerSegment({
  shopKey: 'ms',
  countryCode: 'DE',
  segmentGuid: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
});

No Body

Models

​

Last updated: December 02, 2026