GET /openapi.json) sends the store’s API key and domain, plus the shopper’s identity.
GET /settings needs only the first two headers.
Get your API key
1
Open API Settings
In the Codebeans Wishlyst admin, go to Wishlist Settings → API Settings.
2
Generate a key
Click Generate new key and copy it. A new store has no key until you generate one.
3
Copy the connection details
The page also shows the shop domain and the base URL. Give all three to your developer.
Identifying the shopper
- Logged-in customer
- Guest
Send the numeric customer ID, not the The API checks on every call that the customer exists in the store. An unknown ID returns
gid:// form:401 CUSTOMER_REQUIRED.The API trusts the customer ID you send, so your app must authenticate the shopper itself (for example with the Customer Account API) before calling it.
Moving guest lists after login
When a guest logs in, send both headers once toPOST /guest-wishlists/claim. The guest’s lists and shares move to the customer. The call is safe to repeat.