# Sync Offer

`POST https://api.suger.cloud/org/{orgId}/offer/{offerId}/sync`

Sync the given offer from its partner. Such as AWS marketplace, Azure marketplace or GCP marketplace.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `offerId` | path | string | yes | Offer ID |

## Responses

### 200 — Empty string if sync is successfully triggered

Content-Type: `application/json`

### 400 — Bad request error

Content-Type: `application/json`

### 405 — Method not allowed

Content-Type: `application/json`

### 500 — Internal error

Content-Type: `application/json`

## Example

_Generated from this operation's schema. Values are placeholders — substitute your own ids, and set `SUGER_TOKEN` to a bearer token from the [OAuth client-credentials exchange](https://doc.fours.com/settings/oauth-app/)._

### Request

```bash
curl -X POST 'https://api.suger.cloud/org/{orgId}/offer/{offerId}/sync' \
  -H "Authorization: Bearer $SUGER_TOKEN"
```

### Response — 200

```json
"string"
```

### Error — 400

```json
"string"
```

---

API reference: https://doc.fours.com/api/
