To help you accurately, I reviewed the API documentation you're referring to — eMAG Marketplace API v4.4.4, specifically page 16, which is part of the Product Offer API (POST /api-3p/offer/save
).
Here's a step-by-step guide to sending stock
and handling_time
using Postman and the correct content type.
https://marketplace.emag.ro/api-3p/offer/save
KeyValue
Content-Type
application/x-www-form-
urlencoded
AuthorizationBearer
<your_token_here>
Replace <your_token_here>
with your valid authentication token.
In the Body tab of Postman:
Select x-www-form-urlencoded.
Then, add the fields exactly as per the API expects. This is crucial!
KeyValueoffer[0][id]12345offer[0][price]49.99offer[0][stock]10offer[0][handling_time]24
✅ If you are sending multiple offers, increment the index:
offer[1][id]
offer[1][price]
etc.
less
CopyEdit
Key | Value ----------------------------|------ offer[0][id] | 12345 offer[0][price] | 49.99 offer[0][stock] | 10 offer[0][handling_time] | 24
Don’t use form-data
, use x-www-form-urlencoded
.
Make sure field names match exactly (like offer[0][stock]
— no typos).
Make sure the offer ID actually exists and belongs to your seller account.
handling_time
must be in hours, as per documentation.
If you want to test and it's still not working, feel free to share a screenshot of your Postman setup (headers and body tab), and I’ll help debug it specifically.