Listar Movimentações de Estoque
Last updated
Was this helpful?
Last updated
Was this helpful?
Para listar as Movimentações de Estoque criadas, consulte via GET
a rota Url/segments/{segmentId}/stock-movements.
O SegmentID deverá ser informado, saiba mais em . O uso de seu também será necessário.
GET
{Url}/segments/{segmentId}/stock-movements
segmentId
string
ID de Segmento
companies
array
ID das empresas para realizar a listagem
page
number
Número da página
user
string
ID do usuário
stockLocal
object
ID do local de estoque
product
string
ID do produto
type
string
Tipo da movimentação
origin
string
Origem da movimentação
finalDate
string
Data final
initialDate
string
Data inicial
limit
number
Limite de registros por página
{
"count": 0,
"page": 0,
"data": [
{
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"type": "in",
"origin": "manual",
"product": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"segment": "string",
"sku": "string",
"companies": [
{
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"segment": "string",
"type": "private",
"document": "string",
"name": "string",
"tag": "string",
"logoUrl": "string",
"crtId": "string",
"addresses": [
{
"_id": "string",
"country": "string",
"state": "string",
"city": "string",
"neighborhood": "string",
"street": "string",
"number": "string",
"complement": "string",
"postalCode": "string"
}
],
"contacts": [
{
"contact": "string",
"type": "whatsapp"
}
],
"integration": {
"praNotas": {
"authorization": "string",
"homologation": true,
"certificate": "string",
"status": "string",
"count": 0,
"serie": "string",
"csc": "string",
"cscId": "string"
},
"pagaRapido": {
"authorization": "string",
"subscription": "string"
},
"praSaques": {
"token": "string"
}
},
"activityBranch": {
"_id": "string",
"name": "string",
"examples": "string",
"value": "retail"
},
"stockSettings": {
"stockLocalDevice": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
},
"stockLocalCatalog": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
}
}
}
],
"additionalCategories": [
{
"name": "string",
"systemCode": "string",
"minQuantity": 0,
"maxQuantity": 0,
"additionals": [
{
"name": "string",
"description": "string",
"systemCode": "string",
"price": 0,
"minQuantity": 0,
"maxQuantity": 0,
"status": "active"
}
]
}
],
"categoryId": "string",
"category": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"companies": [
{
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"segment": "string",
"type": "private",
"document": "string",
"name": "string",
"tag": "string",
"logoUrl": "string",
"crtId": "string",
"addresses": [
{
"_id": "string",
"country": "string",
"state": "string",
"city": "string",
"neighborhood": "string",
"street": "string",
"number": "string",
"complement": "string",
"postalCode": "string"
}
],
"contacts": [
{
"contact": "string",
"type": "whatsapp"
}
],
"integration": {
"praNotas": {
"authorization": "string",
"homologation": true,
"certificate": "string",
"status": "string",
"count": 0,
"serie": "string",
"csc": "string",
"cscId": "string"
},
"pagaRapido": {
"authorization": "string",
"subscription": "string"
},
"praSaques": {
"token": "string"
}
},
"activityBranch": {
"_id": "string",
"name": "string",
"examples": "string",
"value": "retail"
},
"stockSettings": {
"stockLocalDevice": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
},
"stockLocalCatalog": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
}
}
}
],
"segment": "string",
"name": "string",
"systemCode": "string",
"categoryId": "string",
"iconUrl": "string",
"subcategories": [],
"status": "active",
"salesChannelCategories": [
{
"appConfiguration": {},
"salesChannelCategory": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"externalId": "string",
"name": "string",
"app": "string",
"picture": "string",
"previousCategories": [],
"childrens": [],
"customFields": []
},
"externalId": "string"
}
]
},
"name": "string",
"description": "string",
"images": [
"string"
],
"price": 0,
"printToken": true,
"notPrintToken": true,
"unitType": {
"_id": "string",
"name": "string",
"abbreviation": "string"
},
"gtin": "string",
"ncm": {
"_id": "string",
"code": "string",
"description": "string",
"cestId": "string"
},
"cest": {
"_id": "string",
"name": "string",
"code": "string"
},
"taxationRule": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"segment": "string",
"originId": "string",
"cfopId": "string",
"cstIcmsId": "string",
"cstPisId": "string",
"cstCofinsId": "string",
"cstIpiId": "string",
"cstIssId": "string",
"aliqConfins": 0,
"aliqPis": 0,
"aliquoteCgsn53": 0,
"csll": 0,
"inss": 0,
"ir": 0,
"iss": 0,
"mvaPerState": [
"string"
],
"tributes": [
"string"
],
"status": "active"
},
"productEnvironments": [
"string"
],
"picture": "string",
"status": "active",
"stockLocals": [
{
"_id": "string",
"stockLocal": "string",
"minQuantity": 0,
"maxQuantity": 0
}
],
"dimensions": {
"width": 0,
"height": 0,
"depth": 0,
"weight": 0
},
"salesChannels": [
{
"company": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"segment": "string",
"type": "private",
"document": "string",
"name": "string",
"tag": "string",
"logoUrl": "string",
"crtId": "string",
"addresses": [
{
"_id": "string",
"country": "string",
"state": "string",
"city": "string",
"neighborhood": "string",
"street": "string",
"number": "string",
"complement": "string",
"postalCode": "string"
}
],
"contacts": [
{
"contact": "string",
"type": "whatsapp"
}
],
"integration": {
"praNotas": {
"authorization": "string",
"homologation": true,
"certificate": "string",
"status": "string",
"count": 0,
"serie": "string",
"csc": "string",
"cscId": "string"
},
"pagaRapido": {
"authorization": "string",
"subscription": "string"
},
"praSaques": {
"token": "string"
}
},
"activityBranch": {
"_id": "string",
"name": "string",
"examples": "string",
"value": "retail"
},
"stockSettings": {
"stockLocalDevice": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
},
"stockLocalCatalog": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
}
}
},
"app": {},
"status": "active",
"price": 0,
"promotionalPrice": 0
}
],
"pictures": [
"string"
],
"brand": {
"_id": "string",
"name": "string",
"companies": [
{
"_id": "string",
"name": "string"
}
],
"picture": "string",
"status": "active"
},
"stocks": [
{}
]
},
"stockLocal": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"company": null,
"acronym": "string",
"segment": "string"
},
"user": {
"_id": "string",
"createdAt": "2020-01-01T00:00:00Z",
"updatedAt": "2020-01-01T00:00:00Z",
"name": "string",
"avatarUrl": "string",
"phoneNumber": "string",
"document": "string",
"email": "string",
"status": "active",
"access": [
{
"segment": "string",
"companies": [
"string"
],
"group": "string"
}
],
"screensJourneyConfirmations": [
"string"
],
"hasConfirmedPageJourneySecondStep": true
},
"quantity": 0,
"currentStock": 0,
"note": "string"
}
]
}
[]
[]
Caso a requisição esteja correta, o código 200 OK
será retornado.
Prossiga para as próximas sessões para entender mais sobre nossas funções disponíveis.
Outros Erros: Caso sejam retornados outros erros, favor entrar em contato com o time de integração.