79573100

Date: 2025-04-14 12:07:10
Score: 1.5
Natty:
Report link

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.

✅ Body Format (IMPORTANT!)

In the Body tab of Postman:

  1. Select x-www-form-urlencoded.

  2. Then, add the fields exactly as per the API expects. This is crucial!

Example: Sending one offer

KeyValueoffer[0][id]12345offer[0][price]49.99offer[0][stock]10offer[0][handling_time]24

✅ If you are sending multiple offers, increment the index:


🧪 Example in Postman Screenshot Format:

less

CopyEdit

Key | Value ----------------------------|------ offer[0][id] | 12345 offer[0][price] | 49.99 offer[0][stock] | 10 offer[0][handling_time] | 24


🛠 Common Mistakes to Avoid:


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.

Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mohammad Labbaf