From 3186818278ed833860a8bf9f186e3f2e2d689732 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Wed, 12 Aug 2026 01:17:20 +0800 Subject: [PATCH] fix(storefront): create a customer under an identity with no contact yet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create a Customer sent {{customer_identity}} — the seeded customer, whose contact already exists by the time this runs. The request validates `email` with Rule::unique('contacts'), so it answered "The email has already been taken." It now uses {{new_customer_identity}}, an identity the contract run reserves for exactly this and seeds deliberately without a contact, with a matching storefront_create_customer code (fleetbase/fleetbase#600). Co-Authored-By: Claude Opus 5 --- .../Customer/Create a Customer.request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postman/collections/Fleetbase Storefront API/Customer/Create a Customer.request.yaml b/postman/collections/Fleetbase Storefront API/Customer/Create a Customer.request.yaml index 52ecf82..c7b5e82 100644 --- a/postman/collections/Fleetbase Storefront API/Customer/Create a Customer.request.yaml +++ b/postman/collections/Fleetbase Storefront API/Customer/Create a Customer.request.yaml @@ -11,7 +11,7 @@ body: content: |- { "name": "{{customer_name}}", - "email": "{{customer_identity}}", + "email": "{{new_customer_identity}}", "code": "{{verification_code}}" } order: 7000