Família de Itens
As famílias de itens organizam produtos ou serviços similares, melhorando a gestão de inventário e a eficiência em contabilidade, relatórios e vendas.
Criar Famílias de Item
Criar Família de Item
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Body
Responses
200
Sucesso
application/json
post
/api/item_familiesPOST /api/item_families HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"data": {
"attributes": {
"name": "Frutas"
},
"type": "item_families"
}
}200
Sucesso
{
"data": {
"attributes": {
"name": "Frutas"
},
"id": "6",
"relationships": {
"company": {
"data": {
"id": "800000046",
"type": "current_company"
}
}
},
"type": "item_families"
}
}Obter Família de Item por Id
Obter Família de Item por ID
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Path parameters
idstringRequiredExample:
TODO
2Responses
200
Sucesso
application/json
get
/api/item_families/{id}GET /api/item_families/{id} HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
Sucesso
{
"data": {
"attributes": {
"name": "FamiliaDeServiço1"
},
"id": "5",
"relationships": {
"company": {
"data": {
"id": "800000046",
"type": "current_company"
}
}
},
"type": "item_families"
}
}Remover Família de Item
Remover Família de Item
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Path parameters
idstringRequiredExample:
TODO
2Responses
200
Sucesso
application/json
delete
/api/item_families/{id}DELETE /api/item_families/{id} HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200
Sucesso
{
"meta": {}
}Obter Todas as Famílias de Item
Obter Todas as Família de Item
Required scopes
This endpoint requires the following scopes:
- : commercial
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
Responses
200Success
No content
get
/api/item_familiesGET /api/item_families HTTP/1.1
Host: {{base_url}}
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200Success
No content
Last updated