Skip to main content
POST
/
enrich-order-forward
curl --request POST \
  --url https://api.artisn.desarrollo-redbrand.com/api/enrich-order-forward \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "payload": {
    "orderId": "ord-001",
    "store": {
      "id": "21"
    },
    "order": {
      "products": [
        {
          "modifierGroups": [
            {
              "selectedModifiers": [
                {
                  "productId": "sku-001",
                  "price": {
                    "totalPrice": {
                      "total": 10.5
                    }
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  }
}
'
{
  "message": "Orden enriquecida, guardada y notificada al destino."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Raíz flexible: puede incluir payload u omitirse (entonces los campos de orden van en la raíz). Se permiten propiedades adicionales no listadas.

payload
object

Datos de la orden (productos, tienda, pagos). orderId obligatorio para 200.

Response

Orden persistida y webhook respondió 2xx

message
string
required
Example:

"Orden enriquecida, guardada y notificada al destino."