Calls
Product
4min
the product endpoint http post https //www regpack com/reg/api2/products/ the product endpoint allows you to create and update products, which can then be added to users with the user api actions basic structure each call to the api requires action and a group id name type required description action string true this describes what you would like to do with the api for status, the only action is create group id integer true this designates which project the change should be applied to api id in the header must be part of the organization that owns the group doc json true this is the status data you would like to include in the request, formatted as json example call this would be an example curl which creates a status curl x post "https //www regpack com/reg/api2/products/" \\ h "content type application/json" \\ h "accept application/json" \\ h "api id 15263" \\ h "api user api admin\@regpacks com" \\ h "api token cd2e514f 7gab 3cde 62fg 51abcd4e7362" \\ d '{ "action" "create", "group id" 100909072, "doc" { "base product type" 7, "product name" "ed bickert blonde fender telecaster 1965", "product price" "1100", "quota cart" 1 } } example response { "msg" "product created successfully ", "msg type" "info", "product id" 76867, "success" true }