serviceTabs
Agregar items a una cuenta abierta
Changed onAgrega uno o más consumos a la cuenta. Cada item queda registrado por separado en el feed de actividad, igual que la cuenta que ve el cliente. La respuesta trae la cuenta completa con su nuevo total.
Un item nombra algo que ya vendes (price_id o product_id) o se define solo, con name y amount_in_cents. Son las mismas tres formas que aceptan los items de un checkout. Los precios recurrentes no se aceptan: una cuenta abierta solo cobra productos de pago único.
post/service_tabs/{service_tab_id}/items
Request
- Base URLhttps://app.recurrente.com/api
- AuthAPI key in header X-SECRET-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
service_tab_idstring required
ID de la cuenta abierta
Request body
Response
Items agregados
Changes
- breaking
added to the
response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjecttoarrayfor status
- breaking
- warning
deleted the
headerrequest parameterX-SECRET-KEY - info
the endpoint scheme security
secretKeywas added to the API
- warning