{"method":"GET","path":"https://api.revcent.com/v2/site_shops","summary":"Get Site Shops","description":"Returns a list of site shops. Useful for creating a user shop, including required fields.","operationId":"GetSiteShops","parameters":[],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"current_count":{"description":"The current number of items in the results.","type":"integer"},"current_page":{"description":"The current page for the items in the results.","type":"integer"},"results":{"items":{"type":"object","additionalProperties":false,"properties":{"description":{"description":"The site shop description.","type":"string"},"id":{"type":"string","description":"A 20 character site shop ID.","minLength":20,"maxLength":20},"name":{"description":"The site shop name.","type":"string"},"fields":{"description":"An array of fields required for the site shop.","type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"The unique identifier for the field.","type":"string"},"description":{"description":"The description of the field.","type":"string"},"required":{"description":"Whether the field is required.","type":"boolean"}}}}}},"type":"array"},"total_count":{"description":"The total number of items found given the date_start and date_end query parameters.","type":"integer"},"total_pages":{"description":"The total number of pages given the date_start, date_end and limit query parameters.","type":"integer"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}