Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Arantes Loverde
35418cc4a2 docs(api): document pizza item payload format in Create Order endpoint
Add choices[] field documentation with format table, example payload
and business rules for size/flavor/dough/crust serialization.
2026-06-09 08:58:26 -03:00
Daniel Arantes Loverde
aec1193944 docs(api): add Set Default Address endpoint documentation
PATCH /api/customer/addresses/:addressId/default — sets isDefault=true
on the target address and false on all others. Documents id field now
present in address_book entries, isDefault behavior, and example payload.
2026-06-06 09:44:29 -03:00
Daniel Arantes Loverde
e62bd60e9a docs(feature-control): fix flag key prefix fc. → at. across all docs
Real key pattern is at.<domain>.<name> (e.g. at.ios.only, at.promo).
The fc. prefix in the BFF README and API_Mobile_App.md was incorrect.

- API_Mobile_App.md: updated request keys, response raw examples,
  flag table, and Swift usage examples to at. prefix
- API_Mobile_App.md: clarified that app uses raw["at.key"] not
  simplified flags object (FeatureFlagsState.isEnabled reads raw)
- feature-control-bff/README.md: updated DEFAULTS_JSON example,
  request keys, response flags/raw examples, added note about raw usage
2026-06-05 16:30:57 -03:00
Daniel Arantes Loverde
09396ebcf3 docs(api): add Feature Control section to API_Mobile_App.md
Full contract for iOS integration:
- POST /feature-control/bootstrap: request/response, context fields,
  flags camelCase mapping table, source/fallback strategy
- POST /feature-control/telemetry/exposure: batch event format
- Available flags reference table (fc.ios, fc.android, fc.promo, etc.)
- Recommended session flow with cache guidance (15 min client-side)
2026-06-05 16:19:26 -03:00
Daniel Arantes Loverde
ff1ad1254d docs(api): fix and expand PATCH /api/customer/profile documentation
Corrected method (was POST /api/customer/:id, now PATCH /api/customer/profile).
Added profilePicture field: base64 data URL, max 2 MB, jpeg/png/webp.
Added field table, format examples, profilePictureUrl response, error table.
2026-06-04 21:23:13 -03:00
Daniel Arantes Loverde
f51319b486 master merged 2026-06-03 14:52:27 -03:00
Daniel Arantes Loverde
0ebb854213 updates 2026-04-16 14:50:07 -03:00
Daniel Arantes Loverde
1407f0b9de Fix 2026-03-05 10:10:27 -03:00
Daniel Arantes Loverde
0f5ad4c268 Payments 2026-02-15 08:18:06 -03:00
Daniel Arantes Loverde
54686397b9 Not has address 2026-02-07 17:16:45 -03:00
Daniel Arantes Loverde
78daaf1927 Skip and docs 2026-02-04 08:42:32 -03:00