adjustments

discountSyncPush

Internal adjustments/discountSyncPush operation. Authentication requirements are derived from the active route allowlist.

post/adjustments/discountSyncPush

Request body

Example request

{
  "discounts": [
    {
      "id": 5,
      "name": "New Customer",
      "amount": 10,
      "type": "percentage",
      "mutation_id": "1234567890123456787",
      "deleted_at": null
    }
  ]
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.