{ "swagger": "2.0", "tags": [ { "name": "v1", "description": "" } ], "host": "api.ote-godaddy.com", "paths": { "/v1/shoppers/subaccount": { "post": { "tags": [ "v1" ], "consumes": [ "application/json", "application/xml", "text/xml" ], "produces": [ "application/json", "application/javascript", "application/xml", "text/javascript", "text/xml" ], "parameters": [ { "description": "The subaccount to create", "in": "body", "name": "subaccount", "required": true, "schema": { "$ref": "#/definitions/SubaccountCreate" } } ], "responses": { "200": { "description": "Request was successful", "schema": { "$ref": "#/definitions/ShopperId" } }, "400": { "description": "Request was malformed", "schema": { "$ref": "#/definitions/Error" } }, "401": { "description": "Authentication info not sent or invalid", "schema": { "$ref": "#/definitions/Error" } }, "403": { "description": "Authenticated user is not allowed access", "schema": { "$ref": "#/definitions/Error" } }, "422": { "description": "`subaccount` does not fulfill the schema", "schema": { "$ref": "#/definitions/Error" } }, "429": { "description": "Too many requests received within interval", "schema": { "$ref": "#/definitions/ErrorLimit" } }, "500": { "description": "Internal server error", "schema": { "$ref": "#/definitions/Error" } } }, "operationId": "createSubaccount", "summary": "Create a Subaccount owned by the authenticated Reseller" } }, "/v1/shoppers/{shopperId}": { "get": { "description": "Notes: