Sellyourapple¶
Sellyourapple (operating as syanv.be) is a Belgian refurbished Apple device specialist. They focus on pre-owned iPhones and other Apple products, offering a drop-ship service. Both offer retrieval and order submission are handled via a REST API secured with Basic Authentication.
-
Website
-
Drop-ship
Direct shipment from Refurbisher to end customer
-
Specialization
Refurbished Apple devices
-
Currency
EUR
Status¶
| Artifact | Acceptatie | Productie |
|---|---|---|
| Refurbisher | ID: 20 · → IRP |
ID: 20 · → IRP |
| Supplier | ID: 15 · → IRP |
ID: 15 · → IRP |
| Offer connector | Web GET · JSON · Basic Auth · → | Web GET · JSON · Basic Auth · → |
| Order connector | Web POST · Basic Auth · → | Web POST · Basic Auth · → |
| Shipment webhook | Not configured | Not configured |
IRP¶
| Field | Value |
|---|---|
| Refurbisher ID | 20 |
| Supplier ID | 15 |
| Odoo Vendor ID | 30078 |
| Currency | EUR |
| Shipping Costs | Free (€0.00) |
| Home Copy Tax | €0.00 |
| Default Margin | 16% |
| Stock Threshold | 1 |
| Approved Refurbished | No |
| Drop-ship | Yes |
Monitoring Thresholds¶
| Metric | Threshold |
|---|---|
| Latest order (hours) | 48 |
| Offers stock (hours) | 48 |
| Open order (days) | 4 |
| Offers endpoint HTTP status | 200 |
Refurbisher Connector Config¶
"sellyourapple": {
"name": "sellyourapple",
"refurbisher_id": 20,
"sandbox": false,
"offers": {
"connection": "web",
"endpoint": "https://publishtool.syanv.be/feeds/iused.json",
"auth": { "type": "basicauth", "username": "iused", "password": "XXXXXXXXXXXXXXX" },
"type": "json",
"paginate": false,
"offer_location": "",
"price_locale": "en_US",
"mapping": {
"name": "name",
"sku": "sku",
"stock_available": "stock",
"ean": "ean",
"price_purchase_amount": "price",
"price_consumer_amount": "price"
}
},
"order": {
"connection": "web",
"endpoint": "https://publishtool.syanv.be/api/v1/order",
"auth": { "type": "basicauth", "username": "iused", "password": "XXXXXXXXXXXXXXX" },
"order_object": {
"vendorOrderId": "id",
"orderReference": "order.order_number",
"shippingAddress.companyname": "orderShippingAddress.company",
"shippingAddress.firstName": "orderShippingAddress.first_name",
"shippingAddress.lastName": "orderShippingAddress.last_name",
"shippingAddress.telephone": "!0612345678",
"shippingAddress.zipCode": "orderShippingAddress.zipcode",
"shippingAddress.houseNumber": "orderShippingAddress.house_number",
"shippingAddress.houseNumberAddition": "orderShippingAddress.house_number_addition",
"shippingAddress.street": "orderShippingAddress.street",
"shippingAddress.city": "orderShippingAddress.city",
"shippingAddress.countryCode": "orderShippingAddress.country->getIsoAlpha2",
"shippingAddress.vatId": "!-",
"shippingAddress.email": "!info@iused.nl",
"items": "%ITEMS%"
},
"item_object": {
"sku": "productVariant.refurbisherOffer.sku",
"quantity": "quantity",
"price": "productVariant.refurbisherOffer.price_purchase_amount->formatByDecimal"
},
"response_object": {
"asserts": { "status": "in:200", "orderId": "present|filled" },
"fields": { "externalOrderReference": "orderId" }
}
}
}
API Integration¶
Sellyourapple exposes a REST API hosted at publishtool.syanv.be for both offer retrieval and order submission. All requests use HTTP Basic Authentication.
Credentials
Stored in 1Password under iUsed - IRP - Refurbisher: Sellyourapple.
Sellyourapple uses HTTP Basic Authentication on all endpoints.
Authorization: Basic <base64(username:password)>
| Field | Value |
|---|---|
| Username | iused |
| Password | Stored in 1Password |
| Method | Endpoint | Description |
|---|---|---|
GET |
https://publishtool.syanv.be/feeds/iused.json |
Retrieve offer feed (JSON) |
POST |
https://publishtool.syanv.be/api/v1/order |
Submit a new order |
The offer feed is returned as a JSON array fetched via HTTP GET. No pagination is applied.
| Field | JSON Path |
|---|---|
| Name | name |
| SKU | sku |
| Stock | stock |
| EAN | ean |
| Purchase Price | price |
| Consumer Price | price |
Format details
- Type:
json - Paginated: No
- Price locale:
en_US
| Assert | Rule |
|---|---|
status |
in:200 |
orderId |
present|filled |
The orderId field is stored as the external order reference.