Customer
string · uuid · requiredstring · date · requiredboolean · requiredinteger · int32 · requiredinteger · int32 · requiredstring · requiredstring · date · required
Properties for Variant 1:string · uuid
string · uuid · requiredstring · uuid · requiredstring · date · requiredboolean · requiredboolean · requiredinteger · int32 · requiredinteger · int32 · requiredstring · requiredstring · date · required
customer-segments-range
Operations addressed under /customer-segments-range — 3 operations.
create-customer-segment-range
POST
https://dg-sandbox.dgpays.com/customer-service
/customer-segments-range
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
create-customer-segment-range › Request Body
customerRuleIdendDateisDefaultmaxValueminValuesegmentNamestartDatecreate-customer-segment-range › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
idupdate-customer-segment-range
PUT
https://dg-sandbox.dgpays.com/customer-service
/customer-segments-range/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idupdate-customer-segment-range › Request Body
customerRuleIdendDateisActiveisDefaultmaxValueminValuesegmentNamestartDateupdate-customer-segment-range › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT.
No data returned