Segmenten
Segment maken
Creëer een niche met uw winkelpui-opstelling.
POST
/segmentssegments:writeVerzoek
namestring · bodySegmentnaam.verplichtslugstring · bodyPublieke slak.optioneeldescriptionstring · bodyBeschrijving.optioneelstore_namestring · bodyNaam winkelpui.optioneelstore_taglinestring · bodyZin uit het raam.optioneelstore_colorstring · bodyHoofdkleur.optioneelauto_expandboolean · bodyMaakt automatische uitbreiding mogelijk.optioneeldistributionstring · bodyDistributiestrategie.optioneelwaitlistboolean · bodyActiveert wachtrij.optioneelVoorbeeld
curl
curl -X POST 'https://achadu.com/api/v1/segments' \
+ -H 'Authorization: Bearer ach_live_...' \
+ -H 'Accept: application/json' \
+ -H 'Content-Type: application/json' \
+ --data '{
"name": "My integration",
"slug": "string",
"description": "string",
"store_name": "string"
}'Antwoord
201Bron gemaakt4xxFout met code, bericht en request_id