{"method":"GET","path":"https://api.revcent.com/v2/user_shops","summary":"Get User Shops","description":"Returns a list of user shops.","operationId":"GetUserShops","parameters":[{"description":"A limit on the number of objects to be returned. Limit can range between 1 and 25, and the default is 25.","in":"query","name":"limit","required":true,"schema":{"type":"integer","format":"int32","minimum":1,"maximum":25},"style":"form"},{"description":"Used for pagination, i.e. to skip to specific page of results.","in":"query","name":"page","required":true,"schema":{"type":"integer","format":"int32"},"style":"form"}],"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":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"campaign":{"type":"object","additionalProperties":false,"description":"The campaign associated with the user shop.","properties":{"id":{"type":"string","description":"A 20 character campaign ID.","minLength":20,"maxLength":20},"name":{"description":"The campaign name.","type":"string"}}},"payment_profile":{"type":"object","additionalProperties":false,"description":"The payment profile associated with the user shop.","properties":{"id":{"type":"string","description":"A 20 character payment profile ID.","minLength":20,"maxLength":20},"name":{"description":"The payment profile name.","type":"string"}}},"api_account":{"type":"object","additionalProperties":false,"description":"The API account attached to the user shop.","properties":{"id":{"type":"string","description":"A 20 character API account ID.","minLength":20,"maxLength":20},"name":{"description":"The API account name.","type":"string"}}},"webhook":{"type":"object","additionalProperties":false,"description":"The webhook associated with the user shop.","properties":{"id":{"type":"string","description":"A 20 character webhook ID.","minLength":20,"maxLength":20},"name":{"description":"The webhook name.","type":"string"}}},"description":{"description":"The user shop description.","type":"string"},"enabled":{"description":"Whether the user shop is currently enabled.","type":"boolean"},"id":{"type":"string","description":"A 20 character user shop ID.","minLength":20,"maxLength":20},"name":{"description":"The user shop name.","type":"string"},"shop_version":{"description":"The user shop version corresponding to the site shop.","type":"string"},"live_mode":{"description":"Whether the shop is currently in live or test mode.","type":"boolean"},"url":{"description":"The user shop url.","type":"string"},"fields_saved":{"description":"An array of fields required for the site shop which have been saved for the user shop.","type":"array","items":{"type":"string","description":"An individual field required for the associated site shop."}},"site_shop":{"type":"object","additionalProperties":false,"description":"The site shop attached to the user shop.","properties":{"id":{"type":"string","description":"A 20 character site shop ID.","minLength":20,"maxLength":20},"name":{"description":"The site shop name.","type":"string"},"description":{"description":"The site shop description.","type":"string"}}},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}},"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."}}}