Buybase response codes.
Below are the response codes used in the API:
200 OK
SEARCH_SUCCESS
: Search completed successfullySTYLE_CREATED
: Style profile created successfullySTYLE_UPDATED
: Style profile updated successfullySTYLE_RETRIEVED
: Style profile retrieved successfullySTYLE_DELETED
: Style profile deleted successfullyPROFILE_CREATED
: User profile created successfullyPROFILE_RETRIEVED
: User profile retrieved successfullyPROFILE_DELETED
: User profile deleted successfullySHIPPING_CREATED
: Shipping address created successfullySHIPPING_UPDATED
: Shipping address updated successfullySHIPPING_RETRIEVED
: Shipping address retrieved successfullySHIPPING_DELETED
: Shipping address deleted successfully204 No Content
NO_RESULTS_FOUND
: Search completed but no results found400 Bad Request
INVALID_REQUEST
: Invalid request parameters403 Forbidden
FORBIDDEN_FEATURE
: The feature is not available on your current plan.401 Unauthorized
UNAUTHORIZED
: No authorization header providedINVALID_API_KEY
: The API key provided is invalid404 Not Found
STORE_NOT_FOUND
: Could not find store with specified ID or brand namePROFILE_NOT_FOUND
: Could not find profile with specified IDSTYLE_NOT_FOUND
: Style not foundSHIPPING_NOT_FOUND
: Shipping address not found409 Conflict
SHIPPING_ADDRESS_EXISTS
: Shipping address already exists for this profileSTYLE_EXISTS
: Style already exists for this profileINTERNAL_ERROR
: An error occurred during processing