Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wilow.app/llms.txt

Use this file to discover all available pages before exploring further.

Laundry preferences are set per service type (clothes, shoes, ironing). They tell Wilow how the customer wants their laundry handled.

Store Preferences

POST /external-partner/customers/laundry-preferences
Headers
HeaderValue
AuthorizationBearer {customer_token}
Idempotency-KeyUnique UUID
Body multipart/form-data
FieldTypeRequiredNotes
service_typestringclothes, shoes, or ironing
organic_detergentbooleanUse organic detergent
scentbooleanAdd scent
mirzambooleanAdd mirzam (traditional Saudi scent)
starchbooleanApply starch (clothes only)
starch_levelstringlight, medium, or heavy
protection_layerbooleanAdd protection layer (required for shoes)
Response
{
  "success": true,
  "data": {
    "id": 2275,
    "organic_detergent": true,
    "scent": true,
    "mirzam": false,
    "starch": true,
    "starch_level": { "code": "light", "name": "Light" },
    "protection_layer": false,
    "service": {
      "name": "clothes",
      "type": { "code": "clothes", "name": "Clothes" }
    }
  },
  "status_code": 200
}

Get Preferences

GET /external-partner/customers/laundry-preferences?service_type=clothes
Headers
HeaderValue
API-KEYYour partner API key
AuthorizationBearer {customer_token}
Query Parameters
ParamRequiredNotes
service_typeclothes, shoes, or ironing
plan_idFilter by specific plan
Response — same shape as store response above.