Account

Bring sandbox setup to live

POST
/v1/account/from-sandbox

Copies what was set up while trying the account in the sandbox to live, for the parts asked for: prices (every price list, with its rules), portal (the customer portal’s branding and content, published and draft) and business (the details printed on invoices). Once, before live has sold anything; refused with live_in_use after. Never overwrites: a part live already has is left as it is, and the response says which parts were copied. Promotions, customers and which customer is on which list stay behind, as sandbox customers are not live ones.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Request Body

application/json
  1. body
prices?boolean
Defaultfalse
portal?boolean
Defaultfalse
business?boolean
Defaultfalse

Response Body

Success

application/json
  1. response

Success

prices*integer

How many price lists were copied

portal*boolean
business*boolean
curl -X POST "https://example.com/v1/account/from-sandbox" \  -H "Content-Type: application/json" \  -d '{}'
{  "prices": 0,  "portal": true,  "business": true}