1. Order
  • Introdução
    • Comece Aqui
    • Autenticação
    • Recursos
  • API
    • Enterprise
      • Overview
      • Create
      • Show
      • Update
      • Delete
      • Index
      • Profile
    • Company
      • Overview
      • Create
      • Show
      • Update
      • Delete
      • Index
    • Order
      • Overview
      • Create
        POST
      • Show
        GET
      • Update
        PUT
      • Delete
        DELETE
      • Index
        GET
      • Search external
        GET
    • Customer
      • Create
      • Show
      • Update
      • Delete
      • Index
      • Validate phone
      • Blocked (batch)
      • Search individual
      • Search external
      • Track Record
      • Point
    • Withdrawal
      • Rescue
      • Reactivate
      • Show
      • Delete
      • Index
      • Search available
      • Quantity
      • Quantity Company (Monthly)
      • Quantity (Last Days)
    • Activation
      • Create
      • Update
      • Show
      • Delete
    • Promotion
      • Create
      • Update
      • Show
      • Delete
      • Index
    • Submission
      • Index
      • Show
      • Delete
    • Individual
      • Create
      • Index
      • Delete
    • Campaign
      • Create
      • Show
      • Update
      • Delete
      • Index
    • Profile
      • Profile
      • Update profile
      • Update password profile
      • Inactivate
    • User
      • Create
      • Show
      • Update
      • Delete
      • Index
    • Role
      • Create
      • Index
    • Permission
      • Create
      • Index
      • Delete
      • Show
      • Update
    • Status
      • Create
      • Index
      • Update
      • Delete
    • Tag
      • Create
      • Index
      • Update
      • Delete
    • Segment
      • Create
      • Show
      • Update
      • Delete
      • Index
      • Pre Query Builder Segment
    • Product
      • Create
      • Show
      • Update
      • Delete
      • Index
      • Search external
      • Quantity
      • Quantity Sale Product Enterprise
      • Quantity Sale Product Enterprise (Monthly)
    • Webhooks
      • Overview
      • Create
      • Index
      • Delete
    • Billing
      • Quota
      • Index
      • Show
    • User Access Pin
      • Request
      • Revalidate
    • Target
      • Create
      • Delete
    • Redeem
      • Create
      • Index
    • Reward
      • Create
      • Index
      • Update
      • Delete
      • Show
      • Update active
    • Subscription
      • Index
      • Webhook Asaas
    • Payment Profile
      • Index
      • Update
  1. Order

Update

PUT
/orders/{order_id}
Order
Endpoint Update (PUT)
Esse Endpoint é responsável por atualizar uma Order

Requisição

Parâmetros de Caminho

Parâmetros Header

Parâmetros Bodymultipart/form-data

Respostas

🟢200OK
text/plain
Successful response
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/orders/' \
--header 'Authorization: Bearer $TOKEN' \
--form 'price=""' \
--form 'status=""' \
--form 'order_products="product_id"' \
--form 'order_products="quantity"' \
--form 'order_products="price_individual"'
Response Response Example
[
  {
    "id": "ed12e60a-215d-4d6f-94c4-bb605518ca10",
    "price": 35,
    "external_code": null,
    "nfe_provider_id": null,
    "nfe_provider_code": null,
    "nfe_provider_url": null,
    "seller_code": null,
    "seller_point_total": null,
    "point_total": null,
    "point_relation_id": null,
    "point_relation_code": null,
    "opened_at": null,
    "closed_at": null,
    "company_id": "2536dc94-9667-46a4-b066-7c86e42b965c",
    "customer_id": "ed12e60a-215d-4d6f-94c4-bb605518ca10",
    "customer": {
      "id": "ed12e60a-215d-4d6f-94c4-bb605518ca10",
      "name": "Ryan Costa",
      "email": "ryancosta@gmail.com",
      "seller_enabled": false,
      "seller_code": null,
      "identify": "44660952304",
      "birthday": "2006-11-11T00:00:00.000Z",
      "phone": "551199238764",
      "purchased_total": 35,
      "purchased_count": 1,
      "withdrawal_count": 0,
      "withdrawal_total": 0,
      "withdrawal_rescue_count": 0,
      "phone_not_verify": "551199238764",
      "external_code": null,
      "enterprise_id": "a840567c-807c-4ec6-9de6-595e04342ef8",
      "blocked_at": null,
      "gender_id": null,
      "created_at": "2025-10-17T16:14:05.000Z"
    },
    "status": "COMPLETED",
    "orderProducts": [],
    "created_at": "2025-10-17T16:24:41.000Z"
  }
]
Modificado em 2025-10-17 17:19:57
Página anterior
Show
Próxima página
Delete
Built with