| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | public function product_create(string $product_family_id, array $data): array |
||
| 16 | { |
||
| 17 | $this->apiEndPoint = "/product_families/{$product_family_id}/products.json"; |
||
| 18 | |||
| 19 | $this->verb = 'post'; |
||
| 20 | |||
| 21 | $this->options['json'] = [ |
||
|
|
|||
| 22 | 'product' => $data, |
||
| 23 | ]; |
||
| 24 | |||
| 25 | return $this->doChargifyRequest(); |
||
| 26 | } |
||
| 97 |