Let's Pizza Developersv1.0.0

Get started

Environments

Two fully separate environments, each with its own address, keys and mappings.

Side by side#

SandboxProduction (live)
Base URLGiven with your key at onboardingGiven before go-live
Keyslpk_test_…lpk_live_…
DataThe real menu and branches, test customers and orders, the payment provider’s test cardsLive data
MappingsSandbox onlyProduction only
Test ordersFrom the test website and app, or in a joint session with usA pilot branch first, then branch by branch

The base URL#

Environment addresses are not published on this site: you get yours with your key. Every path starts with /partner/v1.

bash
curl -sS "$LP_BASE_URL/partner/v1/me" -H "Authorization: Bearer $LP_API_KEY"

Check the environment on start-up#

When your system starts, call GET /partner/v1/me and check that environment is the one you expect. It stops a production configuration from running with a sandbox key, and the other way round.