PHPackages                             astroselling/jupiter-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. astroselling/jupiter-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

astroselling/jupiter-sdk
========================

Astroselling´s integration SDK

2.0.1(1y ago)07631MITPHPPHP ^8.2.0

Since Jun 24Pushed 1y ago2 watchersCompare

[ Source](https://github.com/iugosds/jupiter-sdk)[ Packagist](https://packagist.org/packages/astroselling/jupiter-sdk)[ Docs](https://astroselling.com)[ RSS](/packages/astroselling-jupiter-sdk/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (2)Versions (21)Used By (0)

jupiter-sdk
===========

[](#jupiter-sdk)

PHP package para que los sistemas ERP se puedan integrar a la plataforma de gestión de tiendas online Astroselling -

para instalarlo:

- composer require astroselling/jupiter-sdk

---

En la página de Astroselling, dentro del módulo “Mi cuenta” - el usuario puede generar su propia API Key para acceder a estos servicios.

Por cualquier inconveniente, el equipo de soporte está siempre a las órdenes:
--------------------------------------------------------------------------------------------------------

[](#por-cualquier-inconveniente-el-equipo-de-soporte-está-siempre-a-las-órdenes-soporteastrosellingcom)

Caso sea necesario hacer la integración directamente, usando otro lenguaje, esta es la documentación de las API´s:

Astroselling Jupiter - API
==========================

[](#astroselling-jupiter---api)

A continuación se podrán observar un conjunto de endpoints para poder integrar productos a Astroselling. En particular, se detallará cómo crear, actualizar y eliminar productos, obtener los canales asociados a un usuario y sus productos respectivos y visualizar el estado de la plataforma.

En la página de Astroselling, dentro del módulo "Mi cuenta" - el usuario puede generar su propia API Key para acceder a estos servicios.

Por cualquier inconveniente, el equipo de soporte está siempre a las órdenes:

Indice
------

[](#indice)

- [Autenticación](#authentication)
- [Create Product](#1-create-product)
- [Delete Product](#2-delete-product)
- [Get Channel Products](#3-get-channel-products)
- [Get Channel Products Info](#4-get-channel-products-info)
- [Get Channels](#5-get-channels)
- [Healthcheck](#6-healthcheck)
- [Update Product](#7-update-product)

---

Authentication
==============

[](#authentication)

Para consumir los endpoints se requiere autenticarse con un usuario de Astroselling. El token se puede obtener desde , ingresando con el usuario correspondiente y luego ingresando a la sección "Mi Cuenta". Desde allí se podrá, además, generar un nuevo token, invalidando inmediatamente el token anterior.

Existen dos maneras de enviar el TOKEN para autenticar un request:

Autenticación por QueryString:
------------------------------

[](#autenticación-por-querystring)

\*\*Atención: este método es inseguro ya que el token es enviado en la URL.

En la URL del request, añadir el querystring `&api_token={{api_token}}`

Ejemplo: `https://nova.astroselling.com/jupiter/v1/channels?api_token={{api_token}}`

Autenticación por Bearer Token:
-------------------------------

[](#autenticación-por-bearer-token)

Agregar un header con el nombre "Authentication" y el valor "Bearer {{api\_token}}". Ejemplo:

Ejemplo llamado CURL:

```
curl --location --request GET 'https://nova.astroselling.com/jupiter/v1/channels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

```

Ejemplo en PHP con cliente Guzzle:

```
$response = $client->request('POST', '/api/user', [
    'headers' => [
        'Authorization' => 'Bearer '.$token,
        'Accept' => 'application/json',
    ],
]);

```

### 1. Create Product

[](#1-create-product)

Este endpoint se utiliza para dar de alta un producto en Astroselling. En el body del POST se debe de mandar toda la información del producto.

- Esta información también pueden ser las variaciones.

***Endpoint:***

```
Method: POST
Type: RAW
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels/{{CHANNEL_ID}}/products
```

***Headers:***

KeyValueDescriptionContent-Typeapplication/jsonAcceptapplication/json***Body:***

```
{
	"id_in_erp": "10200240",
	"sku": "10200240",
	"title": "Pantalon J\u00fanior",
	"description": "Pantalon J\u00c3\u00banior",
	"currency": "USD",
	"price": 790,
	"stock": 120,
	"variations": [
		{
			"id_in_erp": "10200240 001 06",
			"stock": 1,
			"price": 790,
			"sku": "10200240 001 06",
			"title": "Pantalon J\u00fanior",
			"attributes": [
				{
					"id": "attr_id_1",
					"name": "Color",
					"value": "Verde"
					},
				{
					"id": "attr_id_1",
					"name": "Talle",
					"value": "M"
				}
			],
			"images": [
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=a"
				},
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=b"
				},
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=c"
				}
			]
		},
		{
			"id_in_erp": "10200240 002 06",
			"stock": 0,
			"price": 790,
			"sku": "10200240 002 06",
			"title": "Pantalon J\u00fanior",
			"attributes": [
				{
					"id": "attr_id_1",
					"name": "Color",
					"value": "Verde"
					},
				{
					"id": "attr_id_1",
					"name": "Talle",
					"value": "M"
				}
			],
			"images": [
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=1"
				},
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=2"
				},
				{
					"path": "http://via.placeholder.com/300/09f/fff.png?text=3"
				}
			]
		}
	],
	"images": [
		{
			"path": "https://contents.mediadecathlon.com/p1484240/ab565f3675dbdd7e3c486175e2c16583/p1484240.jpg"
		},
		{
			"path": "https://contents.mediadecathlon.com/p1484210/8ae4fe12797325bc4b98b6af45bc208b/p1484210.jpg"
		}
	]
}
```

### 2. Delete Product

[](#2-delete-product)

Este endpoint se utiliza para eliminar un producto de un canal.

***Endpoint:***

```
Method: DELETE
Type: RAW
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels/{{CHANNEL_ID}}/products/{{ID_IN_ERP}}
```

***Headers:***

KeyValueDescriptionContent-Typeapplication/jsonAcceptapplication/json### 3. Get Channel Products

[](#3-get-channel-products)

El endpoint en cuestión retorna todos los artículos relacionados a un canal en particular. En particular, veremos los siguientes datos:

- channel\_id
- id\_in\_erp
- sku
- title
- price
- currency
- stock
- description
- extra\_info
- variations
- images

***Endpoint:***

```
Method: GET
Type:
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels/{{CHANNEL_ID}}/products
```

***Headers:***

KeyValueDescriptionAcceptapplication/json***Query params:***

KeyValueDescriptionlimit20offset0### 4. Get Channel Products Info

[](#4-get-channel-products-info)

Retorna la información de un canal y producto en particular. Específicamente retorna los siguientes atributos

- channel\_id
- id\_in\_erp
- sku
- title
- price
- currency
- stock
- description
- extra\_info
- variations
- images

***Endpoint:***

```
Method: GET
Type:
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels/{{CHANNEL_ID}}/products/{{ID_IN_ERP}}
```

***Headers:***

KeyValueDescriptionAcceptapplication/json### 5. Get Channels

[](#5-get-channels)

Entrega una lista de los Canales (con sus respectivos identificadores) que tiene el usuario. A partir de los IDs de la respuesta se podrán ejecutar los próximos endpoints. En particular, retorna el id del Canal, el nombre interno, el método de sincronización (el cual generalmente es "push") y el tipo de Canal.

***Endpoint:***

```
Method: GET
Type:
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels
```

***Headers:***

KeyValueDescriptionAcceptapplication/json### 6. Healthcheck

[](#6-healthcheck)

El endpoint en cuestión permite obtener el estado de la plataforma.

- Si la API está saludable, retorna un HTTP Code 200.

***Endpoint:***

```
Method: GET
Type:
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/healthcheck
```

***Headers:***

KeyValueDescriptionAcceptapplication/json### 7. Update Product

[](#7-update-product)

Este endpoint se utiliza para actualizar la información de un artículo de un canal. Se debe pasar únicamente los atributos que se quieran actualizar. Luego de hacer el PUT, se recibirá como retorno toda la información del producto de Astroselling actualizado.

- El atributo imágenes debes ser un arreglo.

***Endpoint:***

```
Method: PUT
Type: RAW
URL: http://nova.astroselling.com/jupiter/v1/jupiter/v1/channels/{{CHANNEL_ID}}/products/{{ID_IN_ERP}}
```

***Headers:***

KeyValueDescriptionContent-Typeapplication/jsonAcceptapplication/json***Body:***

```
{
	"price": 103,
	"stock": 8,
	"images": [
		"https://contents.mediadecathlon.com/p1484240/ab565f3675dbdd7e3c486175e2c16583/p1484240.jpg"
	]
}
```

***Available Variables:***

KeyValueTypebase\_urlapi\_tokenXXXnBeVSIFFyldmxphoZTpYxfaMRm8xtUocYGpeiA4ftEKcXeP8aJif9AZZZchannel\_id9999---

[Back to top](#astroselling-jupiter---api)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~105 days

Recently: every ~360 days

Total

17

Last Release

547d ago

Major Versions

v1.12 → 2.0.02025-02-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8f0b70625ded111bc7e6eea775177cc98d9d40526380e9916b3fe0d9eca7ea4?d=identicon)[jcraviotto](/maintainers/jcraviotto)

---

Top Contributors

[![jcraviotto](https://avatars.githubusercontent.com/u/4257115?v=4)](https://github.com/jcraviotto "jcraviotto (13 commits)")[![gmedeiros](https://avatars.githubusercontent.com/u/3370868?v=4)](https://github.com/gmedeiros "gmedeiros (12 commits)")[![krabyoto](https://avatars.githubusercontent.com/u/15800403?v=4)](https://github.com/krabyoto "krabyoto (4 commits)")[![isajar](https://avatars.githubusercontent.com/u/23724837?v=4)](https://github.com/isajar "isajar (3 commits)")[![gabrielpiriz](https://avatars.githubusercontent.com/u/55207247?v=4)](https://github.com/gabrielpiriz "gabrielpiriz (1 commits)")[![noelimeli](https://avatars.githubusercontent.com/u/110920770?v=4)](https://github.com/noelimeli "noelimeli (1 commits)")

---

Tags

api-restcomposer-packageintegrationphp7apirestintegrationastgroselling

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/astroselling-jupiter-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/astroselling-jupiter-sdk/health.svg)](https://phpackages.com/packages/astroselling-jupiter-sdk)
```

###  Alternatives

[jlevers/selling-partner-api

PHP client for Amazon's Selling Partner API

4365.5M2](/packages/jlevers-selling-partner-api)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1074.9M19](/packages/xeroapi-xero-php-oauth2)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

37234.5k2](/packages/onesignal-onesignal-php-api)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.2k38](/packages/dreamfactory-df-core)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1831.5k2](/packages/huaweicloud-huaweicloud-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
