Merchandise

Create Merchandise Purchases from XLSX

post
Authorizations
Body
monthstring · dateOptional

Year and month of the merchandise purchase

Example: 2024-03
filestring · binaryOptional

XLSX file to be uploaded

Responses
201
Successful response
application/json
post
POST /v1/merchandise HTTP/1.1
Host: api.prod.milkmoovement.io
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 35

{
  "month": "2024-03",
  "file": "binary"
}
{
  "message": "Merchandise upload successfully processed",
  "rows": 10,
  "processed": 10
}

Last updated