GetAvailability

Getting an availability data. If a given id is incorrect, the function returns an error WEBAPI_INCORRECT_ID.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (obtained during login - doLogin)

  3. id (integer)
  4. Required. Availability identifier.

Output data

  1. created_at (dateTime)
  2. Created at.

  3. updated_at (dateTime)
  4. Last updated at.

  5. id (integer)
  6. Availability identifier

  7. availability_name (string)
  8. Availability name. Maximum of 255 characters.

  9. stock_from (integer)
  10. The minimum value, from which availability status will be selected.

  11. is_system_default (integer)
  12. Specifies whether an availability is main / default in a shop.