# API Státuszkódok

# 2xx Success

Code Text Details
200 OK The request was successfully processed by ShopRenter

# 4xx Client error

Code InnerCode Text
400 40001 Data parameter not found in POST/PUT!
400 40002 The following fields are readonly: {field}!
400 40003 The following fields are required: {field}!
400 40004 The following query parameters are required: {field}!
400 40005 The given data is wrong!
400 40005 The {field} field cannot be empty
400 40005 The given data is empty or not in PHP array format.
400 40005 The {parameter} parameter is an already exist OuterID.
400 40005 The {parameter} must be integer 1 between 1000000000.
400 40005 The {parameter} parameter has wrong data. The data is not int.
400 40005 The {parameter} parameter has wrong data. The data is not scalar (scalar is integer, float, string or boolean).
400 40005 The {parameter} parameter has wrong data. Can not add CustomerGroupPrice to the Default CustomerGroup.
400 40005 The {parameter} parameter has wrong data. This parameter is enum type. Check API documentation for accepted values.
400 40005 The {parameter} parameter is not a valid resource identifier or invalid format. Valid format: array([id] => dGF4Q2xhc3MtdGF4X2NsYXNzX2lkPTEw)
400 40006 Some resource identity in the given data is wrong!
400 40007 The given resource id is wrong: {id}!
400 40007 The given OuterId is not exist: {id}!
400 40008 Page not found! This Resource minimum page is 0 and maximum page is {page}
400 40009 The given datetime parameter: {parameter} is invalid! Valid datetime format is 1990-01-01T00:00:00
400 40010 The given parameter: {parameter} is not available!
400 40011 Resource identity is missing.
400 40012 Product does not have product class!
400 40013 POST content length exceeds the limit of {limit} bytes.
400 40014 POST is either empty or content length exceeds the limit of {limit} bytes.
400 40015 Reached maximum product limit.
400 40016 The {parameter} parameter is not UTF-8 encoded.
400 40017 The given date parameter: {parameter} is invalid! Valid date format is 1990-01-01
400 40018 Reached maximum attribute limit. The limit is {limit}
401 40101 You have no permission for this operation!
404 40401 Resource not found! {resource}
403 - Forbidden
409 40901 Resource exists!
429 - Too Many Requests

# 5xx Success

Code Text Details
500 Internal Server Error When an error has occurred within the API.
503 Service Unavailable The server is currently unavailable.
504 Gateway Timeout The request could not complete in time. Try breaking it down in multiple smaller requests.
© 2011 - 2020 ShopRenter.hu Kft.
Utoljára módosítva: 2019.11.11